Searched refs:elcr (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/sys/arch/powerpc/pic/
H A Dpic_prepivr.c105 u_int8_t elcr[2]; local
110 elcr[0] = isa_inb(IO_ELCR1);
111 elcr[1] = isa_inb(IO_ELCR2);
114 elcr[icu] |= 1 << bit;
116 elcr[icu] &= ~(1 << bit);
118 isa_outb(IO_ELCR1, elcr[0]);
119 isa_outb(IO_ELCR2, elcr[1]);
/netbsd-current/sys/arch/i386/pci/
H A Dpiix.c282 uint8_t elcr; local
290 elcr = bus_space_read_1(ph->ph_iot, ph->ph_elcr_ioh, off);
291 if (elcr & (1 << bit))
304 uint8_t elcr; local
312 elcr = bus_space_read_1(ph->ph_iot, ph->ph_elcr_ioh, off);
314 elcr |= (1 << bit);
316 elcr &= ~(1 << bit);
317 bus_space_write_1(ph->ph_iot, ph->ph_elcr_ioh, off, elcr);
328 uint8_t elcr[2]; local
330 elcr[
[all...]
/netbsd-current/sys/arch/alpha/pci/
H A Dsio_pic.c166 i82378_read_elcr(int elcr) argument
169 return (bus_space_read_1(sio_iot, sio_ioh_elcr, elcr));
173 i82378_write_elcr(int elcr, uint8_t val) argument
176 bus_space_write_1(sio_iot, sio_ioh_elcr, elcr, val);
245 cy82c693_read_elcr(int elcr) argument
248 return (cy82c693_read(sio_cy82c693_handle, CONFIG_ELCR1 + elcr));
252 cy82c693_write_elcr(int elcr, uint8_t val) argument
255 cy82c693_write(sio_cy82c693_handle, CONFIG_ELCR1 + elcr, val);
289 uint8_t ocw1[2], elcr[2]; local
302 elcr[
[all...]
H A Dpci_2100_a500.c759 int elcr; local
768 elcr = 0;
775 elcr = 0;
780 elcr = 1;
786 elcr = 1;
794 mask = bus_space_read_1(pic_iot, pic_elcr_ioh, elcr);
799 bus_space_write_1(pic_iot, pic_elcr_ioh, elcr, mask);
/netbsd-current/sys/arch/alpha/jensenio/
H A Djensenio_intr.c358 int elcr; local
361 elcr = irq >> 3;
364 mask = bus_space_read_1(pic_iot, pic_elcr_ioh, elcr);
369 bus_space_write_1(pic_iot, pic_elcr_ioh, elcr, mask);
/netbsd-current/sys/arch/evbmips/loongson/
H A Dgeneric2e_machdep.c506 uint elcr; local
591 elcr = (1 << VIA686_IRQ_PCIA) | (1 << VIA686_IRQ_PCIB) |
593 REGVAL8(BONITO_PCIIO_BASE + 0x4d0) = (elcr >> 0) & 0xff;
594 REGVAL8(BONITO_PCIIO_BASE + 0x4d1) = (elcr >> 8) & 0xff;
/netbsd-current/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/hvm/
H A Dsave.h351 uint8_t elcr; member in struct:hvm_hw_vpic

Completed in 123 milliseconds