Lines Matching +full:max +full:- +full:outbound +full:- +full:regions

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
24 #define RIO_NO_HOPCOUNT -1
56 * 0 RapidIO outbound doorbells
57 * 1-15 RapidIO memory regions
63 * 2 RapidIO outbound mailboxes
89 * struct rio_switch - RIO switch info
92 * @port_ok: Status of each port (one bit per port) - OK=1 or UNINIT=0
93 * @ops: pointer to switch-specific operations
95 * @nextdev: Array of per-port pointers to the next attached device
107 * struct rio_switch_ops - Per-switch operations
109 * @add_entry: Callback for switch-specific route add function
110 * @get_entry: Callback for switch-specific route get function
111 * @clr_table: Callback for switch-specific clear route table function
112 * @set_domain: Callback for switch-specific domain setting function
113 * @get_domain: Callback for switch-specific domain get function
114 * @em_init: Callback for switch-specific error management init function
115 * @em_handle: Callback for switch-specific error management handler function
144 * struct rio_dev - RIO device info
162 * @phys_rmap: LP-Serial Register Map Type (1 or 2)
168 * @pwcback: port-write callback function for this device
215 * struct rio_msg - RIO message event
225 * struct rio_dbell - RIO doorbell event
239 * struct rio_mport - RIO master port info
249 * @outb_msg: RIO outbound message event descriptors
256 * @phys_rmap: LP-Serial EFB Register Mapping type (1 or 2).
263 * @pwe_refcnt: port-write enable ref counter to track enable/disable requests
277 struct rio_ops *ops; /* low-level architecture-dependent routines */
282 * 0 - Small size. 256 devices.
283 * 1 - Large size, 65536 devices.
300 return atomic_read(&mport->state) == RIO_DEVICE_RUNNING; in rio_mport_is_running()
309 * struct rio_net - RIO network info
318 * @release: enumerator-specific release callback
357 * struct rio_mport_attr - RIO mport device attributes
362 * @dma_max_size: max number of bytes in single DMA transfer (SG entry)
376 /* Low-level architecture-dependent routines */
379 * struct rio_ops - Low-level RIO configuration space operations
385 * @pwenable: Callback to enable/disable port-write message handling.
386 * @open_outb_mbox: Callback to initialize outbound mailbox.
387 * @close_outb_mbox: Callback to shut down outbound mailbox.
390 * @add_outb_message: Callback to add a message to an outbound mailbox queue.
396 * @map_outb: Callback to map outbound address region into local memory space.
397 * @unmap_outb: Callback to unmap outbound RapidIO address region.
440 * struct rio_driver - RIO driver info
484 * enum rio_write_type - RIO write transaction types used in DMA transfers
487 * write-with-response (NWRITE_R) data transfer operations.
496 RDW_LAST_NWRITE_R, /* last packet uses NWRITE_R, others - NWRITE */
501 u64 rio_addr; /* low 64-bits of 66-bit RapidIO address */
502 u8 rio_addr_u; /* upper 2-bits of 66-bit RapidIO address */
511 u64 rio_addr; /* low 64-bits of 66-bit RapidIO address */
512 u8 rio_addr_u; /* upper 2-bits of 66-bit RapidIO address */
523 * struct rio_scan - RIO enumeration and discovery operations
535 * struct rio_scan_node - list node to register RapidIO enumeration and
547 /* Architecture and hardware-specific functions */