Searched refs:OPENPIC_SRC_VECTOR (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/powerpc/powerpc/ |
H A D | openpic.c | 186 openpic_write(sc, OPENPIC_SRC_VECTOR(irq), x); in openpic_common_attach() 271 x = openpic_read(sc, OPENPIC_SRC_VECTOR(irq)); in openpic_config() 280 openpic_write(sc, OPENPIC_SRC_VECTOR(irq), x); in openpic_config() 322 x = openpic_read(sc, OPENPIC_SRC_VECTOR(irq)); in openpic_enable() 325 openpic_write(sc, OPENPIC_SRC_VECTOR(irq), x); in openpic_enable() 368 x = openpic_read(sc, OPENPIC_SRC_VECTOR(irq)); in openpic_mask() 370 openpic_write(sc, OPENPIC_SRC_VECTOR(irq), x); in openpic_mask() 386 x = openpic_read(sc, OPENPIC_SRC_VECTOR(irq)); in openpic_unmask() 388 openpic_write(sc, OPENPIC_SRC_VECTOR(irq), x); in openpic_unmask() 422 bus_read_4(sc->sc_memr, OPENPIC_SRC_VECTOR(i)) & ~OPENPIC_ACTIVITY; in openpic_suspend() [all …]
|
/freebsd/sys/powerpc/include/ |
H A D | openpicreg.h | 104 #ifndef OPENPIC_SRC_VECTOR 105 #define OPENPIC_SRC_VECTOR(irq) (0x10000 + (irq) * 0x20) macro
|