tag | line | file | source code |
inb | 201 | arch/alpha/kernel/irq.c | printk("61=%02x, 461=%02x\n", inb(0x61), inb(0x461)); |
inb | 216 | arch/alpha/kernel/irq.c | inb(0x64), inb(0x60), inb(0x3fa), inb(0x2fa)); |
inb | 246 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 259 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 272 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 285 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 308 | drivers/block/aztcd.c | { if (!(inb(STATUS_PORT) & AFL_STATUS)) |
inb | 369 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_STATUS) break; |
inb | 370 | drivers/block/aztcd.c | inb(DATA_PORT); /* if status left from last command, read and */ |
inb | 372 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_DATA) break; |
inb | 373 | drivers/block/aztcd.c | inb(DATA_PORT); /* if data left from last command, read and */ |
inb | 378 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 383 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 415 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 420 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 447 | drivers/block/aztcd.c | i = inb(STATUS_PORT) & AFL_STATUS; /* is STEN=0? ???*/ |
inb | 450 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 465 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 859 | drivers/block/aztcd.c | azt_error=inb(DATA_PORT)&0xFF; |
inb | 1021 | drivers/block/aztcd.c | st = inb(STATUS_PORT) & AFL_STATUSorDATA; /*???*/ |
inb | 1146 | drivers/block/aztcd.c | if ( !(inb(STATUS_PORT) & AFL_DATA) ) { |
inb | 1148 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1352 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1353 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1356 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK? If not, reset and try again*/ |
inb | 1359 | drivers/block/aztcd.c | { inb(STATUS_PORT); /*removing all data from earlier tries*/ |
inb | 1360 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1363 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1364 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1367 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK?*/ |
inb | 1388 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1389 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1396 | drivers/block/aztcd.c | result[0]=inb(DATA_PORT); /*reading in a null byte???*/ |
inb | 1399 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT);/*because we want to exit by timeout*/ |
inb | 1404 | drivers/block/aztcd.c | result[count]=inb(DATA_PORT); |
inb | 1505 | 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 | 221 | drivers/block/ide.c | #define IN_BYTE(p,hwif) (byte)inb(IDE_PORT(p,hwif)) |
inb | 390 | 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 | 851 | drivers/block/sbpcd.c | for (i=maxtim_data;i!=0;i--) inb(CDi_status); |
inb | 854 | drivers/block/sbpcd.c | for (i=maxtim02;i!=0;i--) inb(CDi_status); |
inb | 858 | drivers/block/sbpcd.c | for (i=maxtim_data;i!=0;i--) inb(CDi_status); |
inb | 873 | drivers/block/sbpcd.c | inb(CDi_status); |
inb | 887 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 899 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 909 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 935 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 943 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 951 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 959 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 969 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 977 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 1035 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1051 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1065 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1081 | drivers/block/sbpcd.c | i=inb(CDi_info); |
inb | 2339 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 2901 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 3442 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 3498 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 3814 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 3888 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4133 | drivers/block/sbpcd.c | i=inb(SPEA_REG_1); |
inb | 4156 | drivers/block/sbpcd.c | i=(inb(SPEA_REG_2)&0xCF)|n_ports; |
inb | 380 | drivers/block/sonycd535.c | if (((read_status = inb(read_status_reg)) & SONY535_RESULT_NOT_READY_BIT) == 0) { |
inb | 385 | drivers/block/sonycd535.c | *data_ptr = inb(result_reg); |
inb | 634 | drivers/block/sonycd535.c | read_status = inb(read_status_reg); |
inb | 645 | drivers/block/sonycd535.c | *data_buff++ = inb(data_reg); /* unrolling this loop does not seem to help */ |
inb | 1526 | drivers/block/sonycd535.c | inb(select_unit_reg); |
inb | 1530 | drivers/block/sonycd535.c | inb(result_reg); |
inb | 1536 | drivers/block/sonycd535.c | if (inb(result_reg) != 0xff) |
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 | 348 | drivers/char/keyboard.c | scancode = inb(0x60); |
inb | 129 | 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 | 240 | drivers/char/serial.c | return inb(info->port+1); |
inb | 243 | drivers/char/serial.c | return inb(info->port + offset); |
inb | 255 | drivers/char/serial.c | return inb(info->port + offset); |
inb | 522 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 560 | drivers/char/serial.c | info->irq, first_multi, inb(multi->port_monitor)); |
inb | 587 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 609 | drivers/char/serial.c | info->irq, first_multi, inb(multi->port_monitor)); |
inb | 640 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 674 | drivers/char/serial.c | inb(multi->port_monitor)); |
inb | 675 | drivers/char/serial.c | if ((inb(multi->port1) & multi->mask1) != multi->match1) |
inb | 679 | drivers/char/serial.c | if ((inb(multi->port2) & multi->mask2) != multi->match2) |
inb | 683 | drivers/char/serial.c | if ((inb(multi->port3) & multi->mask3) != multi->match3) |
inb | 687 | drivers/char/serial.c | if ((inb(multi->port4) & multi->mask4) == multi->match4) |
inb | 1088 | 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 | 334 | drivers/net/3c503.c | printk("%#lx=%#02x %#lx=%#02x %#lx=%#02x...", E33G_IDCFR, inb(E33G_IDCFR), |
inb | 335 | drivers/net/3c503.c | E33G_CNTRL, inb(E33G_CNTRL), E33G_GACFR, inb(E33G_GACFR)); |
inb | 406 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 450 | 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 | 141 | drivers/net/8390.c | int txsr = inb(e8390_base+EN0_TSR), isr; |
inb | 146 | drivers/net/8390.c | isr = inb(e8390_base+EN0_ISR); |
inb | 345 | 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 | 909 | drivers/net/apricot.c | (void) inb (ioaddr+0x10); |
inb | 598 | drivers/net/arcnet.c | printk("arcnet: status1=%Xh\n",inb(STATUS)); |
inb | 607 | drivers/net/arcnet.c | inb(RESET); |
inb | 611 | drivers/net/arcnet.c | if (inb(STATUS)==0xFF) |
inb | 626 | drivers/net/arcnet.c | curval=initval=inb(COMMAND); |
inb | 629 | drivers/net/arcnet.c | curval=inb(COMMAND); |
inb | 640 | drivers/net/arcnet.c | printk("arcnet: status2=%Xh\n",inb(STATUS)); |
inb | 645 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 649 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 660 | drivers/net/arcnet.c | inb(RESET); |
inb | 664 | drivers/net/arcnet.c | printk("arcnet: status3=%Xh\n",inb(STATUS)); |
inb | 671 | drivers/net/arcnet.c | printk("arcnet: status4=%Xh\n",inb(STATUS)); |
inb | 677 | drivers/net/arcnet.c | inb(RESET); |
inb | 681 | drivers/net/arcnet.c | printk("arcnet: status5=%Xh\n",inb(STATUS)); |
inb | 716 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag on */ |
inb | 723 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 727 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 919 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 927 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 931 | drivers/net/arcnet.c | if (lp->txready && (inb(STATUS)&TXFREEflag)) |
inb | 934 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 983 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1002 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1022 | drivers/net/arcnet.c | if (lp->txready && inb(STATUS)&TXFREEflag) |
inb | 1070 | drivers/net/arcnet.c | if (lp->txready && inb(STATUS)&TXFREEflag) |
inb | 1174 | drivers/net/arcnet.c | while ( !(inb(STATUS)&TXFREEflag) ) |
inb | 1180 | drivers/net/arcnet.c | dev->tbusy,inb(STATUS)); |
inb | 1188 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1297 | drivers/net/arcnet.c | if (daddr && !(inb(STATUS)&TXACKflag)) |
inb | 1301 | drivers/net/arcnet.c | inb(STATUS),daddr); |
inb | 1311 | drivers/net/arcnet.c | if (inb(STATUS)&TXFREEflag) arcnet_go_tx(dev); |
inb | 1324 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1326 | drivers/net/arcnet.c | if (!(inb(STATUS)&TXFREEflag) || !lp->txready) return; |
inb | 1374 | drivers/net/arcnet.c | printk("arcnet: in net_interrupt (status=%Xh)\n",inb(STATUS)); |
inb | 1378 | drivers/net/arcnet.c | status = inb(STATUS); |
inb | 1504 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1541 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1873 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 1936 | drivers/net/arcnet.c | dev->name,inb(STATUS)); |
inb | 1938 | 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 | 1613 | drivers/net/de4x5.c | ticks = inb(TIMER_READ); |
inb | 1614 | drivers/net/de4x5.c | ticks |= (inb(TIMER_READ) << 8); |
inb | 1723 | drivers/net/de4x5.c | data = inb(aprom_addr); |
inb | 1763 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
inb | 1765 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
inb | 1779 | drivers/net/de4x5.c | chksum = (u_char) inb(EISA_APROM); |
inb | 1780 | 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 | 427 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 479 | drivers/net/depca.c | printk("%2.2x:", dev->dev_addr[i] = inb(DEPCA_PROM + j)); |
inb | 481 | drivers/net/depca.c | printk("%2.2x", dev->dev_addr[i] = inb(DEPCA_PROM + j)); |
inb | 484 | drivers/net/depca.c | j=inb(DEPCA_PROM); |
inb | 695 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 765 | drivers/net/depca.c | printk("nicsr: 0x%02x\n",inb(DEPCA_NICSR)); |
inb | 977 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1171 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1476 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* clear counter on DEPCA */ |
inb | 1477 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* read data */ |
inb | 1480 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1490 | drivers/net/depca.c | data = inb(DEPCA_PROM); |
inb | 1524 | drivers/net/depca.c | Eisa.Id[i] = inb(iobase + i); |
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 | 318 | drivers/net/lance.c | && inb(ioaddr + 14) == 0x57 |
inb | 319 | drivers/net/lance.c | && inb(ioaddr + 15) == 0x57) { |
inb | 348 | drivers/net/lance.c | if ((inb(hp_port) & 0xc0) == 0x80 |
inb | 349 | drivers/net/lance.c | && ioaddr_table[inb(hp_port) & 3] == ioaddr) |
inb | 353 | drivers/net/lance.c | hpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00 |
inb | 354 | drivers/net/lance.c | && inb(ioaddr+2) == 0x09); |
inb | 397 | drivers/net/lance.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 443 | drivers/net/lance.c | unsigned char port_val = inb(hp_builtin); |
inb | 469 | drivers/net/lance.c | dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 470 | drivers/net/lance.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 203 | drivers/net/ne.c | SA_prom[i] = inb(ioaddr + NE_DATAPORT); |
inb | 204 | drivers/net/ne.c | SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); |
inb | 380 | drivers/net/ne.c | buf[count-1] = inb(NE_BASE + NE_DATAPORT); |
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 | 216 | drivers/net/plip.c | if (inb(PAR_DATA(dev)) != 0) |
inb | 373 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 391 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 438 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 441 | drivers/net/plip.c | c1 = inb(status_addr); |
inb | 456 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 459 | drivers/net/plip.c | c1 = inb(status_addr); |
inb | 608 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 623 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 670 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 760 | drivers/net/plip.c | status = inb(PAR_STATUS(dev)); |
inb | 795 | 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 | 239 | 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 | 1308 | 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 | 223 | drivers/scsi/buslogic.c | bits = inb(port); |
inb | 240 | drivers/scsi/buslogic.c | int s = inb(STATUS(base)), i = inb(INTERRUPT(base)); |
inb | 259 | drivers/scsi/buslogic.c | if (!(inb(STATUS(base)) & CPRBSY)) { |
inb | 294 | drivers/scsi/buslogic.c | *cmdp++ = inb(DATA_IN(base)); |
inb | 469 | drivers/scsi/buslogic.c | interrupt_flags = inb(INTERRUPT(base)); |
inb | 843 | drivers/scsi/buslogic.c | i = inb(STATUS(base)); |
inb | 845 | drivers/scsi/buslogic.c | i = inb(DATA_IN(base)); |
inb | 888 | drivers/scsi/buslogic.c | if (inb(STATUS(base)) & CMDINV) |
inb | 954 | drivers/scsi/buslogic.c | if (inb(STATUS(base)) == 0xFF) |
inb | 958 | drivers/scsi/buslogic.c | geo = inb(GEOMETRY(base)); |
inb | 982 | drivers/scsi/buslogic.c | if (inb(INTERRUPT(base)) & INTRMASK) |
inb | 994 | drivers/scsi/buslogic.c | if (inb(STATUS(base)) & DIRRDY) |
inb | 1362 | drivers/scsi/buslogic.c | inb(STATUS(scpnt->host->io_port)), |
inb | 1363 | drivers/scsi/buslogic.c | inb(INTERRUPT(scpnt->host->io_port))); |
inb | 321 | drivers/scsi/eata.c | while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) |
inb | 348 | drivers/scsi/eata.c | while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) |
inb | 900 | drivers/scsi/eata.c | while (inb(sh[j]->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) { |
inb | 908 | drivers/scsi/eata.c | inb(sh[j]->io_port + REG_STATUS); |
inb | 111 | drivers/scsi/eata_dma.c | fake_int_result = inb(fake_int_base + HA_RSTATUS); |
inb | 160 | drivers/scsi/eata_dma.c | if (!(inb((uint)sh->base + HA_RAUXSTAT) & HA_AIRQ)) |
inb | 176 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 188 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 195 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 280 | drivers/scsi/eata_dma.c | while (inb(base + HA_RAUXSTAT) & HA_ABUSY) |
inb | 453 | drivers/scsi/eata_dma.c | while (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 507 | drivers/scsi/eata_dma.c | while (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 544 | drivers/scsi/eata_dma.c | inb((uint) (cmd->host->base) + HA_RSTATUS); /* This might cause trouble */ |
inb | 684 | drivers/scsi/eata_dma.c | while (inb((uint) base + HA_RSTATUS) & HA_SBUSY) |
inb | 694 | drivers/scsi/eata_dma.c | while (!(inb((uint) base + HA_RSTATUS) & HA_SDRQ)) |
inb | 700 | drivers/scsi/eata_dma.c | if (!(inb((uint) base + HA_RSTATUS) & HA_SERROR)) { /* Error ? */ |
inb | 710 | drivers/scsi/eata_dma.c | while (inb((uint) base + HA_RSTATUS) & HA_SDRQ) |
inb | 1065 | 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 | 145 | drivers/scsi/qlogic.c | #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd )) |
inb | 146 | drivers/scsi/qlogic.c | #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb6 , qbase + 0xd )) |
inb | 156 | drivers/scsi/qlogic.c | #define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);} |
inb | 172 | drivers/scsi/qlogic.c | x = inb(qbase + 0xd); |
inb | 191 | drivers/scsi/qlogic.c | if( reqlen >= 128 && (inb( qbase + 8 ) & 2) ) { /* full */ |
inb | 197 | drivers/scsi/qlogic.c | if( (j=inb( qbase + 8 )) & 4 ) { |
inb | 202 | drivers/scsi/qlogic.c | if( reqlen >= 44 && (inb( qbase + 8 ) & 8) ) { /* 1/3 */ |
inb | 214 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 0x10 ) ) { |
inb | 215 | drivers/scsi/qlogic.c | *request++ = inb(qbase + 4); |
inb | 219 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 226 | drivers/scsi/qlogic.c | if( reqlen >= 128 && inb( qbase + 8 ) & 0x10 ) { /* empty */ |
inb | 232 | drivers/scsi/qlogic.c | if( !((j=inb( qbase + 8 )) & 8) ) { |
inb | 237 | drivers/scsi/qlogic.c | if( reqlen >= 40 && !(inb( qbase + 8 ) & 4 ) ) { /* 2/3 */ |
inb | 248 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 2 ) ) { |
inb | 253 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 257 | drivers/scsi/qlogic.c | return inb( qbase + 8 ) & 0xc0; |
inb | 266 | drivers/scsi/qlogic.c | while ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0)); |
inb | 293 | drivers/scsi/qlogic.c | inb(qbase + 5); /* clear interrupts */ |
inb | 294 | drivers/scsi/qlogic.c | if (inb(qbase + 5)) /* if still interrupting */ |
inb | 296 | drivers/scsi/qlogic.c | else if (inb(qbase + 7) & 0x1f) |
inb | 298 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear ints */ |
inb | 302 | drivers/scsi/qlogic.c | inb(qbase + 8); /* clear int bits */ |
inb | 338 | drivers/scsi/qlogic.c | j = inb(qbase + 6); |
inb | 339 | drivers/scsi/qlogic.c | i = inb(qbase + 5); |
inb | 343 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); /* the 0x10 bit can be set after the 0x08 */ |
inb | 355 | drivers/scsi/qlogic.c | printk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f ); |
inb | 360 | drivers/scsi/qlogic.c | if (inb(qbase + 7) & 0x1f) /* if some bytes in fifo */ |
inb | 365 | drivers/scsi/qlogic.c | if (reqlen && !((phase = inb(qbase + 4)) & 6)) { /* data phase */ |
inb | 393 | drivers/scsi/qlogic.c | k = inb(qbase + 5); /* should be 0x10, bus service */ |
inb | 397 | drivers/scsi/qlogic.c | while ( k > jiffies && !qabort && !(inb(qbase + 4) & 6)); /* wait for status phase */ |
inb | 402 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear pending ints */ |
inb | 408 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* get chip irq stat */ |
inb | 409 | drivers/scsi/qlogic.c | j = inb(qbase + 7) & 0x1f; /* and bytes rec'd */ |
inb | 410 | drivers/scsi/qlogic.c | status = inb(qbase + 2); |
inb | 411 | drivers/scsi/qlogic.c | message = inb(qbase + 2); |
inb | 422 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* should be bus service */ |
inb | 424 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); |
inb | 438 | drivers/scsi/qlogic.c | if (!(inb(qbase + 4) & 0x80)) /* false alarm? */ |
inb | 443 | drivers/scsi/qlogic.c | while (i-- && inb(qbase + 5)); /* maybe also ql_zap() */ |
inb | 540 | drivers/scsi/qlogic.c | if ( ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) |
inb | 541 | drivers/scsi/qlogic.c | && ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) ) |
inb | 550 | drivers/scsi/qlogic.c | qltyp = inb(qbase + 0xe) & 0xf8; |
inb | 563 | drivers/scsi/qlogic.c | while( inb( qbase + 0xf ) & 4 ); |
inb | 579 | drivers/scsi/qlogic.c | i &= ~(inb(0x20) | (inb(0xa0) << 8)); /* find IRQ off */ |
inb | 581 | drivers/scsi/qlogic.c | i &= inb(0x20) | (inb(0xa0) << 8); /* find IRQ on */ |
inb | 584 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* purge int */ |
inb | 281 | drivers/scsi/u14-34f.c | while (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED) |
inb | 380 | drivers/scsi/u14-34f.c | if (inb(*port_base + REG_PRODUCT_ID1) != PRODUCT_ID1) return FALSE; |
inb | 382 | drivers/scsi/u14-34f.c | in_byte = inb(*port_base + REG_PRODUCT_ID2); |
inb | 386 | drivers/scsi/u14-34f.c | *(char *)&config_1 = inb(*port_base + REG_CONFIG1); |
inb | 387 | drivers/scsi/u14-34f.c | *(char *)&config_2 = inb(*port_base + REG_CONFIG2); |
inb | 432 | drivers/scsi/u14-34f.c | sys_mask = inb(sh[j]->io_port + REG_SYS_MASK); |
inb | 433 | drivers/scsi/u14-34f.c | lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK); |
inb | 843 | 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 | 234 | include/linux/sbpcd.h | #define DRV_ATTN ((inb(CDi_status)&s_attention)!=0) |
inb | 235 | include/linux/sbpcd.h | #define DATA_READY ((inb(CDi_status)&s_not_data_ready)==0) |
inb | 236 | include/linux/sbpcd.h | #define RESULT_READY ((inb(CDi_status)&s_not_result_ready)==0) |
inb | 195 | kernel/time.c | count |= inb(0x40) << 8; |
inb | 200 | kernel/time.c | if (inb(0x20) & 1) |