tag | line | file | source code |
inb | 200 | arch/alpha/kernel/irq.c | printk("61=%02x, 461=%02x\n", inb(0x61), inb(0x461)); |
inb | 215 | arch/alpha/kernel/irq.c | inb(0x64), inb(0x60), inb(0x3fa), inb(0x2fa)); |
inb | 221 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 234 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 247 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 260 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 283 | drivers/block/aztcd.c | { if (!(inb(STATUS_PORT) & AFL_STATUS)) |
inb | 314 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_STATUS) break; |
inb | 315 | drivers/block/aztcd.c | inb(DATA_PORT); /* if status left from last command, read and */ |
inb | 317 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_DATA) break; |
inb | 318 | drivers/block/aztcd.c | inb(DATA_PORT); /* if data left from last command, read and */ |
inb | 323 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 328 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 360 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 365 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 392 | drivers/block/aztcd.c | i = inb(STATUS_PORT) & AFL_STATUS; /* is STEN=0? ???*/ |
inb | 395 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 410 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 803 | drivers/block/aztcd.c | azt_error=inb(DATA_PORT)&0xFF; |
inb | 965 | drivers/block/aztcd.c | st = inb(STATUS_PORT) & AFL_STATUSorDATA; /*???*/ |
inb | 1090 | drivers/block/aztcd.c | if ( !(inb(STATUS_PORT) & AFL_DATA) ) { |
inb | 1092 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1273 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1274 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1277 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK? If not, reset and try again*/ |
inb | 1280 | drivers/block/aztcd.c | { inb(STATUS_PORT); /*removing all data from earlier tries*/ |
inb | 1281 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1284 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1285 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1288 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK?*/ |
inb | 1301 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1302 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1309 | drivers/block/aztcd.c | result[0]=inb(DATA_PORT); /*reading in a null byte???*/ |
inb | 1312 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT);/*because we want to exit by timeout*/ |
inb | 1317 | drivers/block/aztcd.c | result[count]=inb(DATA_PORT); |
inb | 1405 | drivers/block/aztcd.c | s = inb(DATA_PORT) & 0xFF; |
inb | 406 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_ATTN_BIT) != 0); |
inb | 412 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_BUSY_BIT) != 0); |
inb | 418 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_DATA_RDY_BIT) != 0); |
inb | 424 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_DATA_REQUEST_BIT) != 0); |
inb | 430 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_RES_RDY_BIT) != 0); |
inb | 436 | drivers/block/cdu31a.c | return((inb(sony_cd_fifost_reg) & SONY_PARAM_WRITE_RDY_BIT) != 0); |
inb | 442 | drivers/block/cdu31a.c | return((inb(sony_cd_fifost_reg) & SONY_RES_REG_NOT_EMP_BIT) != 0); |
inb | 479 | drivers/block/cdu31a.c | return(inb(sony_cd_status_reg)); |
inb | 485 | drivers/block/cdu31a.c | return(inb(sony_cd_result_reg)); |
inb | 491 | drivers/block/cdu31a.c | return(inb(sony_cd_read_reg)); |
inb | 108 | drivers/block/hd.c | i |= inb(0x40) << 8; |
inb | 152 | drivers/block/hd.c | hd_error = inb(HD_ERROR); |
inb | 162 | drivers/block/hd.c | printk(", CHS=%d/%d/%d", (inb(HD_HCYL)<<8) + inb(HD_LCYL), |
inb | 163 | drivers/block/hd.c | inb(HD_CURRENT) & 0xf, inb(HD_SECTOR)); |
inb | 383 | drivers/block/hd.c | else if ((hd_error = inb(HD_ERROR)) != 1) |
inb | 216 | drivers/block/ide.c | #define IN_BYTE(p,hwif) (byte)inb(IDE_PORT(p,hwif)) |
inb | 385 | drivers/block/ide.c | i |= inb(0x40) << 8; |
inb | 591 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & 0xFF; |
inb | 597 | drivers/block/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 803 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & (MFL_STATUSorDATA); |
inb | 868 | drivers/block/mcd.c | if ((st = (inb(MCDPORT(1))) & (MFL_STATUSorDATA)) != (MFL_STATUSorDATA)) { |
inb | 910 | drivers/block/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 913 | drivers/block/mcd.c | inb(MCDPORT(0)); |
inb | 914 | drivers/block/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 916 | drivers/block/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 919 | drivers/block/mcd.c | inb(MCDPORT(0)); |
inb | 920 | drivers/block/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 1116 | drivers/block/mcd.c | (void) inb(MCDPORT(1)); /* delay a bit */ |
inb | 1120 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1128 | drivers/block/mcd.c | count = inb(MCDPORT(0)); /* pick up the status */ |
inb | 1219 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & MFL_STATUS; |
inb | 1222 | drivers/block/mcd.c | i = inb(MCDPORT(0)) & 0xFF; |
inb | 1255 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1289 | drivers/block/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 1320 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1329 | drivers/block/mcd.c | s = inb(MCDPORT(0)) & 0xFF; |
inb | 833 | drivers/block/sbpcd.c | for (i=maxtim02;i!=0;i--) inb(CDi_status); |
inb | 837 | drivers/block/sbpcd.c | for (i=maxtim_data;i!=0;i--) inb(CDi_status); |
inb | 851 | drivers/block/sbpcd.c | inb(CDi_status); |
inb | 863 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 873 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 891 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 900 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 909 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 927 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 935 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 945 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 953 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 1006 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1020 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1035 | drivers/block/sbpcd.c | i=inb(CDi_info); |
inb | 2384 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 2432 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 2434 | drivers/block/sbpcd.c | i=inb(CDi_info); |
inb | 3034 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 3576 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 3632 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 3982 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4056 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4297 | drivers/block/sbpcd.c | i=inb(SPEA_REG_1); |
inb | 4320 | drivers/block/sbpcd.c | i=(inb(SPEA_REG_2)&0xCF)|n_ports; |
inb | 386 | drivers/block/xd.c | if (inb(XD_STATUS) & STAT_INTERRUPT) { /* check if it was our device */ |
inb | 439 | drivers/block/xd.c | while (((inb(port) & mask) != flags) && (jiffies < expiry)) |
inb | 463 | drivers/block/xd.c | switch (inb(XD_STATUS) & (STAT_COMMAND | STAT_INPUT)) { |
inb | 479 | drivers/block/xd.c | *indata++ = inb(XD_DATA); |
inb | 481 | drivers/block/xd.c | inb(XD_DATA); |
inb | 491 | drivers/block/xd.c | csb = inb(XD_DATA); |
inb | 39 | drivers/char/atixlmouse.c | outb( (0x20 | inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 43 | drivers/char/atixlmouse.c | outb( (0xdf & inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 47 | drivers/char/atixlmouse.c | outb( (0xe7 & inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 51 | drivers/char/atixlmouse.c | outb( (0x08 | inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 72 | drivers/char/atixlmouse.c | dx = inb( ATIXL_MSE_DATA_PORT); |
inb | 74 | drivers/char/atixlmouse.c | dy = inb( ATIXL_MSE_DATA_PORT); |
inb | 76 | drivers/char/atixlmouse.c | buttons = inb( ATIXL_MSE_DATA_PORT); |
inb | 178 | drivers/char/atixlmouse.c | a = inb( ATIXL_MSE_SIGNATURE_PORT ); /* Get signature */ |
inb | 179 | drivers/char/atixlmouse.c | b = inb( ATIXL_MSE_SIGNATURE_PORT ); |
inb | 180 | drivers/char/atixlmouse.c | c = inb( ATIXL_MSE_SIGNATURE_PORT ); |
inb | 54 | drivers/char/busmouse.c | dx = (inb(MSE_DATA_PORT) & 0xf); |
inb | 56 | drivers/char/busmouse.c | dx |= (inb(MSE_DATA_PORT) & 0xf) << 4; |
inb | 58 | drivers/char/busmouse.c | dy = (inb(MSE_DATA_PORT) & 0xf); |
inb | 60 | drivers/char/busmouse.c | buttons = inb(MSE_DATA_PORT); |
inb | 225 | drivers/char/busmouse.c | if (inb(MSE_SIGNATURE_PORT) != MSE_SIGNATURE_BYTE) { |
inb | 346 | drivers/char/keyboard.c | scancode = inb(0x60); |
inb | 128 | drivers/char/mem.c | put_fs_byte(inb(i),tmp); |
inb | 50 | drivers/char/msbusmouse.c | outb((inb(MS_MSE_DATA_PORT) | 0x20), MS_MSE_DATA_PORT); |
inb | 53 | drivers/char/msbusmouse.c | dx = inb(MS_MSE_DATA_PORT); |
inb | 56 | drivers/char/msbusmouse.c | dy = inb(MS_MSE_DATA_PORT); |
inb | 59 | drivers/char/msbusmouse.c | buttons = ~(inb(MS_MSE_DATA_PORT)) & 0x07; |
inb | 62 | drivers/char/msbusmouse.c | outb((inb(MS_MSE_DATA_PORT) & 0xdf), MS_MSE_DATA_PORT); |
inb | 140 | drivers/char/psaux.c | while ((inb(AUX_STATUS) & AUX_OBUF_FULL) != AUX_OBUF_FULL |
inb | 148 | drivers/char/psaux.c | if ((inb(AUX_STATUS) & AUX_OBUF_FULL) == AUX_OBUF_FULL) |
inb | 150 | drivers/char/psaux.c | return (inb(AUX_INPUT_PORT)); |
inb | 200 | drivers/char/psaux.c | queue->buf[head] = inb(AUX_INPUT_PORT); |
inb | 221 | drivers/char/psaux.c | queue->buf[head] = inb(qp_data); |
inb | 488 | drivers/char/psaux.c | while ((inb(AUX_STATUS)&0x03) && retries < MAX_RETRIES) { |
inb | 508 | drivers/char/psaux.c | while ((inb(qp_status)&(QP_RX_FULL|QP_TX_IDLE|QP_DEV_IDLE)) |
inb | 237 | drivers/char/serial.c | return inb(info->port+1); |
inb | 240 | drivers/char/serial.c | return inb(info->port + offset); |
inb | 252 | drivers/char/serial.c | return inb(info->port + offset); |
inb | 1059 | drivers/char/serial.c | (void) inb((info->port & 0xFE0) | 0x01F); |
inb | 607 | drivers/char/tpqic02.c | return (inb(QIC02_STAT_PORT) & QIC02_STAT_EXCEPTION) == 0; |
inb | 1057 | drivers/char/tpqic02.c | stat = inb(QIC02_STAT_PORT) & QIC02_STAT_MASK; |
inb | 1553 | drivers/char/tpqic02.c | inb(MTN_R_DESELECT_DMA_PORT); |
inb | 1720 | drivers/char/tpqic02.c | inb(MTN_R_DESELECT_DMA_PORT); |
inb | 1810 | drivers/char/tpqic02.c | stat = inb(QIC02_STAT_PORT); /* Knock, knock */ |
inb | 1875 | drivers/char/tpqic02.c | inb(QIC02_STAT_PORT)); |
inb | 227 | drivers/net/3c501.c | station_addr[i] = inb(ioaddr + EL1_SAPROM); |
inb | 249 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear pending interrupts. */ |
inb | 250 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 340 | drivers/net/3c501.c | dev->name, inb(TX_STATUS), inb(AX_STATUS), inb(RX_STATUS)); |
inb | 378 | drivers/net/3c501.c | inb(RX_STATUS); |
inb | 379 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 417 | drivers/net/3c501.c | axsr = inb(AX_STATUS); |
inb | 431 | drivers/net/3c501.c | int txsr = inb(TX_STATUS); |
inb | 488 | drivers/net/3c501.c | int rxsr = inb(RX_STATUS); |
inb | 490 | drivers/net/3c501.c | printk(" rxsr=%02x txsr=%02x rp=%04x", rxsr, inb(TX_STATUS), |
inb | 521 | drivers/net/3c501.c | inb(RX_STATUS); /* Be certain that interrupts are cleared. */ |
inb | 522 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 602 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear status. */ |
inb | 603 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 649 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear status. */ |
inb | 652 | drivers/net/3c501.c | inb(RX_STATUS); |
inb | 655 | drivers/net/3c501.c | inb(RX_STATUS); |
inb | 148 | drivers/net/3c503.c | if (inb(ioaddr + 0x408) == 0xff) { |
inb | 155 | drivers/net/3c503.c | iobase_reg = inb(ioaddr+0x403); |
inb | 156 | drivers/net/3c503.c | membase_reg = inb(ioaddr+0x404); |
inb | 167 | drivers/net/3c503.c | if ( inb(ioaddr + 0) != 0x02 |
inb | 168 | drivers/net/3c503.c | || inb(ioaddr + 1) != 0x60 |
inb | 169 | drivers/net/3c503.c | || inb(ioaddr + 2) != 0x8c) { |
inb | 190 | drivers/net/3c503.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 333 | drivers/net/3c503.c | printk("%#x=%#02x %#x=%#02x %#x=%#02x...", E33G_IDCFR, inb(E33G_IDCFR), |
inb | 334 | drivers/net/3c503.c | E33G_CNTRL, inb(E33G_CNTRL), E33G_GACFR, inb(E33G_GACFR)); |
inb | 405 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 449 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 174 | drivers/net/3c505.c | #define INB(port) inb((unsigned short)(port)) |
inb | 346 | drivers/net/3c507.c | if (inb(ioaddr) == '*' && inb(ioaddr+1) == '3' |
inb | 347 | drivers/net/3c507.c | && inb(ioaddr+2) == 'C' && inb(ioaddr+3) == 'O') |
inb | 364 | drivers/net/3c507.c | irq = inb(ioaddr + IRQ_CONFIG) & 0x0f; |
inb | 378 | drivers/net/3c507.c | dev->dev_addr[i] = inb(ioaddr + i); |
inb | 392 | drivers/net/3c507.c | char mem_config = inb(ioaddr + MEM_CONFIG); |
inb | 406 | drivers/net/3c507.c | dev->if_port = (inb(ioaddr + ROM_CONFIG) & 0x80) ? 1 : 0; |
inb | 407 | drivers/net/3c507.c | dev->irq = inb(ioaddr + IRQ_CONFIG) & 0x0f; |
inb | 289 | drivers/net/3c509.c | word = (word << 1) + (inb(ID_PORT) & 0x01); |
inb | 345 | drivers/net/3c509.c | inb(ioaddr + i); |
inb | 346 | drivers/net/3c509.c | inb(ioaddr + 10); |
inb | 347 | drivers/net/3c509.c | inb(ioaddr + 12); |
inb | 389 | drivers/net/3c509.c | dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS)); |
inb | 416 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS), inb(ioaddr + TX_STATUS), |
inb | 451 | drivers/net/3c509.c | while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { |
inb | 550 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
inb | 551 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
inb | 552 | drivers/net/3c509.c | /* Multiple collisions. */ inb(ioaddr + 2); |
inb | 553 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
inb | 554 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
inb | 555 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
inb | 556 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
inb | 557 | drivers/net/3c509.c | /* Rx packets */ inb(ioaddr + 7); |
inb | 558 | drivers/net/3c509.c | /* Tx deferrals */ inb(ioaddr + 8); |
inb | 134 | drivers/net/8390.c | int txsr = inb(e8390_base+EN0_TSR), isr; |
inb | 139 | drivers/net/8390.c | isr = inb(e8390_base+EN0_ISR); |
inb | 327 | drivers/net/8390.c | int status = inb(e8390_base + EN0_TSR); |
inb | 103 | drivers/net/ac3200.c | printk(" %02x", inb(ioaddr + AC_SA_PROM + i)); |
inb | 108 | drivers/net/ac3200.c | if (inb(ioaddr + AC_SA_PROM + 0) != AC_ADDR0 |
inb | 109 | drivers/net/ac3200.c | || inb(ioaddr + AC_SA_PROM + 1) != AC_ADDR1 |
inb | 110 | drivers/net/ac3200.c | || inb(ioaddr + AC_SA_PROM + 2) != AC_ADDR2 ) { |
inb | 126 | drivers/net/ac3200.c | dev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i); |
inb | 130 | drivers/net/ac3200.c | " EISA ID %02x %02x %02x %02x.\n", inb(ioaddr + AC_CONFIG), |
inb | 131 | drivers/net/ac3200.c | inb(ioaddr + AC_ID_PORT + 0), inb(ioaddr + AC_ID_PORT + 1), |
inb | 132 | drivers/net/ac3200.c | inb(ioaddr + AC_ID_PORT + 2), inb(ioaddr + AC_ID_PORT + 3)); |
inb | 137 | drivers/net/ac3200.c | dev->irq = config2irq(inb(ioaddr + AC_CONFIG)); |
inb | 155 | drivers/net/ac3200.c | outb((inb(ioaddr + AC_CONFIG) & ~7) | i, ioaddr + AC_CONFIG); |
inb | 159 | drivers/net/ac3200.c | dev->if_port = inb(ioaddr + AC_CONFIG) >> 6; |
inb | 160 | drivers/net/ac3200.c | dev->mem_start = config2mem(inb(ioaddr + AC_CONFIG)); |
inb | 280 | drivers/net/apricot.c | (void) inb (ioaddr+0x10); |
inb | 701 | drivers/net/apricot.c | eth_addr[i] = inb(ioaddr+8+i); |
inb | 908 | drivers/net/apricot.c | (void) inb (ioaddr+0x10); |
inb | 502 | drivers/net/arcnet.c | printk("arcnet: status1=%Xh\n",inb(STATUS)); |
inb | 511 | drivers/net/arcnet.c | inb(RESET); |
inb | 515 | drivers/net/arcnet.c | if (inb(STATUS)==0xFF) |
inb | 530 | drivers/net/arcnet.c | curval=initval=inb(COMMAND); |
inb | 533 | drivers/net/arcnet.c | curval=inb(COMMAND); |
inb | 544 | drivers/net/arcnet.c | printk("arcnet: status2=%Xh\n",inb(STATUS)); |
inb | 549 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 553 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 564 | drivers/net/arcnet.c | inb(RESET); |
inb | 568 | drivers/net/arcnet.c | printk("arcnet: status3=%Xh\n",inb(STATUS)); |
inb | 578 | drivers/net/arcnet.c | printk("arcnet: status4=%Xh\n",inb(STATUS)); |
inb | 581 | drivers/net/arcnet.c | inb(RESET); |
inb | 585 | drivers/net/arcnet.c | printk("arcnet: status5=%Xh\n",inb(STATUS)); |
inb | 603 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag on */ |
inb | 610 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 614 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 788 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 796 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 822 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 833 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 920 | drivers/net/arcnet.c | while ( !(inb(STATUS)&TXFREEflag) ) |
inb | 926 | drivers/net/arcnet.c | dev->tbusy,inb(STATUS)); |
inb | 934 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 961 | drivers/net/arcnet.c | if (! (inb(STATUS) & TXFREEflag)) |
inb | 965 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1062 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1071 | drivers/net/arcnet.c | if (daddr && !(inb(STATUS)&TXACKflag)) |
inb | 1075 | drivers/net/arcnet.c | inb(STATUS),daddr); |
inb | 1114 | drivers/net/arcnet.c | printk("arcnet: in net_interrupt (status=%Xh)\n",inb(STATUS)); |
inb | 1118 | drivers/net/arcnet.c | status = inb(STATUS); |
inb | 1124 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1184 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1215 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1536 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 1599 | drivers/net/arcnet.c | dev->name,inb(STATUS)); |
inb | 1601 | drivers/net/arcnet.c | inb(RESET); /* Reset by reading this port */ |
inb | 185 | drivers/net/at1700.c | if (at1700_probe_list[inb(ioaddr + IOCONFIG) & 0x07] != ioaddr |
inb | 304 | drivers/net/at1700.c | retval = (retval << 1) | ((inb(ee_daddr) & EE_DATA_READ) ? 1 : 0); |
inb | 375 | drivers/net/at1700.c | inw(ioaddr + STATUS), inb(ioaddr + TX_STATUS) & 0x80 |
inb | 462 | drivers/net/at1700.c | || (inb(ioaddr + RX_MODE) & 0x40) == 0) { /* Got a packet(s). */ |
inb | 497 | drivers/net/at1700.c | while ((inb(ioaddr + RX_MODE) & 0x40) == 0) { |
inb | 503 | drivers/net/at1700.c | dev->name, inb(ioaddr + RX_MODE), status); |
inb | 557 | drivers/net/at1700.c | if ((inb(ioaddr + RX_MODE) & 0x40) == 0x40) |
inb | 565 | drivers/net/at1700.c | dev->name, inb(ioaddr + RX_MODE), i); |
inb | 166 | drivers/net/atp.c | if (inb(ioaddr + PAR_DATA) != 0x57) |
inb | 182 | drivers/net/atp.c | saved_ctrl_reg = inb(ioaddr + PAR_CONTROL); |
inb | 426 | drivers/net/atp.c | inb(ioaddr + PAR_CONTROL) & 0x10 ? "network cable problem" |
inb | 1620 | drivers/net/de4x5.c | data = inb(aprom_addr); |
inb | 1657 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
inb | 1659 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
inb | 1673 | drivers/net/de4x5.c | chksum = (u_char) inb(EISA_APROM); |
inb | 1674 | drivers/net/de4x5.c | chksum |= (u_short) (inb(EISA_APROM) << 8); |
inb | 315 | drivers/net/de600.c | status = inb(STATUS_PORT); |
inb | 326 | drivers/net/de600.c | lo = ((unsigned char)inb(STATUS_PORT)) >> 4; |
inb | 328 | drivers/net/de600.c | return ((unsigned char)inb(STATUS_PORT) & (unsigned char)0xf0) | lo; |
inb | 224 | drivers/net/de620.c | #define de620_tx_buffs() (inb(STATUS_PORT) & (TXBF0 | TXBF1)) |
inb | 237 | drivers/net/de620.c | while ((((value = inb(STATUS_PORT)) & READY) == 0) && (cnt <= 1000)) |
inb | 344 | drivers/net/de620.c | value = inb(STATUS_PORT) & 0xf0; /* High nibble */ |
inb | 346 | drivers/net/de620.c | *data++ = value | inb(STATUS_PORT) >> 4; /* Low nibble */ |
inb | 422 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 474 | drivers/net/depca.c | printk("%2.2x:", dev->dev_addr[i] = inb(DEPCA_PROM + j)); |
inb | 476 | drivers/net/depca.c | printk("%2.2x", dev->dev_addr[i] = inb(DEPCA_PROM + j)); |
inb | 479 | drivers/net/depca.c | j=inb(DEPCA_PROM); |
inb | 692 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 762 | drivers/net/depca.c | printk("nicsr: 0x%02x\n",inb(DEPCA_NICSR)); |
inb | 976 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1170 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1472 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* clear counter */ |
inb | 1473 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* read data */ |
inb | 1479 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1514 | drivers/net/depca.c | data = inb(DEPCA_PROM); |
inb | 73 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
inb | 79 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
inb | 137 | drivers/net/e2100.c | if (inb(ioaddr + E21_SAPROM + 0) != 0x00 |
inb | 138 | drivers/net/e2100.c | || inb(ioaddr + E21_SAPROM + 1) != 0x00 |
inb | 139 | drivers/net/e2100.c | || inb(ioaddr + E21_SAPROM + 2) != 0x1d) |
inb | 145 | drivers/net/e2100.c | status = inb(ioaddr); |
inb | 154 | drivers/net/e2100.c | station_addr[i] = inb(ioaddr + E21_SAPROM + i); |
inb | 156 | drivers/net/e2100.c | inb(ioaddr + E21_MEDIA); /* Point to media selection. */ |
inb | 195 | drivers/net/e2100.c | inb(ioaddr + E21_MEDIA); /* Turn automatic media detection on. */ |
inb | 197 | drivers/net/e2100.c | if (station_addr[i] != inb(ioaddr + E21_SAPROM + 8 + i)) { |
inb | 243 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_LOW); |
inb | 245 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_HIGH); /* High IRQ bit, and if_port. */ |
inb | 248 | drivers/net/e2100.c | inb(ioaddr + E21_MEM_BASE); |
inb | 321 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_LOW); |
inb | 323 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_HIGH); /* High IRQ bit, and if_port. */ |
inb | 329 | drivers/net/eexpress.c | sum += inb(id_addr); |
inb | 333 | drivers/net/eexpress.c | short id_val = inb(id_addr); |
inb | 741 | drivers/net/eexpress.c | retval = (retval << 1) | ((inb(ee_addr) & EE_DATA_READ) ? 1 : 0); |
inb | 762 | drivers/net/eexpress.c | outb(inb(ioaddr + Config) | 0x02, ioaddr + Config); |
inb | 805 | drivers/net/eexpress.c | outb(inb(ioaddr + Config) & ~0x02, ioaddr + Config); |
inb | 238 | drivers/net/ewrk3.c | icr = inb(EWRK3_ICR);\ |
inb | 246 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR);\ |
inb | 337 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR);\ |
inb | 410 | drivers/net/ewrk3.c | if (iobase > 0x400) eisa_cr = inb(EISA_CR); |
inb | 413 | drivers/net/ewrk3.c | nicsr = inb(EWRK3_CSR); |
inb | 455 | drivers/net/ewrk3.c | cmr = inb(EWRK3_CMR); |
inb | 482 | drivers/net/ewrk3.c | printk("%2.2x:", dev->dev_addr[i] = inb(EWRK3_APROM)); |
inb | 485 | drivers/net/ewrk3.c | printk("%2.2x,\n", dev->dev_addr[i] = inb(EWRK3_APROM)); |
inb | 504 | drivers/net/ewrk3.c | cr = inb(EWRK3_CR); /* Set up the Control Register */ |
inb | 515 | drivers/net/ewrk3.c | mem_start = inb(EWRK3_MBR); |
inb | 687 | drivers/net/ewrk3.c | printk("\t# of DRAMS: %d\n",((inb(EWRK3_CMR) & 0x02) ? 2 : 1)); |
inb | 688 | drivers/net/ewrk3.c | printk("\tcsr: 0x%02x\n", inb(EWRK3_CSR)); |
inb | 689 | drivers/net/ewrk3.c | printk("\tcr: 0x%02x\n", inb(EWRK3_CR)); |
inb | 690 | drivers/net/ewrk3.c | printk("\ticr: 0x%02x\n", inb(EWRK3_ICR)); |
inb | 691 | drivers/net/ewrk3.c | printk("\tcmr: 0x%02x\n", inb(EWRK3_CMR)); |
inb | 692 | drivers/net/ewrk3.c | printk("\tfmqc: 0x%02x\n", inb(EWRK3_FMQC)); |
inb | 702 | drivers/net/ewrk3.c | icr = inb(EWRK3_ICR); |
inb | 739 | drivers/net/ewrk3.c | while (inb(EWRK3_TQ)); |
inb | 740 | drivers/net/ewrk3.c | while (inb(EWRK3_TDQ)); |
inb | 741 | drivers/net/ewrk3.c | while (inb(EWRK3_RQ)); |
inb | 742 | drivers/net/ewrk3.c | while (inb(EWRK3_FMQ)); |
inb | 774 | drivers/net/ewrk3.c | dev->name, inb(EWRK3_CSR)); |
inb | 812 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC) > 0) { |
inb | 816 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_FMQ)) < lp->mPage) { |
inb | 891 | drivers/net/ewrk3.c | printk("ewrk3_queue_pkt(): CSR: %02x ICR: %02x FMQC: %02x\n",inb(EWRK3_CSR),inb(EWRK3_ICR),inb(EWRK3_FMQC)); |
inb | 895 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC) > 0) { |
inb | 928 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 935 | drivers/net/ewrk3.c | cr = inb(EWRK3_CR); |
inb | 951 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC)) { /* any resources available? */ |
inb | 981 | drivers/net/ewrk3.c | while (inb(EWRK3_RQC) && !status) { /* Whilst there's incoming data */ |
inb | 982 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_RQ)) < lp->mPage) {/* Get next entry's buffer page */ |
inb | 991 | drivers/net/ewrk3.c | tmpPage = inb(EWRK3_IOPR); |
inb | 993 | drivers/net/ewrk3.c | tmpPage = inb(EWRK3_MPR); |
inb | 1021 | drivers/net/ewrk3.c | rx_status = inb(EWRK3_DATA); |
inb | 1022 | drivers/net/ewrk3.c | pkt_len = inb(EWRK3_DATA); |
inb | 1023 | drivers/net/ewrk3.c | pkt_len |= ((unsigned short)inb(EWRK3_DATA) << 8); |
inb | 1045 | drivers/net/ewrk3.c | *p = inb(EWRK3_DATA); /* dummy read */ |
inb | 1047 | drivers/net/ewrk3.c | *p++ = inb(EWRK3_DATA); |
inb | 1107 | drivers/net/ewrk3.c | printk("ewrk3_rx(): CSR: %02x ICR: %02x FMQC: %02x\n",inb(EWRK3_CSR),inb(EWRK3_ICR),inb(EWRK3_FMQC)); |
inb | 1123 | drivers/net/ewrk3.c | while ((tx_status = inb(EWRK3_TDQ)) > 0) { /* Whilst there's old buffers */ |
inb | 1163 | drivers/net/ewrk3.c | dev->name, inb(EWRK3_CSR)); |
inb | 1179 | drivers/net/ewrk3.c | while (inb(EWRK3_TQ)); |
inb | 1180 | drivers/net/ewrk3.c | while (inb(EWRK3_TDQ)); |
inb | 1181 | drivers/net/ewrk3.c | while (inb(EWRK3_RQ)); |
inb | 1221 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1310 | drivers/net/ewrk3.c | tmp = inb(EWRK3_DATA); |
inb | 1463 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1476 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1480 | drivers/net/ewrk3.c | for (i=0;i<75000;i++) inb(EWRK3_CSR); /* wait 15msec */ |
inb | 1482 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1558 | drivers/net/ewrk3.c | data = inb(EWRK3_APROM); |
inb | 1583 | drivers/net/ewrk3.c | for (sd=inb(EWRK3_PAR0+j), k=0; k<8; k++, sd >>= 1) { |
inb | 1597 | drivers/net/ewrk3.c | chksum = inb(EWRK3_APROM); |
inb | 1598 | drivers/net/ewrk3.c | chksum |= (inb(EWRK3_APROM)<<8); |
inb | 1631 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1650 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1661 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1679 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
inb | 1711 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1738 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
inb | 1757 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
inb | 1759 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
inb | 1780 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CMR); |
inb | 164 | drivers/net/hp-plus.c | unsigned char inval = inb(ioaddr + 8 + i); |
inb | 169 | drivers/net/hp-plus.c | checksum += inb(ioaddr + 14); |
inb | 186 | drivers/net/hp-plus.c | int irq = inb(ioaddr + 13) & 0x0f; |
inb | 108 | drivers/net/hp.c | if (inb(ioaddr) != 0x08 |
inb | 109 | drivers/net/hp.c | || inb(ioaddr+1) != 0x00 |
inb | 110 | drivers/net/hp.c | || inb(ioaddr+2) != 0x09 |
inb | 111 | drivers/net/hp.c | || inb(ioaddr+14) == 0x57) |
inb | 116 | drivers/net/hp.c | if ((board_id = inb(ioaddr + HP_ID)) & 0x80) { |
inb | 133 | drivers/net/hp.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 235 | drivers/net/hp.c | buf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++; |
inb | 302 | drivers/net/lance.c | && inb(ioaddr + 14) == 0x57 |
inb | 303 | drivers/net/lance.c | && inb(ioaddr + 15) == 0x57) { |
inb | 332 | drivers/net/lance.c | if ((inb(hp_port) & 0xc0) == 0x80 |
inb | 333 | drivers/net/lance.c | && ioaddr_table[inb(hp_port) & 3] == ioaddr) |
inb | 337 | drivers/net/lance.c | hpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00 |
inb | 338 | drivers/net/lance.c | && inb(ioaddr+2) == 0x09); |
inb | 381 | drivers/net/lance.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 427 | drivers/net/lance.c | unsigned char port_val = inb(hp_builtin); |
inb | 453 | drivers/net/lance.c | dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 454 | drivers/net/lance.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 128 | drivers/net/ne.c | int reg0 = inb(ioaddr); |
inb | 173 | drivers/net/ne.c | SA_prom[i] = inb(ioaddr + NE_DATAPORT); |
inb | 174 | drivers/net/ne.c | SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); |
inb | 341 | drivers/net/ne.c | buf[count-1] = inb(NE_BASE + NE_DATAPORT), xfer_count++; |
inb | 325 | drivers/net/ni52.c | if( (inb(base_addr+NI52_MAGIC1) == NI52_MAGICVAL1) && |
inb | 326 | drivers/net/ni52.c | (inb(base_addr+NI52_MAGIC2) == NI52_MAGICVAL2)) |
inb | 335 | drivers/net/ni52.c | if( !(inb(ioaddr+NI52_MAGIC1) == NI52_MAGICVAL1) || |
inb | 336 | drivers/net/ni52.c | !(inb(ioaddr+NI52_MAGIC2) == NI52_MAGICVAL2)) |
inb | 354 | drivers/net/ni52.c | dev->dev_addr[i] = inb(dev->base_addr+i); |
inb | 193 | drivers/net/ni65.c | if( !(inb(ioaddr+L_EBASE+6) == CARD_ID0) || |
inb | 194 | drivers/net/ni65.c | !(inb(ioaddr+L_EBASE+7) == CARD_ID1) ) |
inb | 213 | drivers/net/ni65.c | station_addr[i] = dev->dev_addr[i] = inb(PORT+L_EBASE+i); |
inb | 201 | drivers/net/plip.c | if (inb(PAR_DATA(dev)) != 0) |
inb | 355 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 373 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 421 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 424 | drivers/net/plip.c | c1 = inb(status_addr); |
inb | 438 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 441 | drivers/net/plip.c | c1 = inb(status_addr); |
inb | 592 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 606 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 653 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 742 | drivers/net/plip.c | status = inb(PAR_STATUS(dev)); |
inb | 777 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 202 | drivers/net/sk_g16.c | #define SK_ROM_ON (inb(SK_POS2) & POS2_CARD) |
inb | 203 | drivers/net/sk_g16.c | #define SK_ROM_OFF (inb(SK_POS2) | POS2_EPROM) |
inb | 204 | drivers/net/sk_g16.c | #define SK_RAM_ON (inb(SK_POS2) | POS2_CARD) |
inb | 205 | drivers/net/sk_g16.c | #define SK_RAM_OFF (inb(SK_POS2) & POS2_EPROM) |
inb | 567 | drivers/net/sk_g16.c | if ( (inb(SK_POS0) == SK_IDLOW) || |
inb | 568 | drivers/net/sk_g16.c | (inb(SK_POS1) == SK_IDHIGH) ) |
inb | 595 | drivers/net/sk_g16.c | if ( !(inb(SK_POS0) == SK_IDLOW) || |
inb | 596 | drivers/net/sk_g16.c | !(inb(SK_POS1) == SK_IDHIGH) ) |
inb | 2006 | drivers/net/sk_g16.c | unsigned char pos0 = inb(SK_POS0), |
inb | 2007 | drivers/net/sk_g16.c | pos1 = inb(SK_POS1), |
inb | 2008 | drivers/net/sk_g16.c | pos2 = inb(SK_POS2), |
inb | 2009 | drivers/net/sk_g16.c | pos3 = inb(SK_POS3), |
inb | 2010 | drivers/net/sk_g16.c | pos4 = inb(SK_POS4); |
inb | 159 | drivers/net/skeleton.c | if (inb(ioaddr + 0) != SA_ADDR0 |
inb | 160 | drivers/net/skeleton.c | || inb(ioaddr + 1) != SA_ADDR1 |
inb | 161 | drivers/net/skeleton.c | || inb(ioaddr + 2) != SA_ADDR2) { |
inb | 179 | drivers/net/skeleton.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 223 | drivers/net/skeleton.c | dma_status = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 224 | drivers/net/skeleton.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 228 | drivers/net/skeleton.c | new_dma_status = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 229 | drivers/net/skeleton.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 118 | drivers/net/smc-ultra.c | unsigned char idreg = inb(ioaddr + 7); |
inb | 119 | drivers/net/smc-ultra.c | unsigned char reg4 = inb(ioaddr + 4) & 0x7f; |
inb | 130 | drivers/net/smc-ultra.c | checksum += inb(ioaddr + 8 + i); |
inb | 142 | drivers/net/smc-ultra.c | printk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i)); |
inb | 149 | drivers/net/smc-ultra.c | outb(0x80 | inb(ioaddr + 0x0c), ioaddr + 0x0c); |
inb | 150 | drivers/net/smc-ultra.c | irqreg = inb(ioaddr + 0xd); |
inb | 151 | drivers/net/smc-ultra.c | addr = inb(ioaddr + 0xb); |
inb | 246 | drivers/net/wavelan.c | *b++ = inb(PIOP2(ioaddr)); |
inb | 109 | drivers/net/wd.c | checksum += inb(ioaddr + 8 + i); |
inb | 110 | drivers/net/wd.c | if (inb(ioaddr + 8) == 0xff /* Extra check to avoid soundcard. */ |
inb | 111 | drivers/net/wd.c | || inb(ioaddr + 9) == 0xff |
inb | 120 | drivers/net/wd.c | printk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i)); |
inb | 127 | drivers/net/wd.c | if (inb(ioaddr+0) == 'P' && inb(ioaddr+1) == 'D') { |
inb | 128 | drivers/net/wd.c | unsigned char reg5 = inb(ioaddr+5); |
inb | 130 | drivers/net/wd.c | switch (inb(ioaddr+2)) { |
inb | 147 | drivers/net/wd.c | if (inb(ioaddr+i) != inb(ioaddr+8+i)) |
inb | 154 | drivers/net/wd.c | int tmp = inb(ioaddr+1); /* fiddle with 16bit bit */ |
inb | 156 | drivers/net/wd.c | if (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card */ |
inb | 158 | drivers/net/wd.c | int asic_reg5 = inb(ioaddr+WD_CMDREG5); |
inb | 171 | drivers/net/wd.c | if ( !ancient && (inb(ioaddr+1) & 0x01) != (word16 & 0x01)) |
inb | 173 | drivers/net/wd.c | word16 ? 16 : 8, (inb(ioaddr+1) & 0x01) ? 16 : 8); |
inb | 183 | drivers/net/wd.c | int reg0 = inb(ioaddr); |
inb | 189 | drivers/net/wd.c | int high_addr_bits = inb(ioaddr+WD_CMDREG5) & 0x1f; |
inb | 203 | drivers/net/wd.c | int reg1 = inb(ioaddr+1); |
inb | 204 | drivers/net/wd.c | int reg4 = inb(ioaddr+4); |
inb | 267 | drivers/net/wd.c | if (inb(ioaddr+14) & 0x20) |
inb | 268 | drivers/net/wd.c | outb(inb(ioaddr+4)|0x80, ioaddr+4); |
inb | 295 | drivers/net/znet.c | outb(inb(0xe7) | 0x84, 0xe7); /* Turn on LAN power (bit 2). */ |
inb | 305 | drivers/net/znet.c | if (inb(ioaddr) != 0x10 && inb(ioaddr) != 0x00) |
inb | 330 | drivers/net/znet.c | outb(CMD0_STAT0, ioaddr); event = inb(ioaddr); |
inb | 333 | drivers/net/znet.c | outb(CMD0_STAT3, ioaddr); state = inb(ioaddr); |
inb | 367 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
inb | 368 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
inb | 421 | drivers/net/znet.c | ushort status = inb(ioaddr); |
inb | 429 | drivers/net/znet.c | running = inb(ioaddr); |
inb | 622 | drivers/net/znet.c | outb(inb(0xe7) & ~0x84, 0xe7); /* Turn on LAN power (bit 2). */ |
inb | 684 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
inb | 685 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
inb | 724 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 729 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 734 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 736 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 1266 | drivers/scsi/53c7,8xx.h | inb(NCR53c7x0_address_io + (address))) |
inb | 320 | drivers/scsi/aha152x.h | inb( PORT ) |
inb | 326 | drivers/scsi/aha152x.h | outb( (inb(PORT) | (BITS)), (PORT) ) |
inb | 329 | drivers/scsi/aha152x.h | outb( (inb(PORT) & ~(BITS)), (PORT) ) |
inb | 332 | drivers/scsi/aha152x.h | outb( (inb(PORT) & ~(CLR)) | (SET) , (PORT) ) |
inb | 335 | drivers/scsi/aha152x.h | ((inb(PORT) & (BITS)) == BITS) |
inb | 338 | drivers/scsi/aha152x.h | ((inb(PORT) & (BITS)) == 0) |
inb | 123 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
inb | 136 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
inb | 163 | drivers/scsi/aha1542.c | if(inb(STATUS(base)) & CDF) {restore_flags(flags); continue;} |
inb | 196 | drivers/scsi/aha1542.c | *cmdp++ = inb(DATA(base)); |
inb | 218 | drivers/scsi/aha1542.c | *cmdp++ = inb(DATA(base)); |
inb | 293 | drivers/scsi/aha1542.c | if(inb(STATUS(bse)) == 0xff) return 0; |
inb | 313 | drivers/scsi/aha1542.c | if (inb(INTRFLAGS(bse))&INTRMASK) goto fail; |
inb | 328 | drivers/scsi/aha1542.c | *cmdp++ = inb(DATA(bse)); |
inb | 333 | drivers/scsi/aha1542.c | if (inb(STATUS(bse)) & DF) goto fail; |
inb | 373 | drivers/scsi/aha1542.c | flag = inb(INTRFLAGS(shost->io_port)); |
inb | 380 | drivers/scsi/aha1542.c | printk("status %02x\n", inb(STATUS(shost->io_port))); |
inb | 387 | drivers/scsi/aha1542.c | flag = inb(INTRFLAGS(shost->io_port)); |
inb | 720 | drivers/scsi/aha1542.c | i = inb(STATUS(base_io)); |
inb | 722 | drivers/scsi/aha1542.c | i = inb(DATA(base_io)); |
inb | 820 | drivers/scsi/aha1542.c | i = inb(STATUS(base_io)); |
inb | 822 | drivers/scsi/aha1542.c | i = inb(DATA(base_io)); |
inb | 1106 | drivers/scsi/aha1542.c | inb(STATUS(SCpnt->host->io_port)), |
inb | 1107 | drivers/scsi/aha1542.c | inb(INTRFLAGS(SCpnt->host->io_port))); |
inb | 139 | drivers/scsi/aha1740.c | name[0]= 'A' -1 + ((tmp = inb(HID0)) >> 2); /* First character */ |
inb | 141 | drivers/scsi/aha1740.c | name[1]+= ((tmp = inb(HID1)) >> 5)&0x7; /* Second Character */ |
inb | 144 | drivers/scsi/aha1740.c | tmp = inb(HID2); |
inb | 145 | drivers/scsi/aha1740.c | if ( strcmp ( name, HID_MFG ) || inb(HID2) != HID_PRD ) |
inb | 152 | drivers/scsi/aha1740.c | if ( inb(EBCNTRL) != EBCNTRL_VALUE ) |
inb | 155 | drivers/scsi/aha1740.c | inb(EBCNTRL)); |
inb | 159 | drivers/scsi/aha1740.c | if ( inb(PORTADR) & PORTADDR_ENH ) |
inb | 177 | drivers/scsi/aha1740.c | while(inb(G2STAT) & G2STAT_INTPEND) |
inb | 180 | drivers/scsi/aha1740.c | adapstat = inb(G2INTST); |
inb | 188 | drivers/scsi/aha1740.c | ecbptr = (struct ecb *) ( ((ulong) inb(MBOXIN0)) + |
inb | 189 | drivers/scsi/aha1740.c | ((ulong) inb(MBOXIN1) <<8) + |
inb | 190 | drivers/scsi/aha1740.c | ((ulong) inb(MBOXIN2) <<16) + |
inb | 191 | drivers/scsi/aha1740.c | ((ulong) inb(MBOXIN3) <<24) ); |
inb | 196 | drivers/scsi/aha1740.c | inb(G2STAT),adapstat,inb(G2INTST),number_serviced++); |
inb | 203 | drivers/scsi/aha1740.c | inb(G2STAT),adapstat,inb(G2INTST),number_serviced++); |
inb | 231 | drivers/scsi/aha1740.c | inb(MBOXIN0),inb(MBOXIN1),inb(MBOXIN2),inb(MBOXIN3)); /* Say What? */ |
inb | 382 | drivers/scsi/aha1740.c | if ( ! (inb(G2STAT) & G2STAT_MBXOUT) ) |
inb | 387 | drivers/scsi/aha1740.c | while ( ! (inb(G2STAT) & G2STAT_MBXOUT) ); /* Oh Well. */ |
inb | 393 | drivers/scsi/aha1740.c | if ( inb(G2STAT) & G2STAT_BUSY ) |
inb | 398 | drivers/scsi/aha1740.c | while ( inb(G2STAT) & G2STAT_BUSY ); /* And Again! */ |
inb | 434 | drivers/scsi/aha1740.c | irq_level = intab [ inb(INTDEF)&0x7 ]; |
inb | 458 | drivers/scsi/aha1740.c | if ( (inb(G2STAT) & (G2STAT_MBXOUT | G2STAT_BUSY) ) != G2STAT_MBXOUT ) |
inb | 254 | drivers/scsi/aha274x.c | ioport2 = inb(HA_HOSTCONF(base)); |
inb | 255 | drivers/scsi/aha274x.c | ioport3 = inb(HA_SCSICONF(base)); |
inb | 256 | drivers/scsi/aha274x.c | ioport4 = inb(HA_INTDEF(base)); |
inb | 289 | drivers/scsi/aha274x.c | int target = inb(O_SCSIID(base)) >> 4; |
inb | 431 | drivers/scsi/aha274x.c | while ((inb(O_HCNTRL(p->base)) & 0x4) == 0) \ |
inb | 475 | drivers/scsi/aha274x.c | outb(inb(O_HCNTRL(p->base)) ^ 0x8, O_HCNTRL(p->base)); |
inb | 483 | drivers/scsi/aha274x.c | intstat = inb(O_INTSTAT(base)); |
inb | 488 | drivers/scsi/aha274x.c | inb(O_ERROR(base)), inw(O_SEQADDR(base))); |
inb | 493 | drivers/scsi/aha274x.c | int scbptr = inb(O_SCBPTR(base)); |
inb | 494 | drivers/scsi/aha274x.c | int status = inb(O_SSTAT1(base)); |
inb | 599 | drivers/scsi/aha274x.c | complete = inb(O_QOUTFIFO(base)); |
inb | 621 | drivers/scsi/aha274x.c | old_scbptr = inb(O_SCBPTR(base)); |
inb | 667 | drivers/scsi/aha274x.c | } while (inb(O_QOUTCNT(base))); |
inb | 688 | drivers/scsi/aha274x.c | inb(HA_REJBYTE(base))); |
inb | 693 | drivers/scsi/aha274x.c | (inb(O_SELID(base)) >> 4) & 0xf); |
inb | 697 | drivers/scsi/aha274x.c | (inb(O_SELID(base)) >> 4) & 0xf); |
inb | 700 | drivers/scsi/aha274x.c | transfer = inb(HA_ARG_1(base)); |
inb | 701 | drivers/scsi/aha274x.c | offset = inb(HA_ARG_2(base)); |
inb | 709 | drivers/scsi/aha274x.c | intstat, inb(O_SCSISIGI(base))); |
inb | 759 | drivers/scsi/aha274x.c | buf[i] = inb(s_base + i); |
inb | 767 | drivers/scsi/aha274x.c | if (inb(s_base + 4) & 1) |
inb | 788 | drivers/scsi/aha274x.c | switch (inb(O_SBLKCTL(base))) { |
inb | 881 | drivers/scsi/aha274x.c | irq = inb(HA_INTDEF(base)) & 0xf; |
inb | 897 | drivers/scsi/aha274x.c | scsi_id = inb(HA_SCSICONF(base)) & 0x7; |
inb | 1212 | drivers/scsi/aha274x.c | old_scbptr = inb(O_SCBPTR(p->base)); |
inb | 1290 | drivers/scsi/aha274x.c | queued = inb(O_QINCNT(p->base)); |
inb | 1293 | drivers/scsi/aha274x.c | scbsave[i] = inb(O_QINFIFO(p->base)); |
inb | 1315 | drivers/scsi/aha274x.c | if (inb(O_SCBPTR(p->base)) != scb) { |
inb | 1327 | drivers/scsi/aha274x.c | if (inb(HA_MSG_FLAGS(p->base)) & 0x80) { |
inb | 1342 | drivers/scsi/aha274x.c | outb(inb(HA_SIGSTATE(p->base)) | 0x10, O_SCSISIGO(p->base)); |
inb | 219 | drivers/scsi/buslogic.c | bits = inb(port); |
inb | 236 | drivers/scsi/buslogic.c | int s = inb(STATUS(base)), i = inb(INTERRUPT(base)); |
inb | 255 | drivers/scsi/buslogic.c | if (!(inb(STATUS(base)) & CPRBSY)) { |
inb | 290 | drivers/scsi/buslogic.c | *cmdp++ = inb(DATA_IN(base)); |
inb | 451 | drivers/scsi/buslogic.c | flag = inb(INTERRUPT(base)); |
inb | 464 | drivers/scsi/buslogic.c | printk("status %02X\n", inb(STATUS(base))); |
inb | 471 | drivers/scsi/buslogic.c | flag = inb(INTERRUPT(base)); |
inb | 873 | drivers/scsi/buslogic.c | i = inb(STATUS(base)); |
inb | 875 | drivers/scsi/buslogic.c | i = inb(DATA_IN(base)); |
inb | 918 | drivers/scsi/buslogic.c | if (inb(STATUS(base)) & CMDINV) |
inb | 984 | drivers/scsi/buslogic.c | if (inb(STATUS(base)) == 0xFF) |
inb | 988 | drivers/scsi/buslogic.c | geo = inb(GEOMETRY(base)); |
inb | 1012 | drivers/scsi/buslogic.c | if (inb(INTERRUPT(base)) & INTRMASK) |
inb | 1024 | drivers/scsi/buslogic.c | if (inb(STATUS(base)) & DIRRDY) |
inb | 1391 | drivers/scsi/buslogic.c | inb(STATUS(scpnt->host->io_port)), |
inb | 1392 | drivers/scsi/buslogic.c | inb(INTERRUPT(scpnt->host->io_port))); |
inb | 302 | drivers/scsi/eata.c | while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) |
inb | 329 | drivers/scsi/eata.c | while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) |
inb | 855 | drivers/scsi/eata.c | while (inb(sh[j]->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) { |
inb | 863 | drivers/scsi/eata.c | inb(sh[j]->io_port + REG_STATUS); |
inb | 135 | drivers/scsi/eata_dma.c | if (!(inb((uint)sh->base + HA_RAUXSTAT) & HA_AIRQ)) |
inb | 151 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 163 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 170 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 251 | drivers/scsi/eata_dma.c | while (inb(base + HA_RAUXSTAT) & HA_ABUSY) |
inb | 424 | drivers/scsi/eata_dma.c | while (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 478 | drivers/scsi/eata_dma.c | while (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 513 | drivers/scsi/eata_dma.c | inb((uint) (cmd->host->base) + HA_RSTATUS); /* This might cause trouble */ |
inb | 592 | drivers/scsi/eata_dma.c | while (!(inb(base + HA_RAUXSTAT) & HA_AIRQ)); |
inb | 593 | drivers/scsi/eata_dma.c | if(inb((uint) base + HA_RSTATUS) & 1) |
inb | 628 | drivers/scsi/eata_dma.c | while (inb((uint) base + HA_RSTATUS) & HA_SBUSY) |
inb | 638 | drivers/scsi/eata_dma.c | while (!(inb((uint) base + HA_RSTATUS) & HA_SDRQ)) |
inb | 644 | drivers/scsi/eata_dma.c | if (!(inb((uint) base + HA_RSTATUS) & HA_SERROR)) { /* Error ? */ |
inb | 654 | drivers/scsi/eata_dma.c | while (inb((uint) base + HA_RSTATUS) & HA_SDRQ) |
inb | 977 | drivers/scsi/eata_dma.c | if ((inb(base) == 0x12) && (inb(base + 1) == 0x14)) |
inb | 443 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
inb | 452 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
inb | 453 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
inb | 454 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
inb | 457 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
inb | 468 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x80 == 0x80) { |
inb | 470 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x80 == 0x00) { |
inb | 481 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
inb | 495 | drivers/scsi/fdomain.c | options = inb( port + Configuration1 ); |
inb | 524 | drivers/scsi/fdomain.c | result = inb( port_base + Read_Loopback ); |
inb | 827 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 862 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); /* Read adapter status */ |
inb | 942 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 964 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 992 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1019 | drivers/scsi/fdomain.c | current_SC->SCp.Status = inb( Read_SCSI_Data_port ); |
inb | 1036 | drivers/scsi/fdomain.c | current_SC->SCp.Message = inb( Read_SCSI_Data_port ); |
inb | 1259 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
inb | 1442 | drivers/scsi/fdomain.c | imr = (inb( 0x0a1 ) << 8) + inb( 0x21 ); |
inb | 1444 | drivers/scsi/fdomain.c | irr = inb( 0xa0 ) << 8; |
inb | 1446 | drivers/scsi/fdomain.c | irr += inb( 0x20 ); |
inb | 1448 | drivers/scsi/fdomain.c | isr = inb( 0xa0 ) << 8; |
inb | 1450 | drivers/scsi/fdomain.c | isr += inb( 0x20 ); |
inb | 1458 | drivers/scsi/fdomain.c | printk( "SCSI Status = 0x%02x\n", inb( SCSI_Status_port ) ); |
inb | 1459 | drivers/scsi/fdomain.c | printk( "TMC Status = 0x%02x", inb( TMC_Status_port ) ); |
inb | 1460 | drivers/scsi/fdomain.c | if (inb( TMC_Status_port & 1)) |
inb | 1463 | drivers/scsi/fdomain.c | printk( "Interrupt Status = 0x%02x", inb( Interrupt_Status_port ) ); |
inb | 1464 | drivers/scsi/fdomain.c | if (inb( Interrupt_Status_port ) & 0x08) |
inb | 1468 | drivers/scsi/fdomain.c | printk( "FIFO Status = 0x%02x\n", inb( port_base + FIFO_Status ) ); |
inb | 1470 | drivers/scsi/fdomain.c | inb( port_base + Interrupt_Cond ) ); |
inb | 1472 | drivers/scsi/fdomain.c | printk( "Configuration 1 = 0x%02x\n", inb( port_base + Configuration1 ) ); |
inb | 1475 | drivers/scsi/fdomain.c | inb( port_base + Configuration2 ) ); |
inb | 73 | drivers/scsi/g_NCR5380.h | #define NCR5380_read(reg) (inb(port + (reg))) |
inb | 133 | drivers/scsi/in2000.c | tmp = inb(INFLED); |
inb | 139 | drivers/scsi/in2000.c | tmp = inb(INVERS); |
inb | 161 | drivers/scsi/in2000.c | if(inb(INSTAT) & 0x20) return 0xffffff; /* not readable now */ |
inb | 163 | drivers/scsi/in2000.c | total = (inb(INDATA) & 0xff) << 16; |
inb | 165 | drivers/scsi/in2000.c | total += (inb(INDATA) & 0xff) << 8; |
inb | 167 | drivers/scsi/in2000.c | total += (inb(INDATA) & 0xff); |
inb | 182 | drivers/scsi/in2000.c | infcnt = inb(INFCNT)& 0xfe; /* FIFO counter */ |
inb | 202 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && ((infcnt = (inb(INFCNT)) & 0xfe) >= 0x20) ); |
inb | 224 | drivers/scsi/in2000.c | count = inb(INFCNT) & 0xe1; |
inb | 227 | drivers/scsi/in2000.c | count = (fic = inb(INFCNT)) & 0xe1; |
inb | 257 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && (fic = inb(INFCNT)) ); |
inb | 279 | drivers/scsi/in2000.c | DEB(printk("INT:%d %02x %08x\n", in2000_datalen, inb(INFCNT),(unsigned int)in2000_dataptr)); |
inb | 281 | drivers/scsi/in2000.c | if (( (ficmsk & (count = inb(INFCNT))) == 0xfe ) || |
inb | 282 | drivers/scsi/in2000.c | ( (inb(INSTAT) & 0x8c) == 0x80)) |
inb | 284 | drivers/scsi/in2000.c | auxstatus = inb(INSTAT); /* need to save now */ |
inb | 286 | drivers/scsi/in2000.c | scsistatus = inb(INDATA); /* This clears the WD intrpt bit */ |
inb | 288 | drivers/scsi/in2000.c | scsibyte = inb(INDATA); /* Get the scsi status byte */ |
inb | 290 | drivers/scsi/in2000.c | cmdphase = inb(INDATA); |
inb | 469 | drivers/scsi/in2000.c | if ( ! ( inb(INSTAT) & 0xb0 ) ) |
inb | 476 | drivers/scsi/in2000.c | inb(INSTAT); |
inb | 478 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 480 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 481 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 592 | drivers/scsi/in2000.c | tmp = inb(INFLED); |
inb | 614 | drivers/scsi/in2000.c | irq_level = int_tab [ ((~inb(INFLED)>>3)&0x3) ]; |
inb | 630 | drivers/scsi/in2000.c | inb(INDATA); /* free status reg, clear WD intrpt */ |
inb | 669 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 220 | drivers/scsi/pas16.c | tmp = inb( io_port + IO_CONFIG_3 ); |
inb | 266 | drivers/scsi/pas16.c | board_rev = inb( io_port + PCB_CONFIG ); |
inb | 274 | drivers/scsi/pas16.c | tmp = inb( io_port + PCB_CONFIG ); |
inb | 280 | drivers/scsi/pas16.c | if( ( inb( io_port + OPERATION_MODE_1 ) & 0x03 ) != 0x03 ) |
inb | 402 | drivers/scsi/pas16.c | outb( (inb(io_port + IO_CONFIG_3) & 0x0f), io_port + IO_CONFIG_3 ); |
inb | 483 | drivers/scsi/pas16.c | while ( !(inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY) ); |
inb | 487 | drivers/scsi/pas16.c | if ( inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
inb | 515 | drivers/scsi/pas16.c | while ( !((inb(instance->io_port + P_STATUS_REG_OFFSET)) & P_ST_RDY) ); |
inb | 519 | drivers/scsi/pas16.c | if (inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
inb | 164 | drivers/scsi/pas16.h | #define NCR5380_read(reg) ( inb(PAS16_io_port(reg)) ) |
inb | 169 | drivers/scsi/pas16.h | , instance->hostno, (reg), PAS16_io_port(reg))), inb( PAS16_io_port(reg)) ) |
inb | 115 | drivers/scsi/qlogic.c | #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd )) |
inb | 116 | drivers/scsi/qlogic.c | #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | QL_INT_ACTIVE_HIGH , qbase + 0xd )) |
inb | 126 | drivers/scsi/qlogic.c | #define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);} |
inb | 142 | drivers/scsi/qlogic.c | x = inb(qbase + 0xd); |
inb | 160 | drivers/scsi/qlogic.c | if( reqlen >= 128 && (inb( qbase + 8 ) & 2) ) { /* full */ |
inb | 166 | drivers/scsi/qlogic.c | if( (j=inb( qbase + 8 )) & 4 ) { |
inb | 171 | drivers/scsi/qlogic.c | if( reqlen >= 44 && (inb( qbase + 8 ) & 8) ) { /* 1/3 */ |
inb | 182 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 0x10 ) ) { |
inb | 183 | drivers/scsi/qlogic.c | *request++ = inb(qbase + 4); |
inb | 187 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 193 | drivers/scsi/qlogic.c | if( reqlen >= 128 && inb( qbase + 8 ) & 0x10 ) { /* empty */ |
inb | 199 | drivers/scsi/qlogic.c | if( !((j=inb( qbase + 8 )) & 8) ) { |
inb | 204 | drivers/scsi/qlogic.c | if( reqlen >= 40 && !(inb( qbase + 8 ) & 4 ) ) { /* 2/3 */ |
inb | 214 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 2 ) ) { |
inb | 219 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 223 | drivers/scsi/qlogic.c | return inb( qbase + 8 ) & 0xc0; |
inb | 232 | drivers/scsi/qlogic.c | while ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0)); |
inb | 259 | drivers/scsi/qlogic.c | inb(qbase + 5); /* clear interrupts */ |
inb | 260 | drivers/scsi/qlogic.c | if (inb(qbase + 5)) /* if still interrupting */ |
inb | 262 | drivers/scsi/qlogic.c | else if (inb(qbase + 7) & 0x1f) |
inb | 264 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear ints */ |
inb | 268 | drivers/scsi/qlogic.c | inb(qbase + 8); /* clear int bits */ |
inb | 315 | drivers/scsi/qlogic.c | j = inb(qbase + 6); |
inb | 316 | drivers/scsi/qlogic.c | i = inb(qbase + 5); |
inb | 320 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); /* the 0x10 bit can be set after the 0x08 */ |
inb | 332 | drivers/scsi/qlogic.c | printk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f ); |
inb | 337 | drivers/scsi/qlogic.c | if (inb(qbase + 7) & 0x1f) /* if some bytes in fifo */ |
inb | 342 | drivers/scsi/qlogic.c | if (reqlen && !((phase = inb(qbase + 4)) & 6)) { /* data phase */ |
inb | 370 | drivers/scsi/qlogic.c | k = inb(qbase + 5); /* should be 0x10, bus service */ |
inb | 375 | drivers/scsi/qlogic.c | while ( k > jiffies && !qabort && !(inb(qbase + 4) & 6)); /* wait for status phase */ |
inb | 380 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear pending ints */ |
inb | 386 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* get chip irq stat */ |
inb | 387 | drivers/scsi/qlogic.c | j = inb(qbase + 7) & 0x1f; /* and bytes rec'd */ |
inb | 388 | drivers/scsi/qlogic.c | status = inb(qbase + 2); |
inb | 389 | drivers/scsi/qlogic.c | message = inb(qbase + 2); |
inb | 400 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* should be bus service */ |
inb | 402 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); |
inb | 416 | drivers/scsi/qlogic.c | if (!(inb(qbase + 4) & 0x80)) /* false alarm? */ |
inb | 421 | drivers/scsi/qlogic.c | while (i-- && inb(qbase + 5)); /* maybe also ql_zap() */ |
inb | 506 | drivers/scsi/qlogic.c | if ( ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) |
inb | 507 | drivers/scsi/qlogic.c | && ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) ) |
inb | 513 | drivers/scsi/qlogic.c | qltyp = inb(qbase + 0xe) & 0xf8; |
inb | 525 | drivers/scsi/qlogic.c | while( inb( qbase + 0xf ) & 4 ); |
inb | 540 | drivers/scsi/qlogic.c | i &= ~(inb(0x20) | (inb(0xa0) << 8)); /* find IRQ off */ |
inb | 542 | drivers/scsi/qlogic.c | i &= inb(0x20) | (inb(0xa0) << 8); /* find IRQ on */ |
inb | 545 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* purge int */ |
inb | 265 | drivers/scsi/u14-34f.c | while (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED) |
inb | 364 | drivers/scsi/u14-34f.c | if (inb(*port_base + REG_PRODUCT_ID1) != PRODUCT_ID1) return FALSE; |
inb | 366 | drivers/scsi/u14-34f.c | in_byte = inb(*port_base + REG_PRODUCT_ID2); |
inb | 370 | drivers/scsi/u14-34f.c | *(char *)&config_1 = inb(*port_base + REG_CONFIG1); |
inb | 371 | drivers/scsi/u14-34f.c | *(char *)&config_2 = inb(*port_base + REG_CONFIG2); |
inb | 405 | drivers/scsi/u14-34f.c | sys_mask = inb(sh[j]->io_port + REG_SYS_MASK); |
inb | 406 | drivers/scsi/u14-34f.c | lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK); |
inb | 813 | drivers/scsi/u14-34f.c | while (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED) { |
inb | 386 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address)); |
inb | 401 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1); |
inb | 444 | drivers/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(config.port_address + 0)); |
inb | 445 | drivers/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); |
inb | 533 | drivers/scsi/ultrastor.c | if (inb(addr) != US24F_PRODUCT_ID_0 && |
inb | 534 | drivers/scsi/ultrastor.c | inb(addr+1) != US24F_PRODUCT_ID_1 && |
inb | 535 | drivers/scsi/ultrastor.c | inb(addr+2) != US24F_PRODUCT_ID_2) |
inb | 538 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
inb | 540 | drivers/scsi/ultrastor.c | if (! (inb(addr+4) & 1)) |
inb | 550 | drivers/scsi/ultrastor.c | config_1 = inb(addr + 5); |
inb | 582 | drivers/scsi/ultrastor.c | config_2 = inb(addr + 7); |
inb | 735 | drivers/scsi/ultrastor.c | while (inb(config.ogm_address - 1) != 0 && |
inb | 740 | drivers/scsi/ultrastor.c | while ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
inb | 750 | drivers/scsi/ultrastor.c | if (inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
inb | 851 | drivers/scsi/ultrastor.c | unsigned char p = inb(port0 + i); |
inb | 858 | drivers/scsi/ultrastor.c | ogm_status = inb(port0 + 22); |
inb | 860 | drivers/scsi/ultrastor.c | icm_status = inb(port0 + 27); |
inb | 868 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) == 2 : |
inb | 869 | drivers/scsi/ultrastor.c | (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
inb | 891 | drivers/scsi/ultrastor.c | if (config.slot && inb(config.ogm_address - 1) == 0) |
inb | 898 | drivers/scsi/ultrastor.c | inb(0xc80); /* delay */ |
inb | 1043 | drivers/scsi/ultrastor.c | unsigned char icm_status = inb(config.icm_address - 1); |
inb | 1136 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) : (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
inb | 551 | drivers/scsi/wd7000.c | WAITbits = inb(port) & (mask); \ |
inb | 574 | drivers/scsi/wd7000.c | } while (inb(host->iobase+ASC_STAT) & CMD_REJ); |
inb | 814 | drivers/scsi/wd7000.c | flag = inb(host->iobase+ASC_INTR_STAT); |
inb | 819 | drivers/scsi/wd7000.c | if (!(inb(host->iobase+ASC_STAT) & INT_IM)) { |
inb | 1000 | drivers/scsi/wd7000.c | if ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1) { |
inb | 1183 | drivers/scsi/wd7000.c | if (inb(host->iobase+ASC_STAT) & INT_IM) { |
inb | 154 | drivers/sound/os.h | #define INB inb |
inb | 221 | drivers/sound/soundcard.c | inb (0x80); |
inb | 24 | include/asm-alpha/dma.h | #define dma_inb inb |
inb | 225 | include/asm-alpha/jensen.h | #define inb_p inb |
inb | 202 | include/asm-alpha/lca.h | #define inb_local inb |
inb | 204 | include/asm-alpha/lca.h | #define inb_p inb |
inb | 20 | include/asm-i386/dma.h | #define dma_inb inb |
inb | 20 | include/asm-mips/dma.h | #define dma_inb inb |
inb | 86 | include/asm-sparc/io.h | #define inb_p inb |
inb | 235 | include/linux/sbpcd.h | #define DRV_ATTN ((inb(CDi_status)&s_attention)!=0) |
inb | 236 | include/linux/sbpcd.h | #define DATA_READY ((inb(CDi_status)&s_not_data_ready)==0) |
inb | 237 | include/linux/sbpcd.h | #define RESULT_READY ((inb(CDi_status)&s_not_result_ready)==0) |
inb | 183 | kernel/time.c | count |= inb(0x40) << 8; |
inb | 188 | kernel/time.c | if (inb(0x20) & 1) |