Home
last modified time | relevance | path

Searched refs:core_id (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/bhnd/siba/
H A Dsiba_subr.c125 const struct siba_core_id *core_id) in siba_init_dinfo() argument
129 dinfo->core_id = *core_id; in siba_init_dinfo()
132 for (uint8_t i = 0; i < core_id->num_admatch; i++) { in siba_init_dinfo()
140 bus_reserved = core_id->num_cfg_blocks * SIBA_CFG_SIZE; in siba_init_dinfo()
144 core_id->admatch[i].am_base, core_id->admatch[i].am_size, in siba_init_dinfo()
172 if (!dinfo->core_id.intr_en) in siba_register_interrupts()
185 "%d\n", dinfo->core_id.core_info.core_idx, error); in siba_register_interrupts()
268 siba_port_count(struct siba_core_id *core_id, bhnd_port_type port_type) in siba_port_count() argument
273 return (min(core_id->num_admatch, 2)); in siba_port_count()
277 if (core_id->num_cfg_blocks > 0) in siba_port_count()
[all …]
H A Dsibavar.h77 const struct siba_core_id *core_id);
81 u_int siba_port_count(struct siba_core_id *core_id,
83 bool siba_is_port_valid(struct siba_core_id *core_id,
87 struct siba_core_id *core_id,
90 int siba_cfg_index(struct siba_core_id *core_id,
94 int siba_addrspace_index(struct siba_core_id *core_id,
131 (_dinfo->core_id.core_info.core_idx * SIBA_MAX_CFG))
208 struct siba_core_id core_id; /**< core identification info */ member
H A Dsiba.c132 cfg = &dinfo->core_id.core_info; in siba_read_ivar()
996 return (siba_port_count(&dinfo->core_id, type)); in siba_get_port_count()
1011 return (siba_port_region_count(&dinfo->core_id, type, port)); in siba_get_region_count()
1061 for (u_int i = 0; i < dinfo->core_id.num_admatch; i++) { in siba_decode_port_rid()
1072 for (u_int i = 0; i < dinfo->core_id.num_cfg_blocks; i++) { in siba_decode_port_rid()
1135 if (!dinfo->core_id.intr_en) { in siba_get_intr_count()
1165 KASSERT(dinfo->core_id.intr_en, in siba_get_intr_ivec()
1168 *ivec = dinfo->core_id.intr_flag; in siba_get_intr_ivec()
1187 num_cfg = dinfo->core_id.num_cfg_blocks; in siba_map_cfg_resources()
H A Dsiba_bhndb.c163 for (u_int i = 0; i < dinfo->core_id.num_cfg_blocks; i++) { in siba_bhndb_suspend_cfgblocks()
208 for (u_int i = 0; i < dinfo->core_id.num_cfg_blocks; i++) { in siba_bhndb_resume_child()
/freebsd/sys/dev/bhnd/
H A Dbhnd_match.h106 core_id:1, member
116 uint16_t core_id; /**< required core ID */ member
125 _BHND_COPY_MATCH_FIELD(_src, core_id), \
132 #define BHND_MATCH_CORE_ID(_id) _BHND_SET_MATCH_FIELD(core_id, _id)
276 core_id:1, member
295 uint16_t core_id; /**< required core ID */ member
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dahb.c309 u32 core_id, glb_cfg_reg, haltreq_reg, haltack_reg; in ath10k_ahb_halt_chip() local
322 core_id = ath10k_ahb_read32(ar, ATH10K_AHB_WLAN_CORE_ID_REG); in ath10k_ahb_halt_chip()
324 switch (core_id) { in ath10k_ahb_halt_chip()
337 core_id); in ath10k_ahb_halt_chip()
387 ath10k_dbg(ar, ATH10K_DBG_AHB, "core %d reset done\n", core_id); in ath10k_ahb_halt_chip()
/freebsd/sys/contrib/openzfs/scripts/
H A Dzloop.sh106 core_id=$($GDB --batch -c "$1" | grep "Core was generated by" | \