/freebsd-9.3-release/sys/amd64/include/ |
H A D | ppireg.h | 44 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR) 45 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
|
H A D | iodev.h | 34 #define iodev_read_1 inb
|
/freebsd-9.3-release/sys/i386/include/ |
H A D | ppireg.h | 44 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR) 45 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
|
H A D | iodev.h | 34 #define iodev_read_1 inb
|
/freebsd-9.3-release/sys/mips/include/ |
H A D | ppireg.h | 44 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR) 45 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR)
|
/freebsd-9.3-release/sys/pc98/include/ |
H A D | ppireg.h | 43 #define ppi_spkr_on() outb(IO_PPI, inb(IO_PPI) & ~PIT_SPKR) 44 #define ppi_spkr_off() outb(IO_PPI, inb(IO_PPI) | PIT_SPKR)
|
/freebsd-9.3-release/sys/boot/pc98/libpc98/ |
H A D | pc98_sys.c | 49 while (inb(0x60) & 0x20) {} 50 while (!(inb(0x60) & 0x20)) {} 63 ret |= (inb(0x42) & 0x20) ? M_8M : 0;
|
H A D | comconsole.c | 156 if (inb(comc_port + com_lsr) & LSR_TXRDY) { 165 return (comc_ischar() ? inb(comc_port + com_data) : -1); 171 return (inb(comc_port + com_lsr) & LSR_RXRDY); 321 inb(comc_port + com_data); 322 while (inb(comc_port + com_lsr) & LSR_RXRDY && ++tries < TRY_COUNT); 353 cfcr = inb(comc_port + com_cfcr); 356 dlbl = inb(comc_port + com_dlbl); 357 dlbh = inb(comc_port + com_dlbh);
|
/freebsd-9.3-release/sys/x86/isa/ |
H A D | nmi.c | 64 int isa_port = inb(0x61); 65 int eisa_port = inb(0x461);
|
H A D | elcr.c | 68 elcr_status = inb(ELCR_PORT) | inb(ELCR_PORT + 1) << 8;
|
/freebsd-9.3-release/sys/boot/i386/libi386/ |
H A D | vidconsole.c | 548 inb(IO_DUMMY); inb(IO_DUMMY); 549 inb(IO_DUMMY); inb(IO_DUMMY); 550 inb(IO_DUMMY); inb(IO_DUMMY); 554 * This routine uses an inb to an unused port, the time to execute that 555 * inb is approximately 1.25uS. This value is pretty constant across 558 * is not a valid ISA bus address, those machines execute this inb in 567 (void)inb( [all...] |
H A D | comconsole.c | 156 if (inb(comc_port + com_lsr) & LSR_TXRDY) { 165 return (comc_ischar() ? inb(comc_port + com_data) : -1); 171 return (inb(comc_port + com_lsr) & LSR_RXRDY); 321 inb(comc_port + com_data); 322 while (inb(comc_port + com_lsr) & LSR_RXRDY && ++tries < TRY_COUNT); 353 cfcr = inb(comc_port + com_cfcr); 356 dlbl = inb(comc_port + com_dlbl); 357 dlbh = inb(comc_port + com_dlbh);
|
/freebsd-9.3-release/contrib/dtc/ |
H A D | flattree.c | 576 static void inbuf_init(struct inbuf *inb, void *base, void *limit) argument 578 inb->base = base; 579 inb->limit = limit; 580 inb->ptr = inb->base; 583 static void flat_read_chunk(struct inbuf *inb, void *p, int len) argument 585 if ((inb->ptr + len) > inb->limit) 588 memcpy(p, inb->ptr, len); 590 inb 593 flat_read_word(struct inbuf *inb) argument 604 flat_realign(struct inbuf *inb, int align) argument 613 flat_read_string(struct inbuf *inb) argument 634 flat_read_data(struct inbuf *inb, int len) argument 651 flat_read_stringtable(struct inbuf *inb, int offset) argument 691 flat_read_mem_reserve(struct inbuf *inb) argument [all...] |
/freebsd-9.3-release/sys/pc98/cbus/ |
H A D | nmi.c | 55 int port = inb(0x33);
|
/freebsd-9.3-release/sys/dev/ppc/ |
H A D | ppc.c | 423 (void)inb(idport); (void)inb(idport); 424 (void)inb(idport); (void)inb(idport); 435 val = inb(idport + 1); 458 inb(idport + 1) & 0xff); 467 val = inb(idport + 1); 474 val = inb(idport + 1); 506 val = inb(idport + 1) & 0x3; 519 ptr = inb(idpor [all...] |
/freebsd-9.3-release/lib/libvgl/ |
H A D | mouse.c | 104 crtcidx = inb(0x3c4); 105 crtcval = inb(0x3c5); 106 gdcidx = inb(0x3ce); 107 gdcval = inb(0x3cf); 130 crtcidx = inb(0x3c4); 131 crtcval = inb(0x3c5); 132 gdcidx = inb(0x3ce); 133 gdcval = inb(0x3cf);
|
H A D | simple.c | 579 inb(0x3DA); 583 inb(0x84); 585 inb(0x84); 587 inb(0x84); 589 inb(0x3DA); 599 inb(0x3DA); 602 VGLSavePaletteRed[i] = inb(0x3C9); 603 inb(0x84); 604 VGLSavePaletteGreen[i] = inb(0x3C9); 605 inb( [all...] |
/freebsd-9.3-release/sys/boot/common/ |
H A D | isapnp.c | 40 #define inb(x) (archsw.arch_isainb((x))) macro 100 bit = inb(isapnp_readport) == 0x55; 104 bit = (inb(isapnp_readport) == 0xaa) && bit; 134 if ((inb(isapnp_readport)) & 0x1) 143 temp = inb(isapnp_readport);
|
/freebsd-9.3-release/sys/boot/pc98/btx/btxldr/ |
H A D | btxldr.S | 69 gdcwait.1: inb $0x60,%al 75 gdcwait.2: inb $0x60,%al 78 inb $0x62,%al 80 inb $0x62,%al 82 inb $0x62,%al 83 inb $0x62,%al 84 inb $0x62,%al 352 gdcwait.3: inb $0x60,%al
|
/freebsd-9.3-release/sys/boot/i386/boot2/ |
H A D | sio.S | 61 sio_putc.1: inb (%dx),%al # Transmitter 75 inb (%dx),%al # Read character 82 inb (%dx),%al # Received data
|
/freebsd-9.3-release/sys/i386/bios/ |
H A D | mca_machdep.c | 140 pos5 = inb(MCA_POS_REG(MCA_POS5)); 150 inb( MCA_POS_REG(MCA_POS6) ), 151 inb( MCA_POS_REG(MCA_POS7) ));
|
/freebsd-9.3-release/sys/arm/include/ |
H A D | katelib.h | 93 #define inb(port) ReadByte((port)) macro
|
/freebsd-9.3-release/sys/dev/cx/ |
H A D | machdep.h | 27 # define inb(port) inportb(port) macro 39 # define inb(port) inp((unsigned short)(port)) macro
|
/freebsd-9.3-release/sys/dev/ie/ |
H A D | if_ie_isa.c | 138 data = inb(port + IE507_IRQ); 141 data = inb(port + IE507_MADDR); 291 if (inb(port + i) != signature[i]) 535 bart_config = inb(PORT(sc) + IEE16_CONFIG); 537 bart_config |= IEE16_BART_MCS16_TEST;/* inb doesn't get bit! */ 539 bart_config = inb(PORT(sc) + IEE16_CONFIG); 590 data = inb(port + IE_EE16_ID_PORT); 605 ectrl = inb(port + IEE16_ECTRL); 621 ectrl = inb(port + IEE16_ECTRL); 648 ectrl = inb(por [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | ser-go32.c | 241 #define inb(p,a) inportb((p)->base + (a)) macro 298 iir = inb (port, com_iir) & IIR_IMASK; 303 lsr = inb (port, com_lsr); 313 c = inb (port, com_data); 333 while ((lsr = inb (port, com_lsr)) & LSR_RXRDY); 338 port->msr = inb (port, com_msr); 499 if ((inb (port, com_iir) & 0x38) == 0) 501 (void) inb (port, com_data); /* clear recv */ 514 port->fifo = ((inb (port, com_iir) & IIR_FIFO_MASK) == IIR_FIFO_MASK); 517 (void) inb (por [all...] |