'\" t .\" Title: struct rio_mport .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "STRUCT RIO_MPORT" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "Internals" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_rio_mport \- RIO master port info .SH "SYNOPSIS" .sp .nf 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; struct rio_msg inb_msg; struct rio_msg outb_msg; 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; 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; }; .fi .SH "MEMBERS" .PP struct list_head dbells .RS 4 List of doorbell events .RE .PP struct list_head pwrites .RS 4 List of portwrite events .RE .PP struct list_head node .RS 4 Node in global list of master ports .RE .PP struct list_head nnode .RS 4 Node in network list of master ports .RE .PP struct rio_net * net .RS 4 RIO net this mport is attached to .RE .PP struct mutex lock .RS 4 lock to synchronize lists manipulations .RE .PP struct resource iores .RS 4 I/O mem resource that this master port interface owns .RE .PP struct resource riores .RS 4 RIO resources that this master port interfaces owns .RE .PP struct rio_msg inb_msg .RS 4 RIO inbound message event descriptors .RE .PP struct rio_msg outb_msg .RS 4 RIO outbound message event descriptors .RE .PP int host_deviceid .RS 4 Host device ID associated with this master port .RE .PP struct rio_ops * ops .RS 4 configuration space functions .RE .PP unsigned char id .RS 4 Port ID, unique among all ports .RE .PP unsigned char index .RS 4 Port index, unique among all port interfaces of the same type .RE .PP unsigned int sys_size .RS 4 RapidIO common transport system size .RE .PP u32 phys_efptr .RS 4 RIO port extended features pointer .RE .PP u32 phys_rmap .RS 4 LP\-Serial EFB Register Mapping type (1 or 2)\&. .RE .PP unsigned char name .RS 4 Port name string .RE .PP struct device dev .RS 4 device structure associated with an mport .RE .PP void * priv .RS 4 Master port private data .RE .PP struct dma_device dma .RS 4 DMA device associated with mport .RE .PP struct rio_scan * nscan .RS 4 RapidIO network enumeration/discovery operations .RE .PP atomic_t state .RS 4 mport device state .RE .PP unsigned int pwe_refcnt .RS 4 port\-write enable ref counter to track enable/disable requests .RE .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br