|
Linux Kernel
3.7.1
|
#include <linux/types.h>#include <gxio/common.h>#include <gxio/dma_queue.h>#include <arch/trio_constants.h>#include <arch/trio.h>#include <arch/trio_pcie_intfc.h>#include <arch/trio_pcie_rc.h>#include <arch/trio_shm.h>#include <hv/drv_trio_intf.h>#include <hv/iorpc.h>Go to the source code of this file.
Data Structures | |
| struct | gxio_trio_context_t |
| struct | gxio_trio_dma_queue_t |
Macros | |
| #define | GXIO_ASID_NULL -1 |
| #define | GXIO_TRIO_FLAG_TRAFFIC_CLASS(N) HV_TRIO_FLAG_TC(N) |
| #define | GXIO_TRIO_FLAG_VFUNC(N) HV_TRIO_FLAG_VFUNC(N) |
Typedefs | |
| typedef TRIO_DMA_DESC_t | gxio_trio_dma_desc_t |
| typedef enum gxio_trio_order_mode_e | gxio_trio_order_mode_t |
Enumerations | |
| enum | gxio_trio_order_mode_e { GXIO_TRIO_ORDER_MODE_UNORDERED, GXIO_TRIO_ORDER_MODE_STRICT, GXIO_TRIO_ORDER_MODE_OBEY_PACKET } |
| enum | gxio_trio_alloc_flags_e { GXIO_TRIO_ALLOC_FIXED = HV_TRIO_ALLOC_FIXED } |
| enum | gxio_trio_mem_flags_e { GXIO_TRIO_MEM_FLAG_NT_HINT = IORPC_MEM_BUFFER_FLAG_NT_HINT, GXIO_TRIO_MEM_FLAG_IO_PIN = IORPC_MEM_BUFFER_FLAG_IO_PIN } |
Functions | |
| int | gxio_trio_init (gxio_trio_context_t *context, unsigned int trio_index) |
| int | gxio_trio_init_memory_map (gxio_trio_context_t *context, unsigned int map, void *target_mem, size_t target_size, unsigned int asid, unsigned int mac, uint64_t bus_address, gxio_trio_order_mode_t order_mode) |
| int | gxio_trio_alloc_asids (gxio_trio_context_t *context, unsigned int count, unsigned int first, unsigned int flags) |
| #define GXIO_TRIO_FLAG_TRAFFIC_CLASS | ( | N | ) | HV_TRIO_FLAG_TC(N) |
| #define GXIO_TRIO_FLAG_VFUNC | ( | N | ) | HV_TRIO_FLAG_VFUNC(N) |
| typedef TRIO_DMA_DESC_t gxio_trio_dma_desc_t |
| typedef enum gxio_trio_order_mode_e gxio_trio_order_mode_t |
| int gxio_trio_alloc_asids | ( | gxio_trio_context_t * | context, |
| unsigned int | count, | ||
| unsigned int | first, | ||
| unsigned int | flags | ||
| ) |
Definition at line 24 of file iorpc_trio.c.
| int gxio_trio_init | ( | gxio_trio_context_t * | context, |
| unsigned int | trio_index | ||
| ) |
| int gxio_trio_init_memory_map | ( | gxio_trio_context_t * | context, |
| unsigned int | map, | ||
| void * | target_mem, | ||
| size_t | target_size, | ||
| unsigned int | asid, | ||
| unsigned int | mac, | ||
| uint64_t | bus_address, | ||
| gxio_trio_order_mode_t | order_mode | ||
| ) |
1.8.2