Lines Matching +full:bus +full:- +full:id
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
41 #include <sys/bus.h>
44 #include <machine/bus.h>
53 /** Base resource ID for per-core agent register allocations */
62 ((_dinfo)->corecfg->core_info.core_idx)
68 /** BCMA per-port region map identifier. */
86 int bcma_add_children(device_t bus);
91 struct bcma_devinfo *bcma_alloc_dinfo(device_t bus);
92 int bcma_init_dinfo(device_t bus, device_t child,
95 void bcma_free_dinfo(device_t bus, device_t child,
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) */
135 uint8_t i_busline; /**< OOB bus line assigned to this selector */
137 int i_rid; /**< bus resource id, or -1 */
138 rman_res_t i_irq; /**< the mapped bus irq, if any */
145 bcma_pid_t sp_num; /**< slave port number (core-unique) */
175 * BCMA per-device info
183 int rid_agent; /**< Agent resource ID, or -1 */
188 void *pmu_info; /**< Bus-managed PMU state, or NULL */
191 /** BMCA per-instance state */