/freebsd-11-stable/stand/pc98/libpc98/ |
H A D | vidconsole.c | 151 while ((inb(0x60) & 0x04) == 0) 154 while ((inb(0x60) & 0x01) == 0) 156 hw_cursor = inb(0x62); 157 hw_cursor |= (inb(0x62) << 8); 158 inb(0x62); 159 inb(0x62); 160 inb(0x62); 223 while ((inb(0x60) & 0x04) == 0) {} 307 while((inb(0x60) & 0x04) == 0) {}
|
/freebsd-11-stable/usr.bin/tcopy/ |
H A D | tcopy.c | 230 char *inb; local 232 inb = getspace(maxblk); 235 if ((inn = read(inp, inb, inmaxblk)) == -1) { 238 inn = read(inp, inb, inmaxblk); 267 if (bcmp(inb, outb, inn)) {
|
/freebsd-11-stable/sys/dev/si/ |
H A D | si_eisa.c | 54 maddr = (inb(iobase+1) << 24) | (inb(iobase) << 16); 57 irq = ((inb(iobase+2) >> 4) & 0xf);
|
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | sio.c | 931 if (( inb(iod.sts) & STS8251_TxEMP ) == 0 ) { 936 tmp = ( inb( iod.ctrl ) & ~(IEN_Rx|IEN_TxEMP|IEN_Tx)); 1008 if ((inb(iobase + rsa_srr) & 0x36) != 0x36) { 1196 inb(iobase + rsa_srr); 1203 inb(iobase + rsa_srr); 1227 inb(iobase + rsa_srr); 1287 if ((inb(esp_port) & 0xf3) == 0) { 1300 dips = inb(esp_port + ESP98_STATUS1); 1303 dips = inb(esp_port + ESP_STATUS1); 1326 val = inb(esp_por [all...] |
H A D | gdc.c | 631 gdc_FH = (inb(0x9a8) & 1) ? _31KHZ : _24KHZ; 672 while ( (inb(TEXT_GDC) & 2) != 0); 678 while ( (inb(TEXT_GDC) & 2) != 0); 691 while ( (inb(TEXT_GDC) & 4) == 0); 697 while ( (inb(TEXT_GDC) & 0x20) != 0); 698 while ( (inb(TEXT_GDC) & 0x20) == 0); 703 while ( (inb(GRAPHIC_GDC) & 2) != 0); 710 while ( (inb(GRAPHIC_GDC) & 2) != 0); 722 while ( (inb(GRAPHIC_GDC) & 0x04) == 0); 728 while ( (inb(GRAPHIC_GD [all...] |
H A D | cbus_dma.c | 417 low1 = inb(waport); 418 high1 = inb(waport); 420 low2 = inb(waport); 421 high2 = inb(waport); 459 return(inb(DMA1_STATUS) & (1 << chan));
|
/freebsd-11-stable/sys/x86/isa/ |
H A D | isa_dma.c | 485 low1 = inb(waport); 486 high1 = inb(waport); 488 low2 = inb(waport); 489 high2 = inb(waport); 528 return(inb(DMA1_STATUS) & (1 << chan)); 530 return(inb(DMA2_STATUS) & (1 << (chan & 3)));
|
H A D | atrtc.c | 94 inb(0x84); 97 inb(0x84); 99 return (inb(IO_RTC + 1)); 107 inb(0x84); 110 inb(0x84); 113 inb(0x84);
|
/freebsd-11-stable/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-11-stable/sys/pc98/apm/ |
H A D | apm_bioscall.S | 69 inb %dx,%al
|
/freebsd-11-stable/sys/dev/cx/ |
H A D | cxddk.c | 202 ier = inb (IER(c->port)); 208 ier = inb (IER(c->port)); 239 return (inb (CSR(c->port)) & CSRA_RXEN) != 0; 245 return (inb (CSR(c->port)) & CSRA_TXEN) != 0; 353 if (inb (DMABSTS(c->port)) & DMABSTS_NTBUF) { 354 if (inb (BTBSTS(c->port)) & BSTS_OWN24) { 366 if (inb (ATBSTS(c->port)) & BSTS_OWN24) { 379 if (inb (sts_port) & BSTS_OWN24) 392 if ((inb(ATBSTS(c->port)) & BSTS_OWN24) && 393 (inb(BTBST [all...] |
H A D | csigma.c | 78 for (count=0; inb(port) && count<20000; ++count) 85 for (count=0; inb(port) && count<20000; ++count) 98 if (inb(GFRCR(port)) != 0) 106 if (inb(GFRCR(port)) != 0) 120 inb (BDET(port)); 130 sr = inb (BSR(port)); 150 rev = inb (BSR(port)); 180 if ((inb (BSR(port)+i) & BSR_REV_MASK) != (rev & BSR_REV_MASK)) 195 odet = inb (BDET(port)); 200 det = inb (BDE [all...] |
/freebsd-11-stable/sys/dev/ctau/ |
H A D | ctau.c | 80 inb (BSR3(port)); 92 sr2 = inb (BSR2(port)); 140 #define nstatus(b) (inb(BSR3(b)) & BSR3_NSTATUS) 142 #define confdone(b) (inb(BSR3(b)) & BSR3_CONF_DN) 180 CTAU_DEBUG (("Bad nstatus, downloading aborted (bsr3=0x%x).\n", inb(BSR3(port)))); 251 osr3 = inb (BSR3(port)); 257 sr3 = inb (BSR3(port)); 258 sr3 = inb (BSR3(port)); 289 osr3 = inb (BSR3(port)); 294 sr3 = inb (BSR [all...] |
/freebsd-11-stable/sys/dev/fb/ |
H A D | vga.c | 805 if (inb(adp->va_crtc_addr) == 7) { 1292 if (inb(TSREG) & 1) 1316 inb(adp->va_crtc_addr + 6); 1319 inb(adp->va_crtc_addr + 6); 1679 outb(TSIDX, 0x02); buf[0] = inb(TSREG); 1680 outb(TSIDX, 0x04); buf[1] = inb(TSREG); 1681 outb(GDCIDX, 0x04); buf[2] = inb(GDCREG); 1682 outb(GDCIDX, 0x05); buf[3] = inb(GDCREG); 1683 outb(GDCIDX, 0x06); buf[4] = inb(GDCREG); 1684 inb(ad [all...] |
/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt_eisa.c | 208 ioconf1 = inb(iobase + AMI_EISA_IOCONF1); 237 shared = (inb(iobase + AMI_EISA_IOCONF1) & AMI_IRQ_LEVEL) ? 243 ioconf = inb(iobase + EISA_IOCONF); 272 shared = (inb(iobase + EISA_IRQ_TYPE) & LEVEL) ?
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | delay.c | 136 inb(0x84);
|
/freebsd-11-stable/contrib/pnpinfo/ |
H A D | pnpinfo.c | 64 return inb( (rd_port << 2) + 3) & 0xff; 142 bit = inb((rd_port << 2) | 0x3) == 0x55; 146 bit = (inb((rd_port << 2) | 0x3) == 0xaa) && bit; 176 if ((inb((rd_port << 2) | 0x3)) & 0x1) 185 buffer[i] = inb((rd_port << 2) | 0x3);
|
/freebsd-11-stable/tools/tools/net80211/wesside/wesside/ |
H A D | aircrack-ptw-lib.c | 110 static int compare(const void * ina, const void * inb) { argument 112 PTW_tableentry * b = (PTW_tableentry * )inb; 123 static int comparedoublesorthelper(const void * ina, const void * inb) { argument 125 doublesorthelper * b = (doublesorthelper * )inb; 168 static int comparesorthelper(const void * ina, const void * inb) { argument 170 sorthelper * b = (sorthelper * ) inb;
|
/freebsd-11-stable/sys/dev/sio/ |
H A D | sio.c | 815 if ((inb(esp_port) & 0xf3) == 0) { 827 dips = inb(esp_port + ESP_STATUS1); 843 val = inb(esp_port + ESP_STATUS1); /* clear reg 1 */ 844 val = inb(esp_port + ESP_STATUS2); 928 com->mcr_image = inb(com->modem_ctl_port); 982 switch (inb(com->int_id_port) & IIR_FIFO_MASK) { 1163 if (!(inb(com->line_status_port) & LSR_RXRDY)) 1167 (void) inb(com->data_port); 1174 (void) inb(com->line_status_port); 1175 (void) inb(co [all...] |
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | prof_machdep.c | 240 low = inb(TIMER_CNTR0); 241 high = inb(TIMER_CNTR0);
|
/freebsd-11-stable/sys/i386/isa/ |
H A D | prof_machdep.c | 215 low = inb(TIMER_CNTR0); 216 high = inb(TIMER_CNTR0);
|
/freebsd-11-stable/sys/i386/xbox/ |
H A D | pic16l.s | 75 inb %dx,%al 161 inb %dx,%al
|
/freebsd-11-stable/stand/i386/pxeldr/ |
H A D | pxeldr.S | 244 inb $0x64,%al # Get status 249 seta20.2: inb $0x64,%al # Get status
|
/freebsd-11-stable/stand/ficl/i386/ |
H A D | sysdep.c | 100 * inb ( port# -- c ) 110 c=inb(port); 124 dictAppendWord(dp, "inb", ficlInb, FW_DEFAULT);
|
/freebsd-11-stable/sys/dev/digi/ |
H A D | digi_isa.c | 118 for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) { 125 ident = inb(sc->port); 190 ident = inb(sc->port); 379 for (i = 0; (inb(sc->port) & FEPMASK) != reset; i++) { 399 for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) { 403 inb(sc->port));
|