tag | line | file | source code |
inb | 481 | arch/alpha/kernel/bios32.c | data = inb(0x26f); /* read the current contents */ |
inb | 489 | arch/alpha/kernel/bios32.c | outb(0, 0x26e); data = inb(0x26f); |
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 | 244 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 257 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 270 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 283 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 306 | drivers/block/aztcd.c | { if (!(inb(STATUS_PORT) & AFL_STATUS)) |
inb | 367 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_STATUS) break; |
inb | 368 | drivers/block/aztcd.c | inb(DATA_PORT); /* if status left from last command, read and */ |
inb | 370 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_DATA) break; |
inb | 371 | drivers/block/aztcd.c | inb(DATA_PORT); /* if data left from last command, read and */ |
inb | 376 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 381 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 413 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 418 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 445 | drivers/block/aztcd.c | i = inb(STATUS_PORT) & AFL_STATUS; /* is STEN=0? ???*/ |
inb | 448 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 463 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 857 | drivers/block/aztcd.c | azt_error=inb(DATA_PORT)&0xFF; |
inb | 1019 | drivers/block/aztcd.c | st = inb(STATUS_PORT) & AFL_STATUSorDATA; /*???*/ |
inb | 1144 | drivers/block/aztcd.c | if ( !(inb(STATUS_PORT) & AFL_DATA) ) { |
inb | 1146 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1350 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1351 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1354 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK? If not, reset and try again*/ |
inb | 1357 | drivers/block/aztcd.c | { inb(STATUS_PORT); /*removing all data from earlier tries*/ |
inb | 1358 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1361 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1362 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1365 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK?*/ |
inb | 1386 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1387 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1394 | drivers/block/aztcd.c | result[0]=inb(DATA_PORT); /*reading in a null byte???*/ |
inb | 1397 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT);/*because we want to exit by timeout*/ |
inb | 1402 | drivers/block/aztcd.c | result[count]=inb(DATA_PORT); |
inb | 1503 | 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 | 257 | drivers/block/ide.c | #define IN_BYTE(p,hwif) (byte)inb(IDE_PORT(p,hwif)) |
inb | 433 | 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 | 903 | drivers/block/sbpcd.c | for (i=maxtim_data;i!=0;i--) inb(CDi_status); |
inb | 906 | drivers/block/sbpcd.c | for (i=maxtim02;i!=0;i--) inb(CDi_status); |
inb | 910 | drivers/block/sbpcd.c | for (i=maxtim_data;i!=0;i--) inb(CDi_status); |
inb | 924 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 936 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 946 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 965 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 974 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 983 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1004 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 1012 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 1022 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 1030 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 1034 | drivers/block/sbpcd.c | while (!(inb(CDi_status)&s_not_result_ready)) |
inb | 1036 | drivers/block/sbpcd.c | infobuf[i++]=inb(CDi_info); |
inb | 1164 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1178 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1194 | drivers/block/sbpcd.c | i=inb(CDi_info); |
inb | 1284 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1288 | drivers/block/sbpcd.c | j=inb(CDi_info); |
inb | 1289 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1303 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1313 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_data); |
inb | 1314 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1327 | drivers/block/sbpcd.c | i=inb(CDi_data); |
inb | 1329 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1336 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1343 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_info); |
inb | 1344 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 2951 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 3169 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 3174 | drivers/block/sbpcd.c | i=inb(CDi_info); |
inb | 3301 | drivers/block/sbpcd.c | save_port0=inb(port+0); |
inb | 3302 | drivers/block/sbpcd.c | save_port3=inb(port+3); |
inb | 3314 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3315 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
inb | 3330 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3331 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
inb | 3354 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3355 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
inb | 3371 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3372 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
inb | 3674 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 4201 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4251 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4588 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4624 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4669 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 4676 | drivers/block/sbpcd.c | i=inb(CDi_data); |
inb | 4678 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 4689 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_info); |
inb | 4690 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 4751 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 5030 | drivers/block/sbpcd.c | i=inb(SPEA_REG_1); |
inb | 5052 | drivers/block/sbpcd.c | i=(inb(SPEA_REG_2)&0xCF)|n_ports; |
inb | 397 | drivers/block/sonycd535.c | if (((read_status = inb(read_status_reg)) & SONY535_RESULT_NOT_READY_BIT) == 0) { |
inb | 402 | drivers/block/sonycd535.c | *data_ptr = inb(result_reg); |
inb | 651 | drivers/block/sonycd535.c | read_status = inb(read_status_reg); |
inb | 662 | drivers/block/sonycd535.c | *data_buff++ = inb(data_reg); /* unrolling this loop does not seem to help */ |
inb | 1575 | drivers/block/sonycd535.c | inb(select_unit_reg); |
inb | 1579 | drivers/block/sonycd535.c | inb(result_reg); |
inb | 1585 | 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_user(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 | 490 | drivers/char/psaux.c | while ((inb(AUX_STATUS)&0x03) && retries < MAX_RETRIES) { |
inb | 510 | 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 | 234 | drivers/net/3c501.c | station_addr[i] = inb(ioaddr + EL1_SAPROM); |
inb | 256 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear pending interrupts. */ |
inb | 257 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 347 | drivers/net/3c501.c | dev->name, inb(TX_STATUS), inb(AX_STATUS), inb(RX_STATUS)); |
inb | 386 | drivers/net/3c501.c | inb(RX_STATUS); |
inb | 387 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 434 | drivers/net/3c501.c | axsr = inb(AX_STATUS); |
inb | 450 | drivers/net/3c501.c | int txsr = inb(TX_STATUS); |
inb | 507 | drivers/net/3c501.c | int rxsr = inb(RX_STATUS); |
inb | 509 | drivers/net/3c501.c | printk(" rxsr=%02x txsr=%02x rp=%04x", rxsr, inb(TX_STATUS), |
inb | 540 | drivers/net/3c501.c | inb(RX_STATUS); /* Be certain that interrupts are cleared. */ |
inb | 541 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 621 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear status. */ |
inb | 622 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 668 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear status. */ |
inb | 671 | drivers/net/3c501.c | inb(RX_STATUS); |
inb | 674 | 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 | 138 | drivers/net/3c505.c | return inb(base_addr+PORT_STATUS); |
inb | 144 | drivers/net/3c505.c | return inb(base_addr+PORT_CONTROL); |
inb | 150 | drivers/net/3c505.c | return inb(base_addr+PORT_COMMAND); |
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 | 140 | drivers/net/8390.c | int txsr = inb(e8390_base+EN0_TSR), isr; |
inb | 145 | drivers/net/8390.c | isr = inb(e8390_base+EN0_ISR); |
inb | 336 | 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 | 702 | drivers/net/apricot.c | eth_addr[i] = inb(ioaddr+8+i); |
inb | 910 | drivers/net/apricot.c | (void) inb (ioaddr+0x10); |
inb | 604 | drivers/net/arcnet.c | printk("arcnet: status1=%Xh\n",inb(STATUS)); |
inb | 613 | drivers/net/arcnet.c | inb(RESET); |
inb | 617 | drivers/net/arcnet.c | if (inb(STATUS)==0xFF) |
inb | 632 | drivers/net/arcnet.c | curval=initval=inb(COMMAND); |
inb | 635 | drivers/net/arcnet.c | curval=inb(COMMAND); |
inb | 646 | drivers/net/arcnet.c | printk("arcnet: status2=%Xh\n",inb(STATUS)); |
inb | 651 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 655 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 666 | drivers/net/arcnet.c | inb(RESET); |
inb | 670 | drivers/net/arcnet.c | printk("arcnet: status3=%Xh\n",inb(STATUS)); |
inb | 677 | drivers/net/arcnet.c | printk("arcnet: status4=%Xh\n",inb(STATUS)); |
inb | 683 | drivers/net/arcnet.c | inb(RESET); |
inb | 687 | drivers/net/arcnet.c | printk("arcnet: status5=%Xh\n",inb(STATUS)); |
inb | 722 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag on */ |
inb | 729 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 733 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 925 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 933 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 937 | drivers/net/arcnet.c | if (lp->txready && (inb(STATUS)&TXFREEflag)) |
inb | 940 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 989 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1008 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1028 | drivers/net/arcnet.c | if (lp->txready && inb(STATUS)&TXFREEflag) |
inb | 1076 | drivers/net/arcnet.c | if (lp->txready && inb(STATUS)&TXFREEflag) |
inb | 1180 | drivers/net/arcnet.c | while ( !(inb(STATUS)&TXFREEflag) ) |
inb | 1186 | drivers/net/arcnet.c | dev->tbusy,inb(STATUS)); |
inb | 1194 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1303 | drivers/net/arcnet.c | if (daddr && !(inb(STATUS)&TXACKflag)) |
inb | 1307 | drivers/net/arcnet.c | inb(STATUS),daddr); |
inb | 1317 | drivers/net/arcnet.c | if (inb(STATUS)&TXFREEflag) arcnet_go_tx(dev); |
inb | 1330 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1332 | drivers/net/arcnet.c | if (!(inb(STATUS)&TXFREEflag) || !lp->txready) return; |
inb | 1380 | drivers/net/arcnet.c | printk("arcnet: in net_interrupt (status=%Xh)\n",inb(STATUS)); |
inb | 1384 | drivers/net/arcnet.c | status = inb(STATUS); |
inb | 1510 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1547 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1862 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 1925 | drivers/net/arcnet.c | dev->name,inb(STATUS)); |
inb | 1927 | 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 | 558 | drivers/net/at1700.c | if ((inb(ioaddr + RX_MODE) & 0x40) == 0x40) |
inb | 566 | 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 | 2027 | drivers/net/de4x5.c | data = inb(aprom_addr); |
inb | 2079 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
inb | 2081 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
inb | 2098 | drivers/net/de4x5.c | chksum = (u_char) inb(EISA_APROM); |
inb | 2099 | 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 | 1172 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1477 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* clear counter on DEPCA */ |
inb | 1478 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* read data */ |
inb | 1481 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1491 | drivers/net/depca.c | data = inb(DEPCA_PROM); |
inb | 1525 | 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 | 322 | drivers/net/eepro.c | if (((id=inb(ioaddr + ID_REG)) & ID_REG_MASK) == ID_REG_SIG) { |
inb | 329 | drivers/net/eepro.c | if (((id=inb(ioaddr+ID_REG)) & R_ROBIN_BITS) == |
inb | 363 | drivers/net/eepro.c | id = inb(ioaddr + REG3); |
inb | 454 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 467 | drivers/net/eepro.c | temp_reg = inb(ioaddr + INT_NO_REG); |
inb | 490 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 533 | drivers/net/eepro.c | temp_reg = inb(ioaddr + EEPROM_REG); |
inb | 539 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); /* Setup Transmit Chaining */ |
inb | 543 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG2); /* Match broadcast */ |
inb | 546 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG3); |
inb | 552 | drivers/net/eepro.c | temp_reg = inb(ioaddr + INT_NO_REG); |
inb | 562 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 690 | drivers/net/eepro.c | status = inb(ioaddr + STATUS_REG); |
inb | 736 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 800 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 802 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 809 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 811 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 825 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 827 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 864 | drivers/net/eepro.c | if (inb(ioaddr + STATUS_REG) & 0x08) { |
inb | 865 | drivers/net/eepro.c | i = inb(ioaddr); |
inb | 919 | drivers/net/eepro.c | retval = (retval << 1) | ((inb(ee_addr) & EEDO) ? 1 : 0); |
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 | 1109 | drivers/net/ewrk3.c | printk("ewrk3_rx(): CSR: %02x ICR: %02x FMQC: %02x\n",inb(EWRK3_CSR),inb(EWRK3_ICR),inb(EWRK3_FMQC)); |
inb | 1125 | drivers/net/ewrk3.c | while ((tx_status = inb(EWRK3_TDQ)) > 0) { /* Whilst there's old buffers */ |
inb | 1165 | drivers/net/ewrk3.c | dev->name, inb(EWRK3_CSR)); |
inb | 1181 | drivers/net/ewrk3.c | while (inb(EWRK3_TQ)); |
inb | 1182 | drivers/net/ewrk3.c | while (inb(EWRK3_TDQ)); |
inb | 1183 | drivers/net/ewrk3.c | while (inb(EWRK3_RQ)); |
inb | 1223 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1312 | drivers/net/ewrk3.c | tmp = inb(EWRK3_DATA); |
inb | 1465 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1478 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1482 | drivers/net/ewrk3.c | for (i=0;i<75000;i++) inb(EWRK3_CSR); /* wait 15msec */ |
inb | 1484 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1560 | drivers/net/ewrk3.c | data = inb(EWRK3_APROM); |
inb | 1585 | drivers/net/ewrk3.c | for (sd=inb(EWRK3_PAR0+j), k=0; k<8; k++, sd >>= 1) { |
inb | 1599 | drivers/net/ewrk3.c | chksum = inb(EWRK3_APROM); |
inb | 1600 | drivers/net/ewrk3.c | chksum |= (inb(EWRK3_APROM)<<8); |
inb | 1633 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1652 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1663 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1681 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
inb | 1713 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1740 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
inb | 1759 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
inb | 1761 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
inb | 1782 | 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 | 176 | drivers/net/ibmtr.c | segment = inb(PIOaddr); |
inb | 277 | drivers/net/ibmtr.c | ti->sram=(unsigned char *)((inb(PIOaddr+ADAPTRESETREL) & 0xfe) |
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 | 201 | drivers/net/ne.c | SA_prom[i] = inb(ioaddr + NE_DATAPORT); |
inb | 202 | 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 | 609 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 624 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 671 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 761 | drivers/net/plip.c | status = inb(PAR_STATUS(dev)); |
inb | 796 | 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 | 2007 | drivers/net/sk_g16.c | unsigned char pos0 = inb(SK_POS0), |
inb | 2008 | drivers/net/sk_g16.c | pos1 = inb(SK_POS1), |
inb | 2009 | drivers/net/sk_g16.c | pos2 = inb(SK_POS2), |
inb | 2010 | drivers/net/sk_g16.c | pos3 = inb(SK_POS3), |
inb | 2011 | 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 | 613 | drivers/net/znet.c | outb(inb(0xe7) & ~0x84, 0xe7); /* Turn on LAN power (bit 2). */ |
inb | 675 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
inb | 676 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
inb | 715 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 720 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 725 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 727 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 1329 | 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 | 721 | drivers/scsi/aha1542.c | i = inb(STATUS(base_io)); |
inb | 723 | drivers/scsi/aha1542.c | i = inb(DATA(base_io)); |
inb | 821 | drivers/scsi/aha1542.c | i = inb(STATUS(base_io)); |
inb | 823 | drivers/scsi/aha1542.c | i = inb(DATA(base_io)); |
inb | 1107 | drivers/scsi/aha1542.c | inb(STATUS(SCpnt->host->io_port)), |
inb | 1108 | 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 | 193 | drivers/scsi/aha1740.c | inb(G2STAT),adapstat,inb(G2INTST),number_serviced++); |
inb | 200 | drivers/scsi/aha1740.c | inb(G2STAT),adapstat,inb(G2INTST),number_serviced++); |
inb | 228 | drivers/scsi/aha1740.c | inb(MBOXIN0),inb(MBOXIN1),inb(MBOXIN2),inb(MBOXIN3)); /* Say What? */ |
inb | 378 | drivers/scsi/aha1740.c | if ( ! (inb(G2STAT) & G2STAT_MBXOUT) ) |
inb | 384 | drivers/scsi/aha1740.c | while ( ! (inb(G2STAT) & G2STAT_MBXOUT) ); /* Oh Well. */ |
inb | 386 | drivers/scsi/aha1740.c | if ( inb(G2STAT) & G2STAT_BUSY ) |
inb | 391 | drivers/scsi/aha1740.c | while ( inb(G2STAT) & G2STAT_BUSY ); /* And Again! */ |
inb | 427 | drivers/scsi/aha1740.c | irq_level = intab [ inb(INTDEF)&0x7 ]; |
inb | 428 | drivers/scsi/aha1740.c | outb(inb(INTDEF) | 0x10, INTDEF); |
inb | 452 | drivers/scsi/aha1740.c | if ( (inb(G2STAT) & (G2STAT_MBXOUT | G2STAT_BUSY) ) != G2STAT_MBXOUT ) |
inb | 288 | drivers/scsi/aic7xxx.c | ioport2 = inb(HA_HOSTCONF(p->base)); |
inb | 289 | drivers/scsi/aic7xxx.c | ioport3 = inb(HA_SCSICONF(p->base)); |
inb | 331 | drivers/scsi/aic7xxx.c | int target = inb(O_SCSIID(base)) >> 4; |
inb | 473 | drivers/scsi/aic7xxx.c | while ((inb(O_HCNTRL(p->base)) & 0x4) == 0) \ |
inb | 492 | drivers/scsi/aic7xxx.c | } while (inb(O_SEQADDR(p->base)) != 0 && \ |
inb | 493 | drivers/scsi/aic7xxx.c | inb(O_SEQADDR(p->base) + 1) != 0); \ |
inb | 519 | drivers/scsi/aic7xxx.c | outb(inb(O_HCNTRL(p->base)) ^ 0x8, O_HCNTRL(p->base)); |
inb | 527 | drivers/scsi/aic7xxx.c | intstat = inb(O_INTSTAT(base)); |
inb | 532 | drivers/scsi/aic7xxx.c | inb(O_ERROR(base)), inw(O_SEQADDR(base))); |
inb | 537 | drivers/scsi/aic7xxx.c | int scbptr = inb(O_SCBPTR(base)); |
inb | 538 | drivers/scsi/aic7xxx.c | int status = inb(O_SSTAT1(base)); |
inb | 643 | drivers/scsi/aic7xxx.c | complete = inb(O_QOUTFIFO(base)); |
inb | 665 | drivers/scsi/aic7xxx.c | old_scbptr = inb(O_SCBPTR(base)); |
inb | 711 | drivers/scsi/aic7xxx.c | } while (inb(O_QOUTCNT(base))); |
inb | 732 | drivers/scsi/aic7xxx.c | inb(HA_REJBYTE(base))); |
inb | 737 | drivers/scsi/aic7xxx.c | (inb(O_SELID(base)) >> 4) & 0xf); |
inb | 741 | drivers/scsi/aic7xxx.c | (inb(O_SELID(base)) >> 4) & 0xf); |
inb | 744 | drivers/scsi/aic7xxx.c | transfer = inb(HA_ARG_1(base)); |
inb | 745 | drivers/scsi/aic7xxx.c | offset = inb(HA_ARG_2(base)); |
inb | 753 | drivers/scsi/aic7xxx.c | intstat, inb(O_SCSISIGI(base))); |
inb | 803 | drivers/scsi/aic7xxx.c | buf[i] = inb(s_base + i); |
inb | 811 | drivers/scsi/aic7xxx.c | if (inb(s_base + 4) & 1) |
inb | 833 | drivers/scsi/aic7xxx.c | switch (inb(O_SBLKCTL(base))) { |
inb | 901 | drivers/scsi/aic7xxx.c | } while (inb(O_SEQADDR(base)) != 0 && inb(O_SEQADDR(base) + 1) != 0); |
inb | 917 | drivers/scsi/aic7xxx.c | p->irq = inb(HA_INTDEF(base)) & 0xf; |
inb | 918 | drivers/scsi/aic7xxx.c | p->scsi_id = inb(HA_SCSICONF(base)) & 0x7; |
inb | 956 | drivers/scsi/aic7xxx.c | p->irq = inb(HA_INTDEF(base)) & 0xf; |
inb | 957 | drivers/scsi/aic7xxx.c | p->scsi_id = inb(HA_SCSICONF(base)) & 0x7; |
inb | 1434 | drivers/scsi/aic7xxx.c | old_scbptr = inb(O_SCBPTR(p->base)); |
inb | 1512 | drivers/scsi/aic7xxx.c | queued = inb(O_QINCNT(p->base)); |
inb | 1515 | drivers/scsi/aic7xxx.c | scbsave[i] = inb(O_QINFIFO(p->base)); |
inb | 1537 | drivers/scsi/aic7xxx.c | if (inb(O_SCBPTR(p->base)) != scb) { |
inb | 1549 | drivers/scsi/aic7xxx.c | if (inb(HA_MSG_FLAGS(p->base)) & 0x80) { |
inb | 1564 | drivers/scsi/aic7xxx.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 | 461 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
inb | 470 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
inb | 471 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
inb | 472 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
inb | 475 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
inb | 486 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x80) { |
inb | 488 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x00) { |
inb | 499 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
inb | 517 | drivers/scsi/fdomain.c | result = inb( port_base + Read_Loopback ); |
inb | 540 | drivers/scsi/fdomain.c | int options = inb( base + Configuration1 ); |
inb | 1029 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 1064 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); /* Read adapter status */ |
inb | 1144 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 1166 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1194 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1221 | drivers/scsi/fdomain.c | current_SC->SCp.Status = inb( Read_SCSI_Data_port ); |
inb | 1238 | drivers/scsi/fdomain.c | current_SC->SCp.Message = inb( Read_SCSI_Data_port ); |
inb | 1461 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
inb | 1644 | drivers/scsi/fdomain.c | imr = (inb( 0x0a1 ) << 8) + inb( 0x21 ); |
inb | 1646 | drivers/scsi/fdomain.c | irr = inb( 0xa0 ) << 8; |
inb | 1648 | drivers/scsi/fdomain.c | irr += inb( 0x20 ); |
inb | 1650 | drivers/scsi/fdomain.c | isr = inb( 0xa0 ) << 8; |
inb | 1652 | drivers/scsi/fdomain.c | isr += inb( 0x20 ); |
inb | 1660 | drivers/scsi/fdomain.c | printk( "SCSI Status = 0x%02x\n", inb( SCSI_Status_port ) ); |
inb | 1661 | drivers/scsi/fdomain.c | printk( "TMC Status = 0x%02x", inb( TMC_Status_port ) ); |
inb | 1662 | drivers/scsi/fdomain.c | if (inb( TMC_Status_port & 1)) |
inb | 1665 | drivers/scsi/fdomain.c | printk( "Interrupt Status = 0x%02x", inb( Interrupt_Status_port ) ); |
inb | 1666 | drivers/scsi/fdomain.c | if (inb( Interrupt_Status_port ) & 0x08) |
inb | 1670 | drivers/scsi/fdomain.c | printk( "FIFO Status = 0x%02x\n", inb( port_base + FIFO_Status ) ); |
inb | 1672 | drivers/scsi/fdomain.c | inb( port_base + Interrupt_Cond ) ); |
inb | 1674 | drivers/scsi/fdomain.c | printk( "Configuration 1 = 0x%02x\n", inb( port_base + Configuration1 ) ); |
inb | 1677 | 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 | 470 | drivers/scsi/in2000.c | if ( ! ( inb(INSTAT) & 0xb0 ) ) |
inb | 477 | drivers/scsi/in2000.c | inb(INSTAT); |
inb | 479 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 481 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 482 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 593 | drivers/scsi/in2000.c | tmp = inb(INFLED); |
inb | 615 | drivers/scsi/in2000.c | irq_level = int_tab [ ((~inb(INFLED)>>3)&0x3) ]; |
inb | 631 | drivers/scsi/in2000.c | inb(INDATA); /* free status reg, clear WD intrpt */ |
inb | 670 | 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 | 152 | drivers/scsi/qlogic.c | #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd )) |
inb | 153 | drivers/scsi/qlogic.c | #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | QL_INT_ACTIVE_HIGH , qbase + 0xd )) |
inb | 163 | drivers/scsi/qlogic.c | #define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);} |
inb | 179 | drivers/scsi/qlogic.c | x = inb(qbase + 0xd); |
inb | 198 | drivers/scsi/qlogic.c | if( reqlen >= 128 && (inb( qbase + 8 ) & 2) ) { /* full */ |
inb | 204 | drivers/scsi/qlogic.c | if( (j=inb( qbase + 8 )) & 4 ) { |
inb | 209 | drivers/scsi/qlogic.c | if( reqlen >= 44 && (inb( qbase + 8 ) & 8) ) { /* 1/3 */ |
inb | 221 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 0x10 ) ) { |
inb | 222 | drivers/scsi/qlogic.c | *request++ = inb(qbase + 4); |
inb | 226 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 233 | drivers/scsi/qlogic.c | if( reqlen >= 128 && inb( qbase + 8 ) & 0x10 ) { /* empty */ |
inb | 239 | drivers/scsi/qlogic.c | if( !((j=inb( qbase + 8 )) & 8) ) { |
inb | 244 | drivers/scsi/qlogic.c | if( reqlen >= 40 && !(inb( qbase + 8 ) & 4 ) ) { /* 2/3 */ |
inb | 255 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 2 ) ) { |
inb | 260 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 264 | drivers/scsi/qlogic.c | return inb( qbase + 8 ) & 0xc0; |
inb | 274 | drivers/scsi/qlogic.c | while ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0)) |
inb | 302 | drivers/scsi/qlogic.c | inb(qbase + 5); /* clear interrupts */ |
inb | 303 | drivers/scsi/qlogic.c | if (inb(qbase + 5)) /* if still interrupting */ |
inb | 305 | drivers/scsi/qlogic.c | else if (inb(qbase + 7) & 0x1f) |
inb | 307 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear ints */ |
inb | 311 | drivers/scsi/qlogic.c | inb(qbase + 8); /* clear int bits */ |
inb | 347 | drivers/scsi/qlogic.c | j = inb(qbase + 6); |
inb | 348 | drivers/scsi/qlogic.c | i = inb(qbase + 5); |
inb | 352 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); /* the 0x10 bit can be set after the 0x08 */ |
inb | 364 | drivers/scsi/qlogic.c | printk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f ); |
inb | 369 | drivers/scsi/qlogic.c | if (inb(qbase + 7) & 0x1f) /* if some bytes in fifo */ |
inb | 374 | drivers/scsi/qlogic.c | if (reqlen && !((phase = inb(qbase + 4)) & 6)) { /* data phase */ |
inb | 402 | drivers/scsi/qlogic.c | k = inb(qbase + 5); /* should be 0x10, bus service */ |
inb | 406 | drivers/scsi/qlogic.c | while ( k > jiffies && !qabort && !(inb(qbase + 4) & 6)); /* wait for status phase */ |
inb | 411 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear pending ints */ |
inb | 417 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* get chip irq stat */ |
inb | 418 | drivers/scsi/qlogic.c | j = inb(qbase + 7) & 0x1f; /* and bytes rec'd */ |
inb | 419 | drivers/scsi/qlogic.c | status = inb(qbase + 2); |
inb | 420 | drivers/scsi/qlogic.c | message = inb(qbase + 2); |
inb | 431 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* should be bus service */ |
inb | 434 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); |
inb | 449 | drivers/scsi/qlogic.c | if (!(inb(qbase + 4) & 0x80)) /* false alarm? */ |
inb | 454 | drivers/scsi/qlogic.c | while (i-- && inb(qbase + 5)); /* maybe also ql_zap() */ |
inb | 552 | drivers/scsi/qlogic.c | if ( ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) |
inb | 553 | drivers/scsi/qlogic.c | && ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) ) |
inb | 562 | drivers/scsi/qlogic.c | qltyp = inb(qbase + 0xe) & 0xf8; |
inb | 574 | drivers/scsi/qlogic.c | while( inb( qbase + 0xf ) & 4 ); |
inb | 591 | drivers/scsi/qlogic.c | i &= ~(inb(0x20) | (inb(0xa0) << 8)); /* find IRQ off */ |
inb | 593 | drivers/scsi/qlogic.c | i &= inb(0x20) | (inb(0xa0) << 8); /* find IRQ on */ |
inb | 596 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* purge int */ |
inb | 289 | drivers/scsi/u14-34f.c | while (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED) |
inb | 388 | drivers/scsi/u14-34f.c | if (inb(*port_base + REG_PRODUCT_ID1) != PRODUCT_ID1) return FALSE; |
inb | 390 | drivers/scsi/u14-34f.c | in_byte = inb(*port_base + REG_PRODUCT_ID2); |
inb | 394 | drivers/scsi/u14-34f.c | *(char *)&config_1 = inb(*port_base + REG_CONFIG1); |
inb | 395 | drivers/scsi/u14-34f.c | *(char *)&config_2 = inb(*port_base + REG_CONFIG2); |
inb | 440 | drivers/scsi/u14-34f.c | sys_mask = inb(sh[j]->io_port + REG_SYS_MASK); |
inb | 441 | drivers/scsi/u14-34f.c | lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK); |
inb | 856 | 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 | 1001 | drivers/scsi/wd7000.c | if ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1) { |
inb | 1185 | 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 | 71 | include/asm-alpha/io.h | #ifndef inb |
inb | 254 | include/asm-alpha/jensen.h | extern unsigned int inb(unsigned long addr); |
inb | 271 | include/asm-alpha/jensen.h | (__builtin_constant_p((port))?__inb(port):(inb)(port)) |
inb | 276 | include/asm-alpha/jensen.h | #define inb_p inb |
inb | 284 | include/asm-alpha/lca.h | extern unsigned int inb(unsigned long addr); |
inb | 307 | include/asm-alpha/lca.h | (__builtin_constant_p((port))?__inb(port):(inb)(port)) |
inb | 312 | 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 | 89 | include/asm-sparc/io.h | #define inb_p inb |
inb | 304 | include/linux/sbpcd.h | #define DRV_ATTN ((inb(CDi_status)&s_attention)!=0) |
inb | 305 | include/linux/sbpcd.h | #define DATA_READY ((inb(CDi_status)&s_not_data_ready)==0) |
inb | 306 | include/linux/sbpcd.h | #define RESULT_READY ((inb(CDi_status)&s_not_result_ready)==0) |
inb | 123 | include/linux/scc.h | #define Inb(port) inb(port) |
inb | 201 | kernel/time.c | count |= inb(0x40) << 8; |
inb | 206 | kernel/time.c | if (inb(0x20) & 1) |