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 | 113 | arch/alpha/lib/io.c | *(unsigned char *) dst = inb(port); |
inb | 120 | arch/alpha/lib/io.c | w = inb(port); |
inb | 121 | arch/alpha/lib/io.c | w |= inb(port) << 8; |
inb | 122 | arch/alpha/lib/io.c | w |= inb(port) << 16; |
inb | 123 | arch/alpha/lib/io.c | w |= inb(port) << 24; |
inb | 130 | arch/alpha/lib/io.c | *(unsigned char *) dst = inb(port); |
inb | 275 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 288 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 301 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 314 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 337 | drivers/block/aztcd.c | { if (!(inb(STATUS_PORT) & AFL_STATUS)) |
inb | 399 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_STATUS) break; |
inb | 400 | drivers/block/aztcd.c | inb(DATA_PORT); /* if status left from last command, read and */ |
inb | 402 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_DATA) break; |
inb | 403 | drivers/block/aztcd.c | inb(DATA_PORT); /* if data left from last command, read and */ |
inb | 408 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 413 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 445 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 450 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 481 | drivers/block/aztcd.c | { st = inb(DATA_PORT) & 0xFF; |
inb | 496 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 942 | drivers/block/aztcd.c | azt_error=inb(DATA_PORT)&0xFF; |
inb | 1104 | drivers/block/aztcd.c | st = inb(STATUS_PORT) & AFL_STATUSorDATA; /*???*/ |
inb | 1229 | drivers/block/aztcd.c | if ( !(inb(STATUS_PORT) & AFL_DATA) ) { |
inb | 1231 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1455 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1456 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1459 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK? If not, reset and try again*/ |
inb | 1462 | drivers/block/aztcd.c | { inb(STATUS_PORT); /*removing all data from earlier tries*/ |
inb | 1463 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1466 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1467 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1470 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK?*/ |
inb | 1491 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1492 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1499 | drivers/block/aztcd.c | result[0]=inb(DATA_PORT); /*reading in a null byte???*/ |
inb | 1502 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT);/*because we want to exit by timeout*/ |
inb | 1507 | drivers/block/aztcd.c | result[count]=inb(DATA_PORT); |
inb | 1608 | drivers/block/aztcd.c | s = inb(DATA_PORT) & 0xFF; |
inb | 414 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_ATTN_BIT) != 0); |
inb | 420 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_BUSY_BIT) != 0); |
inb | 426 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_DATA_RDY_BIT) != 0); |
inb | 432 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_DATA_REQUEST_BIT) != 0); |
inb | 438 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_RES_RDY_BIT) != 0); |
inb | 444 | drivers/block/cdu31a.c | return((inb(sony_cd_fifost_reg) & SONY_PARAM_WRITE_RDY_BIT) != 0); |
inb | 450 | drivers/block/cdu31a.c | return((inb(sony_cd_fifost_reg) & SONY_RES_REG_NOT_EMP_BIT) != 0); |
inb | 487 | drivers/block/cdu31a.c | return(inb(sony_cd_status_reg)); |
inb | 493 | drivers/block/cdu31a.c | return(inb(sony_cd_result_reg)); |
inb | 499 | drivers/block/cdu31a.c | return(inb(sony_cd_read_reg)); |
inb | 242 | drivers/block/cm206.c | cd->intr_ur = inb(r_uart_receive); /* get order right! */ |
inb | 474 | drivers/block/gscd.c | found = inb ( GSCDPORT(0) ); |
inb | 476 | drivers/block/gscd.c | read = inb ( GSCDPORT(0) ); |
inb | 602 | drivers/block/gscd.c | disk_state = inb ( GSCDPORT (2)); |
inb | 726 | drivers/block/gscd.c | read = inb (GSCDPORT(2)); |
inb | 777 | drivers/block/gscd.c | *pb = inb (GSCDPORT(2)); |
inb | 812 | drivers/block/gscd.c | disk_state = inb ( GSCDPORT (2)); |
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 | 231 | drivers/block/ide.c | #define IN_BYTE(p,hwif) (byte)inb(IDE_PORT(p,hwif)) |
inb | 407 | drivers/block/ide.c | i |= inb(0x40) << 8; |
inb | 645 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & 0xFF; |
inb | 651 | drivers/block/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 893 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & (MFL_STATUSorDATA); |
inb | 958 | drivers/block/mcd.c | if ((st = (inb(MCDPORT(1))) & (MFL_STATUSorDATA)) != (MFL_STATUSorDATA)) { |
inb | 1000 | drivers/block/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 1003 | drivers/block/mcd.c | inb(MCDPORT(0)); |
inb | 1004 | drivers/block/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 1006 | drivers/block/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 1009 | drivers/block/mcd.c | inb(MCDPORT(0)); |
inb | 1010 | drivers/block/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 1223 | drivers/block/mcd.c | (void) inb(MCDPORT(1)); /* delay a bit */ |
inb | 1227 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1239 | drivers/block/mcd.c | count = inb(MCDPORT(0)); /* pick up the status */ |
inb | 1351 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & MFL_STATUS; |
inb | 1354 | drivers/block/mcd.c | i = inb(MCDPORT(0)) & 0xFF; |
inb | 1387 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1421 | drivers/block/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 1452 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1461 | drivers/block/mcd.c | s = inb(MCDPORT(0)) & 0xFF; |
inb | 541 | drivers/block/mcdx.c | if (inb((unsigned int) stuffp->rreg_status) & MCDX_RBIT_DOOR) |
inb | 741 | drivers/block/mcdx.c | (~(x = inb((unsigned int) stuffp->rreg_status)) & MCDX_RBIT_DTEN))) |
inb | 743 | drivers/block/mcdx.c | irq, x, inb((unsigned int) stuffp->rreg_data))); |
inb | 799 | drivers/block/mcdx.c | while ((inb((unsigned int) stuffp->rreg_status)) & MCDX_RBIT_STEN) { |
inb | 811 | drivers/block/mcdx.c | *bp++ = st = (unsigned char) inb((unsigned int) stuffp->rreg_data); |
inb | 833 | drivers/block/mcdx.c | *bp++ = (unsigned char) inb((unsigned int) stuffp->rreg_data); |
inb | 1057 | drivers/block/mcdx.c | for (i = 100; i; i--) (void) inb((unsigned int) stuffp->rreg_status); |
inb | 76 | drivers/block/optcd.c | return inb(STATUS_PORT) & FL_STDT; |
inb | 186 | drivers/block/optcd.c | ack = inb(DATA_PORT); /* read command acknowledge */ |
inb | 210 | drivers/block/optcd.c | ack = inb(DATA_PORT); /* read command acknowledge */ |
inb | 224 | drivers/block/optcd.c | exec_status = inb(DATA_PORT); /* read command execution status */ |
inb | 238 | drivers/block/optcd.c | exec_status = inb(DATA_PORT); /* read command execution status */ |
inb | 250 | drivers/block/optcd.c | status = inb(DATA_PORT); |
inb | 262 | drivers/block/optcd.c | data = inb(DATA_PORT); |
inb | 277 | drivers/block/optcd.c | inb(DATA_PORT); |
inb | 289 | drivers/block/optcd.c | inb(DATA_PORT); |
inb | 291 | drivers/block/optcd.c | while ((flags = (inb(STATUS_PORT) & FL_RESET)) != FL_RESET) |
inb | 906 | drivers/block/sbpcd.c | for (i=maxtim_data;i!=0;i--) inb(CDi_status); |
inb | 909 | drivers/block/sbpcd.c | for (i=maxtim02;i!=0;i--) inb(CDi_status); |
inb | 913 | drivers/block/sbpcd.c | for (i=maxtim_data;i!=0;i--) inb(CDi_status); |
inb | 927 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 939 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 949 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 968 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 977 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 986 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1007 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 1015 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 1025 | drivers/block/sbpcd.c | st=inb(CDi_status); |
inb | 1033 | drivers/block/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 1037 | drivers/block/sbpcd.c | while (!(inb(CDi_status)&s_not_result_ready)) |
inb | 1039 | drivers/block/sbpcd.c | infobuf[i++]=inb(CDi_info); |
inb | 1167 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1181 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1197 | drivers/block/sbpcd.c | i=inb(CDi_info); |
inb | 1287 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1291 | drivers/block/sbpcd.c | j=inb(CDi_info); |
inb | 1292 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1306 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1316 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_data); |
inb | 1317 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1330 | drivers/block/sbpcd.c | i=inb(CDi_data); |
inb | 1332 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1339 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 1346 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_info); |
inb | 1347 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 2954 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 3172 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 3177 | drivers/block/sbpcd.c | i=inb(CDi_info); |
inb | 3304 | drivers/block/sbpcd.c | save_port0=inb(port+0); |
inb | 3305 | drivers/block/sbpcd.c | save_port3=inb(port+3); |
inb | 3317 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3318 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
inb | 3333 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3334 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
inb | 3357 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3358 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
inb | 3374 | drivers/block/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3375 | drivers/block/sbpcd.c | response[k]=inb(port+0); |
inb | 3677 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 4207 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4257 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4592 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4628 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 4673 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 4680 | drivers/block/sbpcd.c | i=inb(CDi_data); |
inb | 4682 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 4693 | drivers/block/sbpcd.c | infobuf[l++]=inb(CDi_info); |
inb | 4694 | drivers/block/sbpcd.c | i=inb(CDi_status); |
inb | 4755 | drivers/block/sbpcd.c | j=inb(CDi_status); |
inb | 5034 | drivers/block/sbpcd.c | i=inb(SPEA_REG_1); |
inb | 5056 | drivers/block/sbpcd.c | i=(inb(SPEA_REG_2)&0xCF)|n_ports; |
inb | 315 | drivers/block/sjcd.c | for( i = 200; i-- && inb( SJCDPORT( 1 ) ) != 0x09; ); |
inb | 316 | drivers/block/sjcd.c | if( i > 0 ) *resp++ = ( unsigned char )inb( SJCDPORT( 0 ) ); |
inb | 328 | drivers/block/sjcd.c | sjcd_completion_status = inb( SJCDPORT( 0 ) ); |
inb | 336 | drivers/block/sjcd.c | while( ( inb( SJCDPORT( 1 ) ) & 0x0B ) != 0x09 ); |
inb | 337 | drivers/block/sjcd.c | sjcd_completion_error = inb( SJCDPORT( 0 ) ); |
inb | 363 | drivers/block/sjcd.c | if( ( inb( SJCDPORT( 1 ) ) & 0x0B ) == 0x09 ){ |
inb | 1079 | drivers/block/sjcd.c | sjcd_s_data: stat = inb( SJCDPORT( 1 ) ) & 0x0B; |
inb | 1181 | drivers/block/sjcd.c | stat = inb( SJCDPORT( 1 ) ) & 0x0B; |
inb | 1193 | drivers/block/sjcd.c | for( i = 2048; i--; ( void )inb( SJCDPORT( 2 ) ) ); |
inb | 1395 | drivers/block/sjcd.c | if( !( inb( SJCDPORT( 1 ) ) & 0x04 ) ) break; |
inb | 1455 | drivers/block/sjcd.c | #define ISP16_IN(p) (outb(isp16_ctrl,ISP16_CTRL_PORT), inb(p)) |
inb | 393 | drivers/block/sonycd535.c | if (((read_status = inb(read_status_reg)) & SONY535_RESULT_NOT_READY_BIT) == 0) { |
inb | 398 | drivers/block/sonycd535.c | *data_ptr = inb(result_reg); |
inb | 647 | drivers/block/sonycd535.c | read_status = inb(read_status_reg); |
inb | 658 | drivers/block/sonycd535.c | *data_buff++ = inb(data_reg); /* unrolling this loop does not seem to help */ |
inb | 1571 | drivers/block/sonycd535.c | inb(select_unit_reg); |
inb | 1575 | drivers/block/sonycd535.c | inb(result_reg); |
inb | 1581 | 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 | 701 | drivers/net/apricot.c | eth_addr[i] = inb(ioaddr+8+i); |
inb | 909 | drivers/net/apricot.c | (void) inb (ioaddr+0x10); |
inb | 668 | drivers/net/arcnet.c | printk("arcnet: status1=%Xh\n",inb(STATUS)); |
inb | 678 | drivers/net/arcnet.c | inb(RESET); |
inb | 682 | drivers/net/arcnet.c | if (inb(STATUS)==0xFF) |
inb | 698 | drivers/net/arcnet.c | curval=initval=inb(COMMAND); |
inb | 701 | drivers/net/arcnet.c | curval=inb(COMMAND); |
inb | 713 | drivers/net/arcnet.c | printk("arcnet: status2=%Xh\n",inb(STATUS)); |
inb | 717 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 721 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 759 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag on */ |
inb | 765 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 769 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 848 | drivers/net/arcnet.c | dev->name,inb(STATUS)); |
inb | 850 | drivers/net/arcnet.c | inb(RESET); /* Reset by reading this port */ |
inb | 1033 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 1048 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 1101 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1110 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1127 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1153 | drivers/net/arcnet.c | if (lp->txready && inb(STATUS)&TXFREEflag) |
inb | 1199 | drivers/net/arcnet.c | if (lp->txready && inb(STATUS)&TXFREEflag) |
inb | 1392 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1394 | drivers/net/arcnet.c | if (!(inb(STATUS)&TXFREEflag) || !lp->txready) return; |
inb | 1598 | drivers/net/arcnet.c | printk("arcnet: in net_interrupt (status=%Xh)\n",inb(STATUS)); |
inb | 1602 | drivers/net/arcnet.c | status = inb(STATUS); |
inb | 1755 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1795 | drivers/net/arcnet.c | inb(STATUS)); |
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 | 2230 | drivers/net/de4x5.c | data = inb(aprom_addr); |
inb | 2281 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
inb | 2283 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
inb | 2300 | drivers/net/de4x5.c | chksum = (u_char) inb(EISA_APROM); |
inb | 2301 | 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 | 459 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 668 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 758 | drivers/net/depca.c | printk("nicsr: 0x%02x\n",inb(DEPCA_NICSR)); |
inb | 890 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1083 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1496 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* clear counter on DEPCA */ |
inb | 1497 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* read data */ |
inb | 1500 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1510 | drivers/net/depca.c | data = inb(DEPCA_PROM); |
inb | 1546 | drivers/net/depca.c | k += (u_char) (tmp = inb(DEPCA_PROM + x)); |
inb | 1548 | drivers/net/depca.c | k += (u_short) ((tmp = inb(DEPCA_PROM + x)) << 8); |
inb | 1555 | drivers/net/depca.c | chksum = (u_char) inb(DEPCA_PROM + x); |
inb | 1556 | drivers/net/depca.c | chksum |= (u_short) (inb(DEPCA_PROM + x) << 8); |
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 | 1637 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1658 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1669 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1690 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
inb | 1725 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1758 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
inb | 1783 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
inb | 1785 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
inb | 1812 | 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 | 225 | drivers/net/hp100.c | if ( inb( ioaddr + 0 ) != HP100_HW_ID_0 || |
inb | 226 | drivers/net/hp100.c | inb( ioaddr + 1 ) != HP100_HW_ID_1 || |
inb | 227 | drivers/net/hp100.c | ( inb( ioaddr + 2 ) & 0xf0 ) != HP100_HW_ID_2_REVA || |
inb | 228 | drivers/net/hp100.c | inb( ioaddr + 3 ) != HP100_HW_ID_3 ) |
inb | 341 | drivers/net/hp100.h | inb( ioaddr + HP100_REG_##reg ) |
inb | 353 | drivers/net/hp100.h | outb( inb( ioaddr + HP100_REG_##reg ) | (data), ioaddr + HP100_REG_##reg ) |
inb | 357 | drivers/net/hp100.h | outb( inb( ioaddr + HP100_REG_##reg ) & (data), ioaddr + HP100_REG_##reg ) |
inb | 176 | drivers/net/ibmtr.c | segment = inb(PIOaddr); |
inb | 277 | drivers/net/ibmtr.c | ti->sram=(unsigned char *)((inb(PIOaddr+ADAPTRESETREL) & 0xfe) |
inb | 325 | drivers/net/lance.c | && inb(ioaddr + 14) == 0x57 |
inb | 326 | drivers/net/lance.c | && inb(ioaddr + 15) == 0x57) { |
inb | 355 | drivers/net/lance.c | if ((inb(hp_port) & 0xc0) == 0x80 |
inb | 356 | drivers/net/lance.c | && ioaddr_table[inb(hp_port) & 3] == ioaddr) |
inb | 360 | drivers/net/lance.c | hpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00 |
inb | 361 | drivers/net/lance.c | && inb(ioaddr+2) == 0x09); |
inb | 408 | drivers/net/lance.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 446 | drivers/net/lance.c | unsigned char port_val = inb(hp_builtin); |
inb | 472 | drivers/net/lance.c | dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 473 | drivers/net/lance.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 179 | drivers/net/ne.c | outb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET); |
inb | 217 | drivers/net/ne.c | SA_prom[i] = inb(ioaddr + NE_DATAPORT); |
inb | 218 | drivers/net/ne.c | SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); |
inb | 352 | drivers/net/ne.c | outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); |
inb | 398 | 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 | 673 | drivers/net/seeq8005.c | printk("%02x ",inb(SEEQ_BUFFER)); |
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 | 240 | 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 | 612 | drivers/net/znet.c | outb(inb(0xe7) & ~0x84, 0xe7); /* Turn on LAN power (bit 2). */ |
inb | 674 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
inb | 675 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
inb | 714 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 719 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 724 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 726 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 1331 | drivers/scsi/53c7,8xx.h | inb(NCR53c7x0_address_io + (address))) |
inb | 323 | drivers/scsi/aha152x.h | inb( PORT ) |
inb | 329 | drivers/scsi/aha152x.h | outb( (inb(PORT) | (BITS)), (PORT) ) |
inb | 332 | drivers/scsi/aha152x.h | outb( (inb(PORT) & ~(BITS)), (PORT) ) |
inb | 335 | drivers/scsi/aha152x.h | outb( (inb(PORT) & ~(CLR)) | (SET) , (PORT) ) |
inb | 338 | drivers/scsi/aha152x.h | ((inb(PORT) & (BITS)) == BITS) |
inb | 341 | 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 | 143 | drivers/scsi/aha1740.c | name[0]= 'A' -1 + ((tmp = inb(HID0)) >> 2); /* First character */ |
inb | 145 | drivers/scsi/aha1740.c | name[1]+= ((tmp = inb(HID1)) >> 5)&0x7; /* Second Character */ |
inb | 148 | drivers/scsi/aha1740.c | tmp = inb(HID2); |
inb | 149 | drivers/scsi/aha1740.c | if ( strcmp ( name, HID_MFG ) || inb(HID2) != HID_PRD ) |
inb | 156 | drivers/scsi/aha1740.c | if ( inb(EBCNTRL) != EBCNTRL_VALUE ) |
inb | 159 | drivers/scsi/aha1740.c | inb(EBCNTRL)); |
inb | 163 | drivers/scsi/aha1740.c | if ( inb(PORTADR) & PORTADDR_ENH ) |
inb | 181 | drivers/scsi/aha1740.c | while(inb(G2STAT) & G2STAT_INTPEND) |
inb | 184 | drivers/scsi/aha1740.c | adapstat = inb(G2INTST); |
inb | 197 | drivers/scsi/aha1740.c | inb(G2STAT),adapstat,inb(G2INTST),number_serviced++); |
inb | 204 | drivers/scsi/aha1740.c | inb(G2STAT),adapstat,inb(G2INTST),number_serviced++); |
inb | 232 | 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 | 388 | drivers/scsi/aha1740.c | while ( ! (inb(G2STAT) & G2STAT_MBXOUT) ); /* Oh Well. */ |
inb | 390 | drivers/scsi/aha1740.c | if ( inb(G2STAT) & G2STAT_BUSY ) |
inb | 395 | drivers/scsi/aha1740.c | while ( inb(G2STAT) & G2STAT_BUSY ); /* And Again! */ |
inb | 431 | drivers/scsi/aha1740.c | irq_level = intab [ inb(INTDEF)&0x7 ]; |
inb | 432 | drivers/scsi/aha1740.c | outb(inb(INTDEF) | 0x10, INTDEF); |
inb | 456 | drivers/scsi/aha1740.c | if ( (inb(G2STAT) & (G2STAT_MBXOUT | G2STAT_BUSY) ) != G2STAT_MBXOUT ) |
inb | 667 | drivers/scsi/aic7xxx.c | while ((inb(HCNTRL(p->base)) & PAUSE) == 0) \ |
inb | 683 | drivers/scsi/aic7xxx.c | } while (inb(SEQADDR0(p->base)) != 0 && \ |
inb | 684 | drivers/scsi/aic7xxx.c | inb(SEQADDR1(p->base)) != 0); \ |
inb | 916 | drivers/scsi/aic7xxx.c | host_conf = inb(HA_HOSTCONF(p->base)); |
inb | 917 | drivers/scsi/aic7xxx.c | scsi_conf = inb(HA_SCSICONF(p->base)); |
inb | 1112 | drivers/scsi/aic7xxx.c | } while ((inb(SEQADDR0(base)) != 0) && (inb(SEQADDR1(base)) != 0)); |
inb | 1401 | drivers/scsi/aic7xxx.c | while ((p != NULL) && !(inb(INTSTAT(p->base)) & INT_PEND)) |
inb | 1430 | drivers/scsi/aic7xxx.c | intstat = inb(INTSTAT(base)); |
inb | 1435 | drivers/scsi/aic7xxx.c | unsigned char errno = inb(ERROR(base)); |
inb | 1447 | drivers/scsi/aic7xxx.c | inb(ERROR(base)), |
inb | 1448 | drivers/scsi/aic7xxx.c | inb(SEQADDR1(base)) << 8 | inb(SEQADDR0(base))); |
inb | 1468 | drivers/scsi/aic7xxx.c | inb(HA_REJBYTE(base))); |
inb | 1474 | drivers/scsi/aic7xxx.c | (inb(SELID(base)) >> 4) & 0x0F, |
inb | 1475 | drivers/scsi/aic7xxx.c | (inb(SEQADDR1(base)) << 8) | inb(SEQADDR0(base))); |
inb | 1479 | drivers/scsi/aic7xxx.c | tcl = inb(SCBARRAY(base) + 1); |
inb | 1492 | drivers/scsi/aic7xxx.c | active = inb(HA_ACTIVE1(base)); |
inb | 1498 | drivers/scsi/aic7xxx.c | active = inb(HA_ACTIVE0(base)); |
inb | 1521 | drivers/scsi/aic7xxx.c | transfer = (inb(HA_ARG_1(base)) << 2); |
inb | 1522 | drivers/scsi/aic7xxx.c | offset = inb(ACCUM(base)); |
inb | 1523 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1524 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL(base)) & 0x08) |
inb | 1529 | drivers/scsi/aic7xxx.c | scratch = inb(HA_TARG_SCRATCH(base) + scsi_id); |
inb | 1588 | drivers/scsi/aic7xxx.c | bus_width = inb(ACCUM(base)); |
inb | 1589 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1590 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL(base)) & 0x08) |
inb | 1596 | drivers/scsi/aic7xxx.c | scratch = inb(HA_TARG_SCRATCH(base) + scsi_id); |
inb | 1662 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1663 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL(base)) & 0x08) |
inb | 1670 | drivers/scsi/aic7xxx.c | targ_scratch = inb(HA_TARG_SCRATCH(base) + scsi_id); |
inb | 1708 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1709 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 1794 | drivers/scsi/aic7xxx.c | head = inb(WAITING_SCBH(base)); |
inb | 1795 | drivers/scsi/aic7xxx.c | tail = inb(WAITING_SCBT(base)); |
inb | 1860 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 1885 | drivers/scsi/aic7xxx.c | actual -= ((inb(SCBARRAY(base + 17)) << 16) | |
inb | 1886 | drivers/scsi/aic7xxx.c | (inb(SCBARRAY(base + 16)) << 8) | |
inb | 1887 | drivers/scsi/aic7xxx.c | inb(SCBARRAY(base + 15))); |
inb | 1903 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 1945 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 1975 | drivers/scsi/aic7xxx.c | intstat, inb(SCSISIGI(base))); |
inb | 1984 | drivers/scsi/aic7xxx.c | int status = inb(SSTAT1(base)); |
inb | 1986 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 2028 | drivers/scsi/aic7xxx.c | ha_flags = inb(HA_FLAGS(base)); |
inb | 2033 | drivers/scsi/aic7xxx.c | active = inb(HA_ACTIVE1(base)); |
inb | 2039 | drivers/scsi/aic7xxx.c | active = inb(HA_ACTIVE0(base)); |
inb | 2068 | drivers/scsi/aic7xxx.c | waiting = inb(WAITING_SCBH(base)); |
inb | 2070 | drivers/scsi/aic7xxx.c | waiting = inb(SCBARRAY(base) + 30); |
inb | 2151 | drivers/scsi/aic7xxx.c | complete = inb(QOUTFIFO(base)); |
inb | 2159 | drivers/scsi/aic7xxx.c | complete, inb(QOUTFIFO(base)), |
inb | 2209 | drivers/scsi/aic7xxx.c | } while (inb(QOUTCNT(base))); |
inb | 2259 | drivers/scsi/aic7xxx.c | buf[i] = inb(base + i); |
inb | 2269 | drivers/scsi/aic7xxx.c | if (inb(base + 4) & 1) |
inb | 2345 | drivers/scsi/aic7xxx.c | while ((inb(SEECTL(base)) & SEERDY) == 0) \ |
inb | 2359 | drivers/scsi/aic7xxx.c | while ((jiffies < timeout) && ((inb(SEECTL(base)) & SEERDY) == 0)) |
inb | 2363 | drivers/scsi/aic7xxx.c | if ((inb(SEECTL(base)) & SEERDY) == 0) |
inb | 2419 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(SEECTL(base)) & SEEDI); |
inb | 2495 | drivers/scsi/aic7xxx.c | sblkctl_reg = inb(SBLKCTL(base)) ^ AUTOFLUSHDIS; |
inb | 2497 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL(base)) == sblkctl_reg) |
inb | 2578 | drivers/scsi/aic7xxx.c | printk("aha274x: aic7770 hcntrl=0x%x\n", inb(HCNTRL(config.base))); |
inb | 2590 | drivers/scsi/aic7xxx.c | config.unpause = (inb(HCNTRL(config.base)) & IRQMS) | INTEN; |
inb | 2614 | drivers/scsi/aic7xxx.c | if (inb(HCNTRL(config.base)) & CHIPRST) |
inb | 2624 | drivers/scsi/aic7xxx.c | config.irq = inb(HA_INTDEF(config.base)) & 0x0F; |
inb | 2625 | drivers/scsi/aic7xxx.c | config.busrtime = inb(HA_SCSICONF(config.base)) & 0x3C; |
inb | 2636 | drivers/scsi/aic7xxx.c | printk("aha284x: aic7770 hcntrl=0x%x\n", inb(HCNTRL(config.base))); |
inb | 2642 | drivers/scsi/aic7xxx.c | config.irq = inb(HA_INTDEF(config.base)) & 0x0F; |
inb | 2655 | drivers/scsi/aic7xxx.c | printk("aic%s hcntrl=0x%x\n", board_name[type], inb(HCNTRL(config.base))); |
inb | 2688 | drivers/scsi/aic7xxx.c | outb(inb(DSPCISTATUS(config.base)) | DFTHRESH, DSPCISTATUS(config.base)); |
inb | 2725 | drivers/scsi/aic7xxx.c | sblkctl = inb(SBLKCTL(base)) & 0x0F; /* mask out upper two bits */ |
inb | 2729 | drivers/scsi/aic7xxx.c | config.scsi_id = inb(HA_SCSICONF(base)) & 0x07; |
inb | 2735 | drivers/scsi/aic7xxx.c | config.scsi_id = inb(HA_SCSICONF(base) + 1) & 0x0F; |
inb | 2743 | drivers/scsi/aic7xxx.c | config.scsi_id = inb(HA_SCSICONF(base)) & 0x07; |
inb | 2745 | drivers/scsi/aic7xxx.c | config.scsi_id_b = inb(HA_SCSICONF(base) + 1) & 0x07; |
inb | 2760 | drivers/scsi/aic7xxx.c | "mail deang@ims.com\n", inb(SBLKCTL(base))); |
inb | 2937 | drivers/scsi/aic7xxx.c | scsi_conf = inb(HA_SCSICONF(base) + 1) & (ENSPCHK | STIMESEL); |
inb | 2945 | drivers/scsi/aic7xxx.c | scsi_conf = inb(HA_SCSICONF(base)) & (ENSPCHK | STIMESEL); |
inb | 2985 | drivers/scsi/aic7xxx.c | target_settings = inb(HA_TARG_SCRATCH(base) + i); |
inb | 3116 | drivers/scsi/aic7xxx.c | printk("aic7xxx: hcntrl=0x%x\n", inb(HCNTRL(base))); |
inb | 3118 | drivers/scsi/aic7xxx.c | outb(inb(HCNTRL(base)) | CHIPRST, HCNTRL(base)); |
inb | 3119 | drivers/scsi/aic7xxx.c | irq = inb(HA_INTDEF(base)) & 0x0F; |
inb | 3215 | drivers/scsi/aic7xxx.c | printk("aic7xxx: hcntrl=0x%x\n", inb(HCNTRL(base))); |
inb | 3216 | drivers/scsi/aic7xxx.c | outb(inb(HCNTRL(base)) | CHIPRST, HCNTRL(base)); |
inb | 3466 | drivers/scsi/aic7xxx.c | curscb = inb(SCBPTR(p->base)); |
inb | 3510 | drivers/scsi/aic7xxx.c | old_scbptr = inb(SCBPTR(p->base)); |
inb | 3591 | drivers/scsi/aic7xxx.c | queued = inb(QINCNT(p->base)); |
inb | 3595 | drivers/scsi/aic7xxx.c | scbsave[i] = inb(QINFIFO(p->base)); |
inb | 3615 | drivers/scsi/aic7xxx.c | active_scb = inb(SCBPTR(p->base)); |
inb | 3627 | drivers/scsi/aic7xxx.c | scb_control = inb(SCBARRAY(p->base)); |
inb | 3635 | drivers/scsi/aic7xxx.c | scb_control = inb(SCBARRAY(p->base)); |
inb | 3650 | drivers/scsi/aic7xxx.c | flags = inb(HA_FLAGS(p->base)); |
inb | 3700 | drivers/scsi/aic7xxx.c | outb(inb(HA_SIGSTATE(p->base)) | 0x10, 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 | 325 | drivers/scsi/eata.c | while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) |
inb | 352 | drivers/scsi/eata.c | while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) |
inb | 904 | drivers/scsi/eata.c | while (inb(sh[j]->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) { |
inb | 912 | drivers/scsi/eata.c | inb(sh[j]->io_port + REG_STATUS); |
inb | 112 | drivers/scsi/eata_dma.c | fake_int_result = inb(fake_int_base + HA_RSTATUS); |
inb | 168 | drivers/scsi/eata_dma.c | if (!(inb((uint)sh->base + HA_RAUXSTAT) & HA_AIRQ)) |
inb | 184 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 196 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 203 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 312 | drivers/scsi/eata_dma.c | while (inb(base + HA_RAUXSTAT) & HA_ABUSY) |
inb | 526 | drivers/scsi/eata_dma.c | while (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 581 | drivers/scsi/eata_dma.c | while (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 620 | drivers/scsi/eata_dma.c | inb((u32) (cmd->host->base) + HA_RSTATUS); /* This might cause trouble */ |
inb | 730 | drivers/scsi/eata_dma.c | inb((u32) (base) + HA_RSTATUS); |
inb | 772 | drivers/scsi/eata_dma.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 783 | drivers/scsi/eata_dma.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 791 | drivers/scsi/eata_dma.c | if (!(inb(base + HA_RSTATUS) & HA_SERROR)) { /* Error ? */ |
inb | 797 | drivers/scsi/eata_dma.c | while (inb(base + HA_RSTATUS) & HA_SDRQ) |
inb | 1095 | drivers/scsi/eata_dma.c | pal1 = inb((u16)base - 8); |
inb | 1096 | drivers/scsi/eata_dma.c | pal2 = inb((u16)base - 7); |
inb | 1097 | drivers/scsi/eata_dma.c | pal3 = inb((u16)base - 6); |
inb | 1199 | drivers/scsi/eata_dma.c | if ((inb(base) == 0x12) && (inb(base + 1) == 0x14)) |
inb | 147 | drivers/scsi/eata_pio.c | if (inb((uint)sh->base + HA_RSTATUS) & HA_SBUSY) |
inb | 160 | drivers/scsi/eata_pio.c | stat=inb(base+HA_RSTATUS); |
inb | 232 | drivers/scsi/eata_pio.c | if (!(inb(base+HA_RSTATUS)&HA_SERROR)) |
inb | 243 | drivers/scsi/eata_pio.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 273 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 398 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)); |
inb | 425 | drivers/scsi/eata_pio.c | while (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 570 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)); |
inb | 575 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY); |
inb | 576 | drivers/scsi/eata_pio.c | if (inb(base + HA_RSTATUS) & HA_SERROR) |
inb | 578 | drivers/scsi/eata_pio.c | else if (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 583 | drivers/scsi/eata_pio.c | while (inb(base+HA_RSTATUS)&HA_SDRQ) inw(base+HA_RDATA); |
inb | 599 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 610 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 617 | drivers/scsi/eata_pio.c | if (!(inb(base + HA_RSTATUS) & HA_SERROR)) { /* Error ? */ |
inb | 623 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SDRQ) |
inb | 664 | drivers/scsi/eata_pio.c | while (inb(base+HA_RSTATUS)&HA_SBUSY); |
inb | 667 | drivers/scsi/eata_pio.c | while (inb(base+HA_RSTATUS)&HA_SBUSY) |
inb | 669 | drivers/scsi/eata_pio.c | if (inb(base+HA_RSTATUS)&HA_SDRQ) |
inb | 678 | drivers/scsi/eata_pio.c | } while (inb(base+HA_RSTATUS)&(HA_SBUSY|HA_SDRQ)); |
inb | 680 | drivers/scsi/eata_pio.c | return (!(inb(base+HA_RSTATUS)&HA_SERROR)); |
inb | 850 | drivers/scsi/eata_pio.c | pal1 = inb((u16)base - 8); |
inb | 851 | drivers/scsi/eata_pio.c | pal2 = inb((u16)base - 7); |
inb | 852 | drivers/scsi/eata_pio.c | pal3 = inb((u16)base - 6); |
inb | 931 | drivers/scsi/eata_pio.c | if ((inb(base) == 0x12) && (inb(base + 1) == 0x14)) |
inb | 466 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
inb | 475 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
inb | 476 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
inb | 477 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
inb | 480 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
inb | 491 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x80) { |
inb | 493 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x00) { |
inb | 504 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
inb | 522 | drivers/scsi/fdomain.c | result = inb( port_base + Read_Loopback ); |
inb | 545 | drivers/scsi/fdomain.c | int options = inb( base + Configuration1 ); |
inb | 1034 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 1069 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); /* Read adapter status */ |
inb | 1149 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 1171 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1199 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1226 | drivers/scsi/fdomain.c | current_SC->SCp.Status = inb( Read_SCSI_Data_port ); |
inb | 1243 | drivers/scsi/fdomain.c | current_SC->SCp.Message = inb( Read_SCSI_Data_port ); |
inb | 1466 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
inb | 1649 | drivers/scsi/fdomain.c | imr = (inb( 0x0a1 ) << 8) + inb( 0x21 ); |
inb | 1651 | drivers/scsi/fdomain.c | irr = inb( 0xa0 ) << 8; |
inb | 1653 | drivers/scsi/fdomain.c | irr += inb( 0x20 ); |
inb | 1655 | drivers/scsi/fdomain.c | isr = inb( 0xa0 ) << 8; |
inb | 1657 | drivers/scsi/fdomain.c | isr += inb( 0x20 ); |
inb | 1665 | drivers/scsi/fdomain.c | printk( "SCSI Status = 0x%02x\n", inb( SCSI_Status_port ) ); |
inb | 1666 | drivers/scsi/fdomain.c | printk( "TMC Status = 0x%02x", inb( TMC_Status_port ) ); |
inb | 1667 | drivers/scsi/fdomain.c | if (inb( TMC_Status_port & 1)) |
inb | 1670 | drivers/scsi/fdomain.c | printk( "Interrupt Status = 0x%02x", inb( Interrupt_Status_port ) ); |
inb | 1671 | drivers/scsi/fdomain.c | if (inb( Interrupt_Status_port ) & 0x08) |
inb | 1675 | drivers/scsi/fdomain.c | printk( "FIFO Status = 0x%02x\n", inb( port_base + FIFO_Status ) ); |
inb | 1677 | drivers/scsi/fdomain.c | inb( port_base + Interrupt_Cond ) ); |
inb | 1679 | drivers/scsi/fdomain.c | printk( "Configuration 1 = 0x%02x\n", inb( port_base + Configuration1 ) ); |
inb | 1682 | drivers/scsi/fdomain.c | inb( port_base + Configuration2 ) ); |
inb | 74 | drivers/scsi/g_NCR5380.h | #define NCR5380_read(reg) (inb(port + (reg))) |
inb | 136 | drivers/scsi/in2000.c | tmp = inb(INFLED); |
inb | 142 | drivers/scsi/in2000.c | tmp = inb(INVERS); |
inb | 164 | drivers/scsi/in2000.c | if(inb(INSTAT) & 0x20) return 0xffffff; /* not readable now */ |
inb | 166 | drivers/scsi/in2000.c | total = (inb(INDATA) & 0xff) << 16; |
inb | 168 | drivers/scsi/in2000.c | total += (inb(INDATA) & 0xff) << 8; |
inb | 170 | drivers/scsi/in2000.c | total += (inb(INDATA) & 0xff); |
inb | 185 | drivers/scsi/in2000.c | infcnt = inb(INFCNT)& 0xfe; /* FIFO counter */ |
inb | 205 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && ((infcnt = (inb(INFCNT)) & 0xfe) >= 0x20) ); |
inb | 227 | drivers/scsi/in2000.c | count = inb(INFCNT) & 0xe1; |
inb | 230 | drivers/scsi/in2000.c | count = (fic = inb(INFCNT)) & 0xe1; |
inb | 260 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && (fic = inb(INFCNT)) ); |
inb | 282 | drivers/scsi/in2000.c | DEB(printk("INT:%d %02x %08x\n", in2000_datalen, inb(INFCNT),(unsigned int)in2000_dataptr)); |
inb | 284 | drivers/scsi/in2000.c | if (( (ficmsk & (count = inb(INFCNT))) == 0xfe ) || |
inb | 285 | drivers/scsi/in2000.c | ( (inb(INSTAT) & 0x8c) == 0x80)) |
inb | 287 | drivers/scsi/in2000.c | auxstatus = inb(INSTAT); /* need to save now */ |
inb | 289 | drivers/scsi/in2000.c | scsistatus = inb(INDATA); /* This clears the WD intrpt bit */ |
inb | 291 | drivers/scsi/in2000.c | scsibyte = inb(INDATA); /* Get the scsi status byte */ |
inb | 293 | drivers/scsi/in2000.c | cmdphase = inb(INDATA); |
inb | 473 | drivers/scsi/in2000.c | if ( ! ( inb(INSTAT) & 0xb0 ) ) |
inb | 480 | drivers/scsi/in2000.c | inb(INSTAT); |
inb | 482 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 484 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 485 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 596 | drivers/scsi/in2000.c | tmp = inb(INFLED); |
inb | 618 | drivers/scsi/in2000.c | irq_level = int_tab [ ((~inb(INFLED)>>3)&0x3) ]; |
inb | 634 | drivers/scsi/in2000.c | inb(INDATA); /* free status reg, clear WD intrpt */ |
inb | 673 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 225 | drivers/scsi/pas16.c | tmp = inb( io_port + IO_CONFIG_3 ); |
inb | 271 | drivers/scsi/pas16.c | board_rev = inb( io_port + PCB_CONFIG ); |
inb | 279 | drivers/scsi/pas16.c | tmp = inb( io_port + PCB_CONFIG ); |
inb | 285 | drivers/scsi/pas16.c | if( ( inb( io_port + OPERATION_MODE_1 ) & 0x03 ) != 0x03 ) |
inb | 407 | drivers/scsi/pas16.c | outb( (inb(io_port + IO_CONFIG_3) & 0x0f), io_port + IO_CONFIG_3 ); |
inb | 488 | drivers/scsi/pas16.c | while ( !(inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY) ); |
inb | 492 | drivers/scsi/pas16.c | if ( inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
inb | 520 | drivers/scsi/pas16.c | while ( !((inb(instance->io_port + P_STATUS_REG_OFFSET)) & P_ST_RDY) ); |
inb | 524 | drivers/scsi/pas16.c | if (inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
inb | 165 | drivers/scsi/pas16.h | #define NCR5380_read(reg) ( inb(PAS16_io_port(reg)) ) |
inb | 170 | drivers/scsi/pas16.h | , instance->hostno, (reg), PAS16_io_port(reg))), inb( PAS16_io_port(reg)) ) |
inb | 153 | drivers/scsi/qlogic.c | #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd )) |
inb | 154 | drivers/scsi/qlogic.c | #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | QL_INT_ACTIVE_HIGH , qbase + 0xd )) |
inb | 164 | drivers/scsi/qlogic.c | #define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);} |
inb | 180 | drivers/scsi/qlogic.c | x = inb(qbase + 0xd); |
inb | 199 | drivers/scsi/qlogic.c | if( reqlen >= 128 && (inb( qbase + 8 ) & 2) ) { /* full */ |
inb | 205 | drivers/scsi/qlogic.c | if( (j=inb( qbase + 8 )) & 4 ) { |
inb | 210 | drivers/scsi/qlogic.c | if( reqlen >= 44 && (inb( qbase + 8 ) & 8) ) { /* 1/3 */ |
inb | 222 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 0x10 ) ) { |
inb | 223 | drivers/scsi/qlogic.c | *request++ = inb(qbase + 4); |
inb | 227 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 234 | drivers/scsi/qlogic.c | if( reqlen >= 128 && inb( qbase + 8 ) & 0x10 ) { /* empty */ |
inb | 240 | drivers/scsi/qlogic.c | if( !((j=inb( qbase + 8 )) & 8) ) { |
inb | 245 | drivers/scsi/qlogic.c | if( reqlen >= 40 && !(inb( qbase + 8 ) & 4 ) ) { /* 2/3 */ |
inb | 256 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 2 ) ) { |
inb | 261 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 265 | drivers/scsi/qlogic.c | return inb( qbase + 8 ) & 0xc0; |
inb | 275 | drivers/scsi/qlogic.c | while ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0)) |
inb | 303 | drivers/scsi/qlogic.c | inb(qbase + 5); /* clear interrupts */ |
inb | 304 | drivers/scsi/qlogic.c | if (inb(qbase + 5)) /* if still interrupting */ |
inb | 306 | drivers/scsi/qlogic.c | else if (inb(qbase + 7) & 0x1f) |
inb | 308 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear ints */ |
inb | 312 | drivers/scsi/qlogic.c | inb(qbase + 8); /* clear int bits */ |
inb | 348 | drivers/scsi/qlogic.c | j = inb(qbase + 6); |
inb | 349 | drivers/scsi/qlogic.c | i = inb(qbase + 5); |
inb | 353 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); /* the 0x10 bit can be set after the 0x08 */ |
inb | 365 | drivers/scsi/qlogic.c | printk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f ); |
inb | 370 | drivers/scsi/qlogic.c | if (inb(qbase + 7) & 0x1f) /* if some bytes in fifo */ |
inb | 375 | drivers/scsi/qlogic.c | if (reqlen && !((phase = inb(qbase + 4)) & 6)) { /* data phase */ |
inb | 403 | drivers/scsi/qlogic.c | k = inb(qbase + 5); /* should be 0x10, bus service */ |
inb | 407 | drivers/scsi/qlogic.c | while ( k > jiffies && !qabort && !(inb(qbase + 4) & 6)); /* wait for status phase */ |
inb | 412 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear pending ints */ |
inb | 418 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* get chip irq stat */ |
inb | 419 | drivers/scsi/qlogic.c | j = inb(qbase + 7) & 0x1f; /* and bytes rec'd */ |
inb | 420 | drivers/scsi/qlogic.c | status = inb(qbase + 2); |
inb | 421 | drivers/scsi/qlogic.c | message = inb(qbase + 2); |
inb | 432 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* should be bus service */ |
inb | 435 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); |
inb | 450 | drivers/scsi/qlogic.c | if (!(inb(qbase + 4) & 0x80)) /* false alarm? */ |
inb | 455 | drivers/scsi/qlogic.c | while (i-- && inb(qbase + 5)); /* maybe also ql_zap() */ |
inb | 553 | drivers/scsi/qlogic.c | if ( ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) |
inb | 554 | drivers/scsi/qlogic.c | && ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) ) |
inb | 563 | drivers/scsi/qlogic.c | qltyp = inb(qbase + 0xe) & 0xf8; |
inb | 575 | drivers/scsi/qlogic.c | while( inb( qbase + 0xf ) & 4 ); |
inb | 592 | drivers/scsi/qlogic.c | i &= ~(inb(0x20) | (inb(0xa0) << 8)); /* find IRQ off */ |
inb | 594 | drivers/scsi/qlogic.c | i &= inb(0x20) | (inb(0xa0) << 8); /* find IRQ on */ |
inb | 597 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* purge int */ |
inb | 290 | drivers/scsi/u14-34f.c | while (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED) |
inb | 389 | drivers/scsi/u14-34f.c | if (inb(*port_base + REG_PRODUCT_ID1) != PRODUCT_ID1) return FALSE; |
inb | 391 | drivers/scsi/u14-34f.c | in_byte = inb(*port_base + REG_PRODUCT_ID2); |
inb | 395 | drivers/scsi/u14-34f.c | *(char *)&config_1 = inb(*port_base + REG_CONFIG1); |
inb | 396 | drivers/scsi/u14-34f.c | *(char *)&config_2 = inb(*port_base + REG_CONFIG2); |
inb | 441 | drivers/scsi/u14-34f.c | sys_mask = inb(sh[j]->io_port + REG_SYS_MASK); |
inb | 442 | drivers/scsi/u14-34f.c | lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK); |
inb | 857 | drivers/scsi/u14-34f.c | while (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED) { |
inb | 390 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address)); |
inb | 405 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1); |
inb | 448 | drivers/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(config.port_address + 0)); |
inb | 449 | drivers/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); |
inb | 537 | drivers/scsi/ultrastor.c | if (inb(addr) != US24F_PRODUCT_ID_0 && |
inb | 538 | drivers/scsi/ultrastor.c | inb(addr+1) != US24F_PRODUCT_ID_1 && |
inb | 539 | drivers/scsi/ultrastor.c | inb(addr+2) != US24F_PRODUCT_ID_2) |
inb | 542 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
inb | 544 | drivers/scsi/ultrastor.c | if (! (inb(addr+4) & 1)) |
inb | 554 | drivers/scsi/ultrastor.c | config_1 = inb(addr + 5); |
inb | 586 | drivers/scsi/ultrastor.c | config_2 = inb(addr + 7); |
inb | 739 | drivers/scsi/ultrastor.c | while (inb(config.ogm_address - 1) != 0 && |
inb | 744 | drivers/scsi/ultrastor.c | while ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
inb | 754 | drivers/scsi/ultrastor.c | if (inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
inb | 855 | drivers/scsi/ultrastor.c | unsigned char p = inb(port0 + i); |
inb | 862 | drivers/scsi/ultrastor.c | ogm_status = inb(port0 + 22); |
inb | 864 | drivers/scsi/ultrastor.c | icm_status = inb(port0 + 27); |
inb | 872 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) == 2 : |
inb | 873 | drivers/scsi/ultrastor.c | (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
inb | 895 | drivers/scsi/ultrastor.c | if (config.slot && inb(config.ogm_address - 1) == 0) |
inb | 902 | drivers/scsi/ultrastor.c | inb(0xc80); /* delay */ |
inb | 1047 | drivers/scsi/ultrastor.c | unsigned char icm_status = inb(config.icm_address - 1); |
inb | 1140 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) : (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
inb | 555 | drivers/scsi/wd7000.c | WAITbits = inb(port) & (mask); \ |
inb | 578 | drivers/scsi/wd7000.c | } while (inb(host->iobase+ASC_STAT) & CMD_REJ); |
inb | 818 | drivers/scsi/wd7000.c | flag = inb(host->iobase+ASC_INTR_STAT); |
inb | 823 | drivers/scsi/wd7000.c | if (!(inb(host->iobase+ASC_STAT) & INT_IM)) { |
inb | 1005 | drivers/scsi/wd7000.c | if ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1) { |
inb | 1189 | drivers/scsi/wd7000.c | if (inb(host->iobase+ASC_STAT) & INT_IM) { |
inb | 161 | drivers/sound/os.h | #define INB inb |
inb | 352 | 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 | 299 | include/asm-alpha/lca.h | (__builtin_constant_p((port))?__inb(port):(inb)(port)) |
inb | 304 | 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 | 302 | include/linux/sbpcd.h | #define DRV_ATTN ((inb(CDi_status)&s_attention)!=0) |
inb | 303 | include/linux/sbpcd.h | #define DATA_READY ((inb(CDi_status)&s_not_data_ready)==0) |
inb | 304 | include/linux/sbpcd.h | #define RESULT_READY ((inb(CDi_status)&s_not_result_ready)==0) |
inb | 122 | 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) |