Lines Matching +full:port +full:- +full:specific
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
24 #define RIO_NO_HOPCOUNT -1
34 has multiple (or per port)
57 * 1-15 RapidIO memory regions
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
157 * @swpinfo: Switch port 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
229 * @dev_id: Device specific pointer to pass on event
239 * struct rio_mport - RIO master port info
246 * @iores: I/O mem resource that this master port interface owns
247 * @riores: RIO resources that this master port interfaces owns
250 * @host_deviceid: Host device ID associated with this master port
252 * @id: Port ID, unique among all ports
253 * @index: Port index, unique among all port interfaces of the same type
255 * @phys_efptr: RIO port extended features pointer
256 * @phys_rmap: LP-Serial EFB Register Mapping type (1 or 2).
257 * @name: Port name string
259 * @priv: Master port private data
263 * @pwe_refcnt: port-write enable ref counter to track enable/disable requests
277 struct rio_ops *ops; /* low-level architecture-dependent routines */
278 unsigned char id; /* port ID, unique among all ports */
279 unsigned char index; /* port index, unique among all port
282 * 0 - Small size. 256 devices.
283 * 1 - Large size, 65536 devices.
289 void *priv; /* Master port private data */
300 return atomic_read(&mport->state) == RIO_DEVICE_RUNNING; in rio_mport_is_running()
309 * struct rio_net - RIO network info
314 * @hport: Default port for accessing this network
317 * @enum_data: private data specific to a network enumerator
318 * @release: enumerator-specific release callback
325 struct rio_mport *hport; /* primary port for accessing net */
357 * struct rio_mport_attr - RIO mport device attributes
376 /* Low-level architecture-dependent routines */
379 * struct rio_ops - Low-level RIO configuration space operations
380 * @lcread: Callback to perform local (master port) read of config space.
381 * @lcwrite: Callback to perform local (master port) write of config space.
385 * @pwenable: Callback to enable/disable port-write message handling.
440 * struct rio_driver - RIO driver info
473 u32 errdetect; /* Port N Error Detect CSR */
474 u32 is_port; /* Implementation specific + PortID */
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 */
555 extern int rio_query_mport(struct rio_mport *port,