Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
iorpc_trio.c File Reference
#include "gxio/iorpc_trio.h"

Go to the source code of this file.

Data Structures

struct  alloc_asids_param
 
struct  alloc_memory_maps_param
 
struct  alloc_pio_regions_param
 
struct  init_pio_region_aux_param
 
struct  init_memory_map_mmu_aux_param
 
struct  get_port_property_param
 
struct  config_legacy_intr_param
 
struct  config_msi_intr_param
 
struct  set_mps_mrs_param
 
struct  force_rc_link_up_param
 
struct  force_ep_link_up_param
 
struct  get_mmio_base_param
 
struct  check_mmio_offset_param
 

Functions

int gxio_trio_alloc_asids (gxio_trio_context_t *context, unsigned int count, unsigned int first, unsigned int flags)
 
 EXPORT_SYMBOL (gxio_trio_alloc_asids)
 
int gxio_trio_alloc_memory_maps (gxio_trio_context_t *context, unsigned int count, unsigned int first, unsigned int flags)
 
 EXPORT_SYMBOL (gxio_trio_alloc_memory_maps)
 
int gxio_trio_alloc_pio_regions (gxio_trio_context_t *context, unsigned int count, unsigned int first, unsigned int flags)
 
 EXPORT_SYMBOL (gxio_trio_alloc_pio_regions)
 
int gxio_trio_init_pio_region_aux (gxio_trio_context_t *context, unsigned int pio_region, unsigned int mac, uint32_t bus_address_hi, unsigned int flags)
 
 EXPORT_SYMBOL (gxio_trio_init_pio_region_aux)
 
int gxio_trio_init_memory_map_mmu_aux (gxio_trio_context_t *context, unsigned int map, unsigned long va, uint64_t size, unsigned int asid, unsigned int mac, uint64_t bus_address, unsigned int node, unsigned int order_mode)
 
 EXPORT_SYMBOL (gxio_trio_init_memory_map_mmu_aux)
 
int gxio_trio_get_port_property (gxio_trio_context_t *context, struct pcie_trio_ports_property *trio_ports)
 
 EXPORT_SYMBOL (gxio_trio_get_port_property)
 
int gxio_trio_config_legacy_intr (gxio_trio_context_t *context, int inter_x, int inter_y, int inter_ipi, int inter_event, unsigned int mac, unsigned int intx)
 
 EXPORT_SYMBOL (gxio_trio_config_legacy_intr)
 
int gxio_trio_config_msi_intr (gxio_trio_context_t *context, int inter_x, int inter_y, int inter_ipi, int inter_event, unsigned int mac, unsigned int mem_map, uint64_t mem_map_base, uint64_t mem_map_limit, unsigned int asid)
 
 EXPORT_SYMBOL (gxio_trio_config_msi_intr)
 
int gxio_trio_set_mps_mrs (gxio_trio_context_t *context, uint16_t mps, uint16_t mrs, unsigned int mac)
 
 EXPORT_SYMBOL (gxio_trio_set_mps_mrs)
 
int gxio_trio_force_rc_link_up (gxio_trio_context_t *context, unsigned int mac)
 
 EXPORT_SYMBOL (gxio_trio_force_rc_link_up)
 
int gxio_trio_force_ep_link_up (gxio_trio_context_t *context, unsigned int mac)
 
 EXPORT_SYMBOL (gxio_trio_force_ep_link_up)
 
int gxio_trio_get_mmio_base (gxio_trio_context_t *context, HV_PTE *base)
 
 EXPORT_SYMBOL (gxio_trio_get_mmio_base)
 
int gxio_trio_check_mmio_offset (gxio_trio_context_t *context, unsigned long offset, unsigned long size)
 
 EXPORT_SYMBOL (gxio_trio_check_mmio_offset)
 

Function Documentation

EXPORT_SYMBOL ( gxio_trio_alloc_asids  )
EXPORT_SYMBOL ( gxio_trio_alloc_memory_maps  )
EXPORT_SYMBOL ( gxio_trio_alloc_pio_regions  )
EXPORT_SYMBOL ( gxio_trio_init_pio_region_aux  )
EXPORT_SYMBOL ( gxio_trio_init_memory_map_mmu_aux  )
EXPORT_SYMBOL ( gxio_trio_get_port_property  )
EXPORT_SYMBOL ( gxio_trio_config_legacy_intr  )
EXPORT_SYMBOL ( gxio_trio_config_msi_intr  )
EXPORT_SYMBOL ( gxio_trio_set_mps_mrs  )
EXPORT_SYMBOL ( gxio_trio_force_rc_link_up  )
EXPORT_SYMBOL ( gxio_trio_force_ep_link_up  )
EXPORT_SYMBOL ( gxio_trio_get_mmio_base  )
EXPORT_SYMBOL ( gxio_trio_check_mmio_offset  )
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_alloc_memory_maps ( gxio_trio_context_t context,
unsigned int  count,
unsigned int  first,
unsigned int  flags 
)

Definition at line 47 of file iorpc_trio.c.

int gxio_trio_alloc_pio_regions ( gxio_trio_context_t context,
unsigned int  count,
unsigned int  first,
unsigned int  flags 
)

Definition at line 71 of file iorpc_trio.c.

int gxio_trio_check_mmio_offset ( gxio_trio_context_t context,
unsigned long  offset,
unsigned long  size 
)

Definition at line 314 of file iorpc_trio.c.

int gxio_trio_config_legacy_intr ( gxio_trio_context_t context,
int  inter_x,
int  inter_y,
int  inter_ipi,
int  inter_event,
unsigned int  mac,
unsigned int  intx 
)

Definition at line 178 of file iorpc_trio.c.

int gxio_trio_config_msi_intr ( gxio_trio_context_t context,
int  inter_x,
int  inter_y,
int  inter_ipi,
int  inter_event,
unsigned int  mac,
unsigned int  mem_map,
uint64_t  mem_map_base,
uint64_t  mem_map_limit,
unsigned int  asid 
)

Definition at line 207 of file iorpc_trio.c.

int gxio_trio_force_ep_link_up ( gxio_trio_context_t context,
unsigned int  mac 
)

Definition at line 276 of file iorpc_trio.c.

int gxio_trio_force_rc_link_up ( gxio_trio_context_t context,
unsigned int  mac 
)

Definition at line 259 of file iorpc_trio.c.

int gxio_trio_get_mmio_base ( gxio_trio_context_t context,
HV_PTE base 
)

Definition at line 293 of file iorpc_trio.c.

int gxio_trio_get_port_property ( gxio_trio_context_t context,
struct pcie_trio_ports_property trio_ports 
)

Definition at line 155 of file iorpc_trio.c.

int gxio_trio_init_memory_map_mmu_aux ( gxio_trio_context_t context,
unsigned int  map,
unsigned long  va,
uint64_t  size,
unsigned int  asid,
unsigned int  mac,
uint64_t  bus_address,
unsigned int  node,
unsigned int  order_mode 
)

Definition at line 125 of file iorpc_trio.c.

int gxio_trio_init_pio_region_aux ( gxio_trio_context_t context,
unsigned int  pio_region,
unsigned int  mac,
uint32_t  bus_address_hi,
unsigned int  flags 
)

Definition at line 95 of file iorpc_trio.c.

int gxio_trio_set_mps_mrs ( gxio_trio_context_t context,
uint16_t  mps,
uint16_t  mrs,
unsigned int  mac 
)

Definition at line 239 of file iorpc_trio.c.