/freebsd-current/sys/x86/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-current/sys/amd64/include/ |
H A D | iodev.h | 34 #define iodev_read_1 inb
|
/freebsd-current/sys/i386/include/ |
H A D | iodev.h | 34 #define iodev_read_1 inb
|
/freebsd-current/sys/x86/isa/ |
H A D | nmi.c | 55 int isa_port = inb(0x61); 56 int eisa_port = inb(0x461);
|
H A D | elcr.c | 67 elcr_status = inb(ELCR_PORT) | inb(ELCR_PORT + 1) << 8;
|
H A D | isa_dma.c | 482 low1 = inb(waport); 483 high1 = inb(waport); 485 low2 = inb(waport); 486 high2 = inb(waport); 525 return(inb(DMA1_STATUS) & (1 << chan)); 527 return(inb(DMA2_STATUS) & (1 << (chan & 3)));
|
H A D | atrtc.c | 103 inb(0x84); 106 inb(0x84); 108 return (inb(IO_RTC + 1)); 116 inb(0x84); 119 inb(0x84); 122 inb(0x84);
|
H A D | clock.c | 217 low = inb(TIMER_CNTR0); 218 high = inb(TIMER_CNTR0); 293 inb(0x84); 487 low = inb(TIMER_CNTR0); 488 high = inb(TIMER_CNTR0);
|
/freebsd-current/stand/i386/libi386/ |
H A D | textvidc.c | 557 inb(IO_DUMMY); 558 inb(IO_DUMMY); 559 inb(IO_DUMMY); 560 inb(IO_DUMMY); 561 inb(IO_DUMMY); 562 inb(IO_DUMMY); 566 * This routine uses an inb to an unused port, the time to execute that 567 * inb is approximately 1.25uS. This value is pretty constant across 570 * is not a valid ISA bus address, those machines execute this inb in 579 (void)inb( [all...] |
H A D | comconsole.c | 153 if (inb(comc_port + com_lsr) & LSR_TXRDY) { 162 return (comc_ischar() ? inb(comc_port + com_data) : -1); 168 return (inb(comc_port + com_lsr) & LSR_RXRDY); 336 if (inb(comc_port + com_scr) != COMC_TEST) { 349 inb(comc_port + com_data); 350 while (inb(comc_port + com_lsr) & LSR_RXRDY && ++tries < TRY_COUNT); 381 cfcr = inb(comc_port + com_cfcr); 384 dlbl = inb(comc_port + com_dlbl); 385 dlbh = inb(comc_port + com_dlbh);
|
H A D | vidconsole.c | 1162 inb(IO_DUMMY); inb(IO_DUMMY); 1163 inb(IO_DUMMY); inb(IO_DUMMY); 1164 inb(IO_DUMMY); inb(IO_DUMMY); 1168 * This routine uses an inb to an unused port, the time to execute that 1169 * inb is approximately 1.25uS. This value is pretty constant across 1172 * is not a valid ISA bus address, those machines execute this inb in 1181 (void) inb( [all...] |
/freebsd-current/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_mad.c | 34 int mlx5_core_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb, argument 55 memcpy(data, inb, MLX5_FLD_SZ_BYTES(mad_ifc_in, mad));
|
/freebsd-current/sys/dev/ppc/ |
H A D | ppc.c | 433 (void)inb(idport); (void)inb(idport); 434 (void)inb(idport); (void)inb(idport); 445 val = inb(idport + 1); 468 inb(idport + 1) & 0xff); 477 val = inb(idport + 1); 484 val = inb(idport + 1); 515 val = inb(idport + 1) & 0x3; 528 ptr = inb(idpor [all...] |
/freebsd-current/stand/common/ |
H A D | isapnp.c | 37 #define inb(x) (archsw.arch_isainb((x))) macro 97 bit = inb(isapnp_readport) == 0x55; 101 bit = (inb(isapnp_readport) == 0xaa) && bit; 131 if ((inb(isapnp_readport)) & 0x1) 140 temp = inb(isapnp_readport);
|
/freebsd-current/stand/i386/boot2/ |
H A D | sio.S | 59 sio_putc.1: inb (%dx),%al # Transmitter 73 inb (%dx),%al # Read character 80 inb (%dx),%al # Received data
|
/freebsd-current/stand/ficl/x86/ |
H A D | sysdep.c | 21 * inb ( port# -- c ) 31 c=inb(port); 45 dictAppendWord(dp, "inb", ficlInb, FW_DEFAULT);
|
/freebsd-current/usr.bin/tcopy/ |
H A D | tcopy.c | 224 char *inb; local 226 inb = getspace(maxblk); 229 if ((inn = read(inp, inb, inmaxblk)) == -1) { 232 inn = read(inp, inb, inmaxblk); 258 free(inb); 262 if (bcmp(inb, outb, inn)) {
|
/freebsd-current/lib/libvgl/ |
H A D | simple.c | 565 inb(0x3DA); 569 inb(0x84); 571 inb(0x84); 573 inb(0x84); 575 inb(0x3DA); 587 inb(0x3DA); 590 VGLSavePaletteRed[i] = inb(0x3C9); 591 inb(0x84); 592 VGLSavePaletteGreen[i] = inb(0x3C9); 593 inb( [all...] |
/freebsd-current/contrib/ntp/kernel/sys/ |
H A D | pcl720.h | 35 #define pcl720_inb(x) inb(x) 39 unsigned char x = inb(addr); 40 fprintf(DEBUG_PCL720, "inb(0x%x) -> 0x%x\n", addr, x);
|
/freebsd-current/sys/dev/fb/ |
H A D | vga.c | 756 if (inb(adp->va_crtc_addr) == 7) { 1288 if (inb(TSREG) & 1) 1312 inb(adp->va_crtc_addr + 6); 1315 inb(adp->va_crtc_addr + 6); 1675 outb(TSIDX, 0x02); buf[0] = inb(TSREG); 1676 outb(TSIDX, 0x04); buf[1] = inb(TSREG); 1677 outb(GDCIDX, 0x04); buf[2] = inb(GDCREG); 1678 outb(GDCIDX, 0x05); buf[3] = inb(GDCREG); 1679 outb(GDCIDX, 0x06); buf[4] = inb(GDCREG); 1680 inb(ad [all...] |
/freebsd-current/sys/x86/x86/ |
H A D | delay.c | 138 inb(0x84);
|
/freebsd-current/contrib/pnpinfo/ |
H A D | pnpinfo.c | 61 return inb( (rd_port << 2) + 3) & 0xff; 139 bit = inb((rd_port << 2) | 0x3) == 0x55; 143 bit = (inb((rd_port << 2) | 0x3) == 0xaa) && bit; 173 if ((inb((rd_port << 2) | 0x3)) & 0x1) 182 buffer[i] = inb((rd_port << 2) | 0x3);
|
/freebsd-current/tools/tools/net80211/wesside/wesside/ |
H A D | aircrack-ptw-lib.c | 108 static int compare(const void * ina, const void * inb) { argument 110 PTW_tableentry * b = (PTW_tableentry * )inb; 121 static int comparedoublesorthelper(const void * ina, const void * inb) { argument 123 doublesorthelper * b = (doublesorthelper * )inb; 166 static int comparesorthelper(const void * ina, const void * inb) { argument 168 sorthelper * b = (sorthelper * ) inb;
|
/freebsd-current/stand/i386/pxeldr/ |
H A D | pxeldr.S | 242 inb $0x64,%al # Get status 247 seta20.2: inb $0x64,%al # Get status
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | ldt.sh | 221 inb(unsigned int port) 225 __asm __volatile("inb %%dx,%0" : "=a" (data) : "d" (port)); 256 inb(port_num); 276 inb(port_num);
|