Searched refs:inb (Results 51 - 75 of 118) sorted by relevance

12345

/freebsd-11-stable/sys/x86/isa/
H A Dclock.c175 outb(0x61, inb(0x61) | 0x80);
253 low = inb(TIMER_CNTR0);
254 high = inb(TIMER_CNTR0);
332 inb(0x84);
551 low = inb(TIMER_CNTR0);
552 high = inb(TIMER_CNTR0);
H A Datpic.c335 return (inb(ap->at_ioaddr) & IMEN_MASK(ai));
593 isr = inb(port);
679 irr1 = inb(IO_ICU1);
680 irr2 = inb(IO_ICU2);
/freebsd-11-stable/sys/powerpc/include/
H A Dpio.h159 #define inb(a) (__inb((volatile u_int8_t *)(a))) macro
160 #define in8(a) inb(a)
173 #define in8rb(a) inb(a)
/freebsd-11-stable/sys/pc98/cbus/
H A Dolpt.c185 #define NOT_READY(x) ((inb(x) & LPS_NBSY) != LPS_NBSY)
295 tmp = inb(PC98_IEEE_1284_FUNCTION);
299 tmp = inb(PC98_IEEE_1284_FUNCTION);
437 lprintf(("T %x ", inb(sc->sc_port+lpt_status)));
H A Dpckbd.c957 return (inb(kbdcp(p)->port + KBD_STATUS_PORT) & KBDS_BUFFER_FULL);
968 while (!(inb(port + KBD_STATUS_PORT) & KBDS_BUFFER_FULL)) {
985 return inb(kbdcp(p)->port + KBD_DATA_PORT);
994 if (inb(kbdcp(p)->port + KBD_STATUS_PORT) & KBDS_BUFFER_FULL) {
996 return inb(kbdcp(p)->port + KBD_DATA_PORT);
H A Dpmc.c78 outb(0x5e8e, inb(0x5e8e) & ~0x11); /* FDD LED off */
/freebsd-11-stable/sys/i386/acpica/
H A Dacpi_wakecode.S75 inb $IO_PPI, %al
/freebsd-11-stable/sys/i386/pci/
H A Dpci_cfgreg.c345 data = inb(port);
413 header = inb(port);
477 oldval2 = inb(CONF2_ENABLE_PORT);
490 mode2res = inb(CONF2_ENABLE_PORT);
/freebsd-11-stable/sys/dev/mca/
H A Dmca_bus.c119 data = inb(MCA_POS_REG(reg));
133 data = inb(MCA_POS_REG(reg));
145 data = inb(MCA_POS_REG(reg));
276 m_dev->pos[reg] = inb(MCA_POS_REG(reg));
/freebsd-11-stable/sys/pc98/pc98/
H A Dpc98_machdep.c61 outb(0x439, (inb(0x439) & 0xfb)); /* DMA Accsess Control over 1MB */
122 outb(0x43b, inb(0x43b) & 0xfd); /* Clear bit1. */
H A Dbusio.s60 inb %dx,%al
160 inb %dx,%al
351 inb %dx,%al
726 inb %dx,%al
828 inb %dx,%al
1042 inb %dx,%al
1488 inb %dx,%al ;\
/freebsd-11-stable/sys/i386/i386/
H A Dgeode.c288 inb(cba + 0x3c), inb(cba + 0x3d));
H A Dinitcpu.c886 if (!(inb(0x43b) & 4)) {
948 if (!(inb(0x43b) & 4))
1008 if (!(inb(0x43b) & 4))
/freebsd-11-stable/stand/i386/gptboot/
H A Dgptldr.S125 inb $0x64,%al # Get status
130 seta20.2: inb $0x64,%al # Get status
/freebsd-11-stable/sys/dev/powermac_nvram/
H A Dpowermac_nvram.c361 if ((inb(bank) ^ inb(bank)) == 0)
438 if (inb(bank) & SM_FLASH_STATUS_DONE)
/freebsd-11-stable/sys/i386/isa/
H A Dspic.c136 return inb(sc->sc_port_addr);
143 return inb(sc->sc_port_addr + 4);
150 return inb(SPIC_CST_IOPORT);
/freebsd-11-stable/stand/pc98/boot2/
H A Dboot1.S328 vsync.1: inb $0x60,%al
331 vsync.2: inb $0x60,%al
365 1: inb $0x42,%al
/freebsd-11-stable/sys/isa/
H A Dpnp.c177 bit = inb((pnp_rd_port << 2) | 0x3) == 0x55;
181 bit = (inb((pnp_rd_port << 2) | 0x3) == 0xaa) && bit;
210 if ((inb((pnp_rd_port << 2) | 0x3)) & 0x1)
219 temp = inb((pnp_rd_port << 2) | 0x3);
/freebsd-11-stable/sys/amd64/acpica/
H A Dacpi_wakecode.S82 inb $IO_PPI, %al
/freebsd-11-stable/stand/i386/kgzldr/
H A Dsio.s37 sio_putchr.1: inb %dx,%al # Transmitter
/freebsd-11-stable/stand/pc98/btx/btx/
H A Dbtx.S376 wait.1: inb $0x60,%al
381 wait.2: inb $0x60,%al
385 inb $0x62,%al
387 inb $0x62,%al
389 inb $0x62,%al
390 inb $0x62,%al
391 inb $0x62,%al
879 sio_putc.1: inb (%dx),%al # Transmitter
894 inb (%dx),%al # Read character
902 inb (
[all...]
/freebsd-11-stable/sys/x86/include/
H A Dbus.h213 return (inb(handle + offset));
366 1: inb %w2,%%al \n\
900 outb(addr2, inb(addr1));
905 outb(addr2, inb(addr1));
1028 #undef inb macro
1030 #define inb(a) compiler_error macro
/freebsd-11-stable/sys/i386/include/
H A Dcpufunc.h217 inb(u_int port) function
221 __asm __volatile("inb %w1, %0" : "=a" (data) : "Nd" (port));
694 return inb(0x23);
733 u_char inb(u_int port);
/freebsd-11-stable/sys/dev/fb/
H A Dsplash_bmp.c621 inb(adp->va_crtc_addr + 6); /* reset flip-flop */
628 inb(adp->va_crtc_addr + 6); /* reset flip-flop */
/freebsd-11-stable/stand/i386/zfsboot/
H A Dzfsldr.S162 inb $0x64,%al # Get status
167 seta20.2: inb $0x64,%al # Get status

Completed in 148 milliseconds

12345