struct rio_mport — RIO master port info
struct rio_mport {
struct list_head dbells;
struct list_head pwrites;
struct list_head node;
struct list_head nnode;
struct rio_net * net;
struct mutex lock;
struct resource iores;
struct resource riores[RIO_MAX_MPORT_RESOURCES];
struct rio_msg inb_msg[RIO_MAX_MBOX];
struct rio_msg outb_msg[RIO_MAX_MBOX];
int host_deviceid;
struct rio_ops * ops;
unsigned char id;
unsigned char index;
unsigned int sys_size;
u32 phys_efptr;
u32 phys_rmap;
unsigned char name[RIO_MAX_MPORT_NAME];
struct device dev;
void * priv;
#ifdef CONFIG_RAPIDIO_DMA_ENGINE
struct dma_device dma;
#endif
struct rio_scan * nscan;
atomic_t state;
unsigned int pwe_refcnt;
}; struct list_head dbellsList of doorbell events
struct list_head pwritesList of portwrite events
struct list_head nodeNode in global list of master ports
struct list_head nnodeNode in network list of master ports
struct rio_net * netRIO net this mport is attached to
struct mutex locklock to synchronize lists manipulations
struct resource ioresI/O mem resource that this master port interface owns
struct resource riores[RIO_MAX_MPORT_RESOURCES]RIO resources that this master port interfaces owns
struct rio_msg inb_msg[RIO_MAX_MBOX]RIO inbound message event descriptors
struct rio_msg outb_msg[RIO_MAX_MBOX]RIO outbound message event descriptors
int host_deviceidHost device ID associated with this master port
struct rio_ops * opsconfiguration space functions
unsigned char idPort ID, unique among all ports
unsigned char indexPort index, unique among all port interfaces of the same type
unsigned int sys_sizeRapidIO common transport system size
u32 phys_efptrRIO port extended features pointer
u32 phys_rmapLP-Serial EFB Register Mapping type (1 or 2).
unsigned char name[RIO_MAX_MPORT_NAME]Port name string
struct device devdevice structure associated with an mport
void * privMaster port private data
struct dma_device dmaDMA device associated with mport
struct rio_scan * nscanRapidIO network enumeration/discovery operations
atomic_t statemport device state
unsigned int pwe_refcntport-write enable ref counter to track enable/disable requests