/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/stand/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-11-stable/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 | 67 elcr_status = inb(ELCR_PORT) | inb(ELCR_PORT + 1) << 8;
|
/freebsd-11-stable/stand/i386/libi386/ |
H A D | vidconsole.c | 555 inb(IO_DUMMY); inb(IO_DUMMY); 556 inb(IO_DUMMY); inb(IO_DUMMY); 557 inb(IO_DUMMY); inb(IO_DUMMY); 561 * This routine uses an inb to an unused port, the time to execute that 562 * inb is approximately 1.25uS. This value is pretty constant across 565 * is not a valid ISA bus address, those machines execute this inb in 574 (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); 339 inb(comc_port + com_data); 340 while (inb(comc_port + com_lsr) & LSR_RXRDY && ++tries < TRY_COUNT); 371 cfcr = inb(comc_port + com_cfcr); 374 dlbl = inb(comc_port + com_dlbl); 375 dlbh = inb(comc_port + com_dlbh);
|
/freebsd-11-stable/contrib/dtc/ |
H A D | flattree.c | 593 static void inbuf_init(struct inbuf *inb, void *base, void *limit) argument 595 inb->base = base; 596 inb->limit = limit; 597 inb->ptr = inb->base; 600 static void flat_read_chunk(struct inbuf *inb, void *p, int len) argument 602 if ((inb->ptr + len) > inb->limit) 605 memcpy(p, inb->ptr, len); 607 inb 610 flat_read_word(struct inbuf *inb) argument 621 flat_realign(struct inbuf *inb, int align) argument 630 flat_read_string(struct inbuf *inb) argument 651 flat_read_data(struct inbuf *inb, int len) argument 668 flat_read_stringtable(struct inbuf *inb, int offset) argument 708 flat_read_mem_reserve(struct inbuf *inb) argument [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | nmi.c | 55 int port = inb(0x33);
|
/freebsd-11-stable/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-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_mad.c | 33 int mlx5_core_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb, argument 54 memcpy(data, inb, MLX5_FLD_SZ_BYTES(mad_ifc_in, mad));
|
/freebsd-11-stable/stand/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-11-stable/stand/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-11-stable/sys/i386/bios/ |
H A D | mca_machdep.c | 139 pos5 = inb(MCA_POS_REG(MCA_POS5)); 149 inb( MCA_POS_REG(MCA_POS6) ), 150 inb( MCA_POS_REG(MCA_POS7) ));
|
/freebsd-11-stable/stand/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-11-stable/sys/dev/ppc/ |
H A D | ppc.c | 439 (void)inb(idport); (void)inb(idport); 440 (void)inb(idport); (void)inb(idport); 451 val = inb(idport + 1); 474 inb(idport + 1) & 0xff); 483 val = inb(idport + 1); 490 val = inb(idport + 1); 522 val = inb(idport + 1) & 0x3; 535 ptr = inb(idpor [all...] |
/freebsd-11-stable/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-11-stable/sys/dev/ie/ |
H A D | if_ie_isa.c | 140 data = inb(port + IE507_IRQ); 143 data = inb(port + IE507_MADDR); 293 if (inb(port + i) != signature[i]) 537 bart_config = inb(PORT(sc) + IEE16_CONFIG); 539 bart_config |= IEE16_BART_MCS16_TEST;/* inb doesn't get bit! */ 541 bart_config = inb(PORT(sc) + IEE16_CONFIG); 592 data = inb(port + IE_EE16_ID_PORT); 607 ectrl = inb(port + IEE16_ECTRL); 623 ectrl = inb(port + IEE16_ECTRL); 650 ectrl = inb(por [all...] |
/freebsd-11-stable/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...] |
/freebsd-11-stable/sys/dev/ctau/ |
H A D | ctddk.c | 370 outb (c->IE1, inb (c->IE1) | IE1_CDCDE); 371 outb (c->IE0, inb (c->IE0) | IE0_RX_INTE); 372 ier0 = inb (IER0(c->board->port)); 395 st3 = inb (c->ST3); 402 outb (c->IE1, inb (c->IE1) | IE1_CDCDE); 403 outb (c->IE0, inb (c->IE0) | IE0_RX_INTE); 404 ier0 = inb (IER0(c->board->port)); 412 ier0 = inb (IER0(c->board->port)); 417 ier1 = inb (IER1(c->board->port)); 432 st3 = inb ( [all...] |