Linux Kernel
3.7.1
|
#include <hv/iorpc.h>
#include <hv/drv_usb_host_intf.h>
#include <asm/page.h>
#include <gxio/kiorpc.h>
#include <gxio/usb_host.h>
#include <linux/string.h>
#include <linux/module.h>
#include <asm/pgtable.h>
Go to the source code of this file.
Macros | |
#define | GXIO_USB_HOST_OP_CFG_INTERRUPT IORPC_OPCODE(IORPC_FORMAT_KERNEL_INTERRUPT, 0x1800) |
#define | GXIO_USB_HOST_OP_REGISTER_CLIENT_MEMORY IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x1801) |
#define | GXIO_USB_HOST_OP_GET_MMIO_BASE IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x8000) |
#define | GXIO_USB_HOST_OP_CHECK_MMIO_OFFSET IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x8001) |
Functions | |
int | gxio_usb_host_cfg_interrupt (gxio_usb_host_context_t *context, int inter_x, int inter_y, int inter_ipi, int inter_event) |
int | gxio_usb_host_register_client_memory (gxio_usb_host_context_t *context, HV_PTE pte, unsigned int flags) |
int | gxio_usb_host_get_mmio_base (gxio_usb_host_context_t *context, HV_PTE *base) |
int | gxio_usb_host_check_mmio_offset (gxio_usb_host_context_t *context, unsigned long offset, unsigned long size) |
#define GXIO_USB_HOST_OP_CFG_INTERRUPT IORPC_OPCODE(IORPC_FORMAT_KERNEL_INTERRUPT, 0x1800) |
Definition at line 29 of file iorpc_usb_host.h.
#define GXIO_USB_HOST_OP_CHECK_MMIO_OFFSET IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x8001) |
Definition at line 32 of file iorpc_usb_host.h.
#define GXIO_USB_HOST_OP_GET_MMIO_BASE IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x8000) |
Definition at line 31 of file iorpc_usb_host.h.
#define GXIO_USB_HOST_OP_REGISTER_CLIENT_MEMORY IORPC_OPCODE(IORPC_FORMAT_NONE_NOUSER, 0x1801) |
Definition at line 30 of file iorpc_usb_host.h.
int gxio_usb_host_cfg_interrupt | ( | gxio_usb_host_context_t * | context, |
int | inter_x, | ||
int | inter_y, | ||
int | inter_ipi, | ||
int | inter_event | ||
) |
Definition at line 22 of file iorpc_usb_host.c.
int gxio_usb_host_check_mmio_offset | ( | gxio_usb_host_context_t * | context, |
unsigned long | offset, | ||
unsigned long | size | ||
) |
Definition at line 85 of file iorpc_usb_host.c.
int gxio_usb_host_get_mmio_base | ( | gxio_usb_host_context_t * | context, |
HV_PTE * | base | ||
) |
Definition at line 64 of file iorpc_usb_host.c.
int gxio_usb_host_register_client_memory | ( | gxio_usb_host_context_t * | context, |
HV_PTE | pte, | ||
unsigned int | flags | ||
) |
Definition at line 44 of file iorpc_usb_host.c.