Lines Matching +full:port +full:- +full:id
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
53 /** Base resource ID for per-core agent register allocations */
62 ((_dinfo)->corecfg->core_info.core_idx)
64 /** BCMA port identifier. */
68 /** BCMA per-port region map identifier. */
114 /** BCMA master port descriptor */
116 bcma_pid_t mp_num; /**< AXI port identifier (bus-unique) */
117 bcma_pid_t mp_vid; /**< AXI master virtual ID (core-unique) */
123 bcma_rmid_t m_region_num; /**< region identifier (port-unique). */
126 int m_rid; /**< bus resource id, or -1. */
133 uint8_t i_bank; /**< OOB bank (see BCMA_OOB_BANK[A-D]) */
134 uint8_t i_sel; /**< OOB selector (0-7) */
137 int i_rid; /**< bus resource id, or -1 */
143 /** BCMA slave port descriptor */
145 bcma_pid_t sp_num; /**< slave port number (core-unique) */
146 bhnd_port_type sp_type; /**< port type */
148 u_long sp_num_maps; /**< number of regions mapped to this port */
161 u_long num_master_ports; /**< number of master port descriptors. */
162 struct bcma_mport_list master_ports; /**< master port descriptors */
164 u_long num_dev_ports; /**< number of device slave port descriptors. */
165 struct bcma_sport_list dev_ports; /**< device port descriptors */
167 u_long num_bridge_ports; /**< number of bridge slave port descriptors. */
168 struct bcma_sport_list bridge_ports; /**< bridge port descriptors */
170 u_long num_wrapper_ports; /**< number of wrapper slave port descriptors. */
171 struct bcma_sport_list wrapper_ports; /**< wrapper port descriptors */
175 * BCMA per-device info
178 struct resource_list resources; /**< Slave port memory regions. */
183 int rid_agent; /**< Agent resource ID, or -1 */
188 void *pmu_info; /**< Bus-managed PMU state, or NULL */
191 /** BMCA per-instance state */