MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bcm_mips_pic_xref

Function bcm_mips_pic_xref

freebsd/mips/broadcom/bcm_mips.c:481–492  ·  view source on GitHub ↗

return our PIC's xref */

Source from the content-addressed store, hash-verified

479
480/** return our PIC's xref */
481static uintptr_t
482bcm_mips_pic_xref(struct bcm_mips_softc *sc)
483{
484 uintptr_t xref;
485
486 /* Determine our interrupt domain */
487 xref = BHND_BUS_GET_INTR_DOMAIN(device_get_parent(sc->dev), sc->dev,
488 true);
489 KASSERT(xref != 0, ("missing interrupt domain"));
490
491 return (xref);
492}
493
494/**
495 * Walk up the device tree from @p dev until we find a bhnd-attached core,

Callers 2

bcm_mips_register_isrcsFunction · 0.85
bcm_mips_attachFunction · 0.85

Calls 1

device_get_parentFunction · 0.85

Tested by

no test coverage detected