Lines Matching full:core
73 bhnd_addr_t base_addr; /**< address of first core */
74 u_int ncores; /**< core count */
98 /* Initialize I/O context, assuming at least the first core is mapped */ in siba_erom_probe()
111 * Verify the first core's IDHIGH/IDLOW identification. in siba_erom_probe()
113 * The core must be a Broadcom core, but must *not* be in siba_erom_probe()
114 * a chipcommon core; those shouldn't be hinted. in siba_erom_probe()
116 * The first core on EXTIF-equipped devices varies, but on the in siba_erom_probe()
117 * BCM4710, it's a SDRAM core (0x803). in siba_erom_probe()
168 /* Attempt to map the full core enumeration space */ in siba_erom_init()
204 * @param core_idx Core index.
205 * @param offset Core register offset.
210 /* Sanity check core index and offset */ in siba_eio_read_4()
212 panic("core index %u out of range (ncores=%u)", core_idx, in siba_eio_read_4()
216 panic("invalid core offset %#jx", (uintmax_t)offset); in siba_eio_read_4()
227 * @param core_idx The core index.
230 * @param[out] sid On success, the parsed siba core id.
261 printf("core%u: invalid admatch count %hhu\n", core_idx, in siba_eio_read_core_id()
286 printf("core%u: addrspace %hhu is unsupported", in siba_eio_read_core_id()
295 printf("core%u: failed to decode admatch[%hhu] " in siba_eio_read_core_id()
307 printf("core%u: unsupported negative admatch[%hhu] " in siba_eio_read_core_id()
338 * returning the siba(4) core identification in @p sid.
341 * @param core_idx The index of the core to be identified.
342 * @param[out] result On success, the parsed siba core id.
356 /* Fetch the core info, assuming a unit number of 0 */ in siba_erom_get_core_id()
378 * Read and parse the chip identification register from the ChipCommon core.
391 /* Identify the chipcommon core */ in siba_eio_read_chipid()
399 EROM_LOG(io, "first core not chipcommon " in siba_eio_read_chipid()
400 "(vendor=%#hx, core=%#hx)\n", ccid.core_info.vendor, in siba_eio_read_chipid()
410 /* Do we need to fix up the core count? */ in siba_eio_read_chipid()
444 struct bhnd_core_info *core) in siba_erom_lookup_core() argument
452 /* We can't determine a core's unit number during the initial scan. */ in siba_erom_lookup_core()
456 /* Locate the first matching core */ in siba_erom_lookup_core()
461 /* Read the core info */ in siba_erom_lookup_core()
487 /* Matching core found */ in siba_erom_lookup_core()
488 *core = ci; in siba_erom_lookup_core()
502 struct bhnd_core_info core; in siba_erom_lookup_core_addr() local
513 /* Locate the requested core */ in siba_erom_lookup_core_addr()
514 if ((error = siba_erom_lookup_core(erom, desc, &core))) in siba_erom_lookup_core_addr()
517 /* Fetch full siba core ident */ in siba_erom_lookup_core_addr()
518 error = siba_eio_read_core_id(&sc->io, core.core_idx, core.unit, &sid); in siba_erom_lookup_core_addr()
566 *info = core; in siba_erom_lookup_core_addr()
592 am = siba_eio_read_4(&sc->io, core.core_idx, am_offset); in siba_erom_lookup_core_addr()
601 *info = core; in siba_erom_lookup_core_addr()
620 /* Allocate our core array */ in siba_erom_get_core_table()
632 /* Read the core info */ in siba_erom_get_core_table()
675 printf("siba core %u:\n", i); in siba_erom_dump()