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; };
List of doorbell events
List of portwrite events
Node in global list of master ports
Node in network list of master ports
RIO net this mport is attached to
lock to synchronize lists manipulations
I/O mem resource that this master port interface owns
RIO resources that this master port interfaces owns
RIO inbound message event descriptors
RIO outbound message event descriptors
Host device ID associated with this master port
configuration space functions
Port ID, unique among all ports
Port index, unique among all port interfaces of the same type
RapidIO common transport system size
RIO port extended features pointer
LP-Serial EFB Register Mapping type (1 or 2).
Port name string
device structure associated with an mport
Master port private data
DMA device associated with mport
RapidIO network enumeration/discovery operations
mport device state
port-write enable ref counter to track enable/disable requests