Searched refs:sc_elcr (Results 1 – 3 of 3) sorted by relevance
/netbsd/sys/arch/algor/pci/ |
H A D | pcib.c | 104 u_int16_t sc_elcr; member 177 sc->sc_elcr = 0; in pcib_attach() 231 sc->sc_elcr & 0xff); in pcib_attach() 233 (sc->sc_elcr >> 8) & 0xff); in pcib_attach() 354 sc->sc_elcr & 0xff); in pcib_set_icus() 356 (sc->sc_elcr >> 8) & 0xff); in pcib_set_icus() 467 sc->sc_elcr |= (1 << irq); in pcib_isa_intr_establish() 469 sc->sc_elcr &= ~(1 << irq); in pcib_isa_intr_establish()
|
/netbsd/sys/arch/evbmips/malta/pci/ |
H A D | pcib.c | 108 u_int16_t sc_elcr; member 219 sc->sc_elcr = 0; in pcib_attach() 272 sc->sc_elcr & 0xff); in pcib_attach() 274 (sc->sc_elcr >> 8) & 0xff); in pcib_attach() 389 sc->sc_elcr & 0xff); in pcib_set_icus() 391 (sc->sc_elcr >> 8) & 0xff); in pcib_set_icus() 525 my_sc->sc_elcr |= (1 << irq); in pcib_isa_intr_establish() 527 my_sc->sc_elcr &= ~(1 << irq); in pcib_isa_intr_establish()
|
/netbsd/sys/arch/i386/pci/ |
H A D | piixpcib.c | 77 uint8_t sc_elcr[2]; member 158 sc->sc_elcr[0] = bus_space_read_1(sc->sc_iot, sc->sc_ioh, 0); in piixpcib_suspend() 159 sc->sc_elcr[1] = bus_space_read_1(sc->sc_iot, sc->sc_ioh, 1); in piixpcib_suspend() 174 bus_space_write_1(sc->sc_iot, sc->sc_ioh, 0, sc->sc_elcr[0]); in piixpcib_resume() 175 bus_space_write_1(sc->sc_iot, sc->sc_ioh, 1, sc->sc_elcr[1]); in piixpcib_resume()
|