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 | 286 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 299 | drivers/block/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 312 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 325 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 348 | drivers/block/aztcd.c | { if (!(inb(STATUS_PORT) & AFL_STATUS)) |
inb | 410 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_STATUS) break; |
inb | 411 | drivers/block/aztcd.c | inb(DATA_PORT); /* if status left from last command, read and */ |
inb | 413 | drivers/block/aztcd.c | do { if (inb(STATUS_PORT)&AFL_DATA) break; |
inb | 414 | drivers/block/aztcd.c | inb(DATA_PORT); /* if data left from last command, read and */ |
inb | 419 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 424 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 456 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 461 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 487 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 494 | drivers/block/aztcd.c | data=inb(DATA_PORT); |
inb | 525 | drivers/block/aztcd.c | { st = inb(DATA_PORT) & 0xFF; |
inb | 540 | drivers/block/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 845 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK?*/ |
inb | 1001 | drivers/block/aztcd.c | azt_error=inb(DATA_PORT)&0xFF; |
inb | 1174 | drivers/block/aztcd.c | st = inb(STATUS_PORT) & AFL_STATUSorDATA; /*???*/ |
inb | 1300 | drivers/block/aztcd.c | if ( !(inb(STATUS_PORT) & AFL_DATA) ) { |
inb | 1302 | drivers/block/aztcd.c | for (i=0; i<CD_FRAMESIZE_RAW; i++) inb(DATA_PORT); |
inb | 1304 | drivers/block/aztcd.c | for (i=0; i<CD_FRAMESIZE; i++) inb(DATA_PORT); |
inb | 1540 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1541 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1546 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 1551 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK? If not, reset and try again*/ |
inb | 1566 | drivers/block/aztcd.c | { inb(STATUS_PORT); /*removing all data from earlier tries*/ |
inb | 1567 | drivers/block/aztcd.c | inb(DATA_PORT); |
inb | 1570 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1571 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1574 | drivers/block/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK?*/ |
inb | 1595 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1596 | drivers/block/aztcd.c | inb(CMD_PORT); |
inb | 1604 | drivers/block/aztcd.c | result[0]=inb(DATA_PORT); /*reading in a null byte???*/ |
inb | 1607 | drivers/block/aztcd.c | do { aztIndatum=inb(STATUS_PORT);/*because we want to exit by timeout*/ |
inb | 1612 | drivers/block/aztcd.c | result[count]=inb(DATA_PORT); |
inb | 1713 | drivers/block/aztcd.c | s = inb(DATA_PORT) & 0xFF; |
inb | 416 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_ATTN_BIT) != 0); |
inb | 422 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_BUSY_BIT) != 0); |
inb | 428 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_DATA_RDY_BIT) != 0); |
inb | 434 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_DATA_REQUEST_BIT) != 0); |
inb | 440 | drivers/block/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_RES_RDY_BIT) != 0); |
inb | 446 | drivers/block/cdu31a.c | return((inb(sony_cd_fifost_reg) & SONY_PARAM_WRITE_RDY_BIT) != 0); |
inb | 452 | drivers/block/cdu31a.c | return((inb(sony_cd_fifost_reg) & SONY_RES_REG_NOT_EMP_BIT) != 0); |
inb | 489 | drivers/block/cdu31a.c | return(inb(sony_cd_status_reg)); |
inb | 495 | drivers/block/cdu31a.c | return(inb(sony_cd_result_reg)); |
inb | 501 | 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 | 235 | drivers/block/ide.c | #define IN_BYTE(p,hwif) (byte)inb(IDE_PORT(p,hwif)) |
inb | 414 | drivers/block/ide.c | i |= inb(0x40) << 8; |
inb | 644 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & 0xFF; |
inb | 650 | drivers/block/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 892 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & (MFL_STATUSorDATA); |
inb | 957 | drivers/block/mcd.c | if ((st = (inb(MCDPORT(1))) & (MFL_STATUSorDATA)) != (MFL_STATUSorDATA)) { |
inb | 999 | drivers/block/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 1002 | drivers/block/mcd.c | inb(MCDPORT(0)); |
inb | 1003 | drivers/block/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 1005 | drivers/block/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 1008 | drivers/block/mcd.c | inb(MCDPORT(0)); |
inb | 1009 | drivers/block/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 1222 | drivers/block/mcd.c | (void) inb(MCDPORT(1)); /* delay a bit */ |
inb | 1226 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1238 | drivers/block/mcd.c | count = inb(MCDPORT(0)); /* pick up the status */ |
inb | 1350 | drivers/block/mcd.c | st = inb(MCDPORT(1)) & MFL_STATUS; |
inb | 1353 | drivers/block/mcd.c | i = inb(MCDPORT(0)) & 0xFF; |
inb | 1386 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1420 | drivers/block/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 1451 | drivers/block/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1460 | 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 | 347 | 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 | 151 | drivers/char/psaux.c | if ((inb(AUX_STATUS) & AUX_OBUF_FULL) == AUX_OBUF_FULL) |
inb | 153 | drivers/char/psaux.c | return (inb(AUX_INPUT_PORT)); |
inb | 203 | drivers/char/psaux.c | queue->buf[head] = inb(AUX_INPUT_PORT); |
inb | 226 | drivers/char/psaux.c | queue->buf[head] = inb(qp_data); |
inb | 530 | drivers/char/psaux.c | while ((inb(AUX_STATUS)&0x03) && retries < MAX_RETRIES) { |
inb | 545 | drivers/char/psaux.c | while ((inb(AUX_STATUS)&0x03) && retries < 1000000) { |
inb | 562 | 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 | 154 | drivers/net/3c503.c | if (inb(ioaddr + 0x408) == 0xff) { |
inb | 161 | drivers/net/3c503.c | iobase_reg = inb(ioaddr+0x403); |
inb | 162 | drivers/net/3c503.c | membase_reg = inb(ioaddr+0x404); |
inb | 173 | drivers/net/3c503.c | if ( inb(ioaddr + 0) != 0x02 |
inb | 174 | drivers/net/3c503.c | || inb(ioaddr + 1) != 0x60 |
inb | 175 | drivers/net/3c503.c | || inb(ioaddr + 2) != 0x8c) { |
inb | 196 | drivers/net/3c503.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 340 | drivers/net/3c503.c | printk("%#lx=%#02x %#lx=%#02x %#lx=%#02x...", E33G_IDCFR, inb(E33G_IDCFR), |
inb | 341 | drivers/net/3c503.c | E33G_CNTRL, inb(E33G_CNTRL), E33G_GACFR, inb(E33G_GACFR)); |
inb | 412 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 456 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 143 | drivers/net/3c505.c | return inb(base_addr+PORT_STATUS); |
inb | 149 | drivers/net/3c505.c | return inb(base_addr+PORT_CONTROL); |
inb | 155 | drivers/net/3c505.c | return inb(base_addr+PORT_COMMAND); |
inb | 352 | drivers/net/3c507.c | if (inb(ioaddr) == '*' && inb(ioaddr+1) == '3' |
inb | 353 | drivers/net/3c507.c | && inb(ioaddr+2) == 'C' && inb(ioaddr+3) == 'O') |
inb | 370 | drivers/net/3c507.c | irq = inb(ioaddr + IRQ_CONFIG) & 0x0f; |
inb | 384 | drivers/net/3c507.c | dev->dev_addr[i] = inb(ioaddr + i); |
inb | 398 | drivers/net/3c507.c | char mem_config = inb(ioaddr + MEM_CONFIG); |
inb | 412 | drivers/net/3c507.c | dev->if_port = (inb(ioaddr + ROM_CONFIG) & 0x80) ? 1 : 0; |
inb | 413 | drivers/net/3c507.c | dev->irq = inb(ioaddr + IRQ_CONFIG) & 0x0f; |
inb | 297 | drivers/net/3c509.c | word = (word << 1) + (inb(ID_PORT) & 0x01); |
inb | 353 | drivers/net/3c509.c | inb(ioaddr + i); |
inb | 354 | drivers/net/3c509.c | inb(ioaddr + 10); |
inb | 355 | drivers/net/3c509.c | inb(ioaddr + 12); |
inb | 397 | drivers/net/3c509.c | dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS)); |
inb | 424 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS), inb(ioaddr + TX_STATUS), |
inb | 459 | drivers/net/3c509.c | while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { |
inb | 558 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
inb | 559 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
inb | 560 | drivers/net/3c509.c | /* Multiple collisions. */ inb(ioaddr + 2); |
inb | 561 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
inb | 562 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
inb | 563 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
inb | 564 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
inb | 565 | drivers/net/3c509.c | /* Rx packets */ inb(ioaddr + 7); |
inb | 566 | drivers/net/3c509.c | /* Tx deferrals */ inb(ioaddr + 8); |
inb | 145 | drivers/net/8390.c | int txsr = inb(e8390_base+EN0_TSR), isr; |
inb | 150 | drivers/net/8390.c | isr = inb(e8390_base+EN0_ISR); |
inb | 341 | drivers/net/8390.c | int status = inb(e8390_base + EN0_TSR); |
inb | 107 | drivers/net/ac3200.c | printk(" %02x", inb(ioaddr + AC_SA_PROM + i)); |
inb | 112 | drivers/net/ac3200.c | if (inb(ioaddr + AC_SA_PROM + 0) != AC_ADDR0 |
inb | 113 | drivers/net/ac3200.c | || inb(ioaddr + AC_SA_PROM + 1) != AC_ADDR1 |
inb | 114 | drivers/net/ac3200.c | || inb(ioaddr + AC_SA_PROM + 2) != AC_ADDR2 ) { |
inb | 130 | drivers/net/ac3200.c | dev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i); |
inb | 134 | drivers/net/ac3200.c | " EISA ID %02x %02x %02x %02x.\n", inb(ioaddr + AC_CONFIG), |
inb | 135 | drivers/net/ac3200.c | inb(ioaddr + AC_ID_PORT + 0), inb(ioaddr + AC_ID_PORT + 1), |
inb | 136 | drivers/net/ac3200.c | inb(ioaddr + AC_ID_PORT + 2), inb(ioaddr + AC_ID_PORT + 3)); |
inb | 141 | drivers/net/ac3200.c | dev->irq = config2irq(inb(ioaddr + AC_CONFIG)); |
inb | 159 | drivers/net/ac3200.c | outb((inb(ioaddr + AC_CONFIG) & ~7) | i, ioaddr + AC_CONFIG); |
inb | 163 | drivers/net/ac3200.c | dev->if_port = inb(ioaddr + AC_CONFIG) >> 6; |
inb | 164 | 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 | 697 | drivers/net/arcnet.c | printk("arcnet: status1=%Xh\n",inb(STATUS)); |
inb | 707 | drivers/net/arcnet.c | inb(RESET); |
inb | 711 | drivers/net/arcnet.c | if (inb(STATUS)==0xFF) |
inb | 727 | drivers/net/arcnet.c | curval=initval=inb(COMMAND); |
inb | 730 | drivers/net/arcnet.c | curval=inb(COMMAND); |
inb | 742 | drivers/net/arcnet.c | printk("arcnet: status2=%Xh\n",inb(STATUS)); |
inb | 746 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 750 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 788 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag on */ |
inb | 794 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) /* reset flag STILL on */ |
inb | 798 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 877 | drivers/net/arcnet.c | dev->name,inb(STATUS)); |
inb | 879 | drivers/net/arcnet.c | inb(RESET); /* Reset by reading this port */ |
inb | 1062 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 1077 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 1130 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1139 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1156 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1182 | drivers/net/arcnet.c | if (lp->txready && inb(STATUS)&TXFREEflag) |
inb | 1228 | drivers/net/arcnet.c | if (lp->txready && inb(STATUS)&TXFREEflag) |
inb | 1421 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1423 | drivers/net/arcnet.c | if (!(inb(STATUS)&TXFREEflag) || !lp->txready) return; |
inb | 1627 | drivers/net/arcnet.c | printk("arcnet: in net_interrupt (status=%Xh)\n",inb(STATUS)); |
inb | 1631 | drivers/net/arcnet.c | status = inb(STATUS); |
inb | 1784 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1824 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 188 | drivers/net/at1700.c | if (at1700_probe_list[inb(ioaddr + IOCONFIG) & 0x07] != ioaddr |
inb | 307 | drivers/net/at1700.c | retval = (retval << 1) | ((inb(ee_daddr) & EE_DATA_READ) ? 1 : 0); |
inb | 382 | drivers/net/at1700.c | inw(ioaddr + STATUS), inb(ioaddr + TX_STATUS) & 0x80 |
inb | 469 | drivers/net/at1700.c | || (inb(ioaddr + RX_MODE) & 0x40) == 0) { /* Got a packet(s). */ |
inb | 504 | drivers/net/at1700.c | while ((inb(ioaddr + RX_MODE) & 0x40) == 0) { |
inb | 510 | drivers/net/at1700.c | dev->name, inb(ioaddr + RX_MODE), status); |
inb | 565 | drivers/net/at1700.c | if ((inb(ioaddr + RX_MODE) & 0x40) == 0x40) |
inb | 573 | 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 | 2238 | drivers/net/de4x5.c | data = inb(aprom_addr); |
inb | 2289 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
inb | 2291 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
inb | 2308 | drivers/net/de4x5.c | chksum = (u_char) inb(EISA_APROM); |
inb | 2309 | 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(dd) (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 | 78 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
inb | 84 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
inb | 142 | drivers/net/e2100.c | if (inb(ioaddr + E21_SAPROM + 0) != 0x00 |
inb | 143 | drivers/net/e2100.c | || inb(ioaddr + E21_SAPROM + 1) != 0x00 |
inb | 144 | drivers/net/e2100.c | || inb(ioaddr + E21_SAPROM + 2) != 0x1d) |
inb | 150 | drivers/net/e2100.c | status = inb(ioaddr); |
inb | 159 | drivers/net/e2100.c | station_addr[i] = inb(ioaddr + E21_SAPROM + i); |
inb | 161 | drivers/net/e2100.c | inb(ioaddr + E21_MEDIA); /* Point to media selection. */ |
inb | 200 | drivers/net/e2100.c | inb(ioaddr + E21_MEDIA); /* Turn automatic media detection on. */ |
inb | 202 | drivers/net/e2100.c | if (station_addr[i] != inb(ioaddr + E21_SAPROM + 8 + i)) { |
inb | 249 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_LOW); |
inb | 251 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_HIGH); /* High IRQ bit, and if_port. */ |
inb | 254 | drivers/net/e2100.c | inb(ioaddr + E21_MEM_BASE); |
inb | 332 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_LOW); |
inb | 334 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_HIGH); /* High IRQ bit, and if_port. */ |
inb | 321 | drivers/net/eepro.c | if (((id=inb(ioaddr + ID_REG)) & ID_REG_MASK) == ID_REG_SIG) { |
inb | 328 | drivers/net/eepro.c | if (((id=inb(ioaddr+ID_REG)) & R_ROBIN_BITS) == |
inb | 362 | drivers/net/eepro.c | id = inb(ioaddr + REG3); |
inb | 453 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 466 | drivers/net/eepro.c | temp_reg = inb(ioaddr + INT_NO_REG); |
inb | 489 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 532 | drivers/net/eepro.c | temp_reg = inb(ioaddr + EEPROM_REG); |
inb | 538 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); /* Setup Transmit Chaining */ |
inb | 542 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG2); /* Match broadcast */ |
inb | 545 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG3); |
inb | 551 | drivers/net/eepro.c | temp_reg = inb(ioaddr + INT_NO_REG); |
inb | 561 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 689 | drivers/net/eepro.c | status = inb(ioaddr + STATUS_REG); |
inb | 735 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 799 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 801 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 808 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 810 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 824 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 826 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 863 | drivers/net/eepro.c | if (inb(ioaddr + STATUS_REG) & 0x08) { |
inb | 864 | drivers/net/eepro.c | i = inb(ioaddr); |
inb | 918 | 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 | 167 | drivers/net/hp-plus.c | unsigned char inval = inb(ioaddr + 8 + i); |
inb | 172 | drivers/net/hp-plus.c | checksum += inb(ioaddr + 14); |
inb | 189 | drivers/net/hp-plus.c | int irq = inb(ioaddr + 13) & 0x0f; |
inb | 114 | drivers/net/hp.c | if (inb(ioaddr) != 0x08 |
inb | 115 | drivers/net/hp.c | || inb(ioaddr+1) != 0x00 |
inb | 116 | drivers/net/hp.c | || inb(ioaddr+2) != 0x09 |
inb | 117 | drivers/net/hp.c | || inb(ioaddr+14) == 0x57) |
inb | 122 | drivers/net/hp.c | if ((board_id = inb(ioaddr + HP_ID)) & 0x80) { |
inb | 139 | drivers/net/hp.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 241 | drivers/net/hp.c | buf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++; |
inb | 323 | drivers/net/hp100.c | if ( inb( ioaddr + 0 ) != HP100_HW_ID_0 || |
inb | 324 | drivers/net/hp100.c | inb( ioaddr + 1 ) != HP100_HW_ID_1 || |
inb | 325 | drivers/net/hp100.c | ( inb( ioaddr + 2 ) & 0xf0 ) != HP100_HW_ID_2_REVA || |
inb | 326 | 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 | 181 | drivers/net/ibmtr.c | segment = inb(PIOaddr); |
inb | 282 | 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 | 185 | drivers/net/ne.c | outb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET); |
inb | 223 | drivers/net/ne.c | SA_prom[i] = inb(ioaddr + NE_DATAPORT); |
inb | 224 | drivers/net/ne.c | SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); |
inb | 358 | drivers/net/ne.c | outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); |
inb | 404 | drivers/net/ne.c | buf[count-1] = inb(NE_BASE + NE_DATAPORT); |
inb | 322 | drivers/net/ni52.c | if( (inb(base_addr+NI52_MAGIC1) == NI52_MAGICVAL1) && |
inb | 323 | drivers/net/ni52.c | (inb(base_addr+NI52_MAGIC2) == NI52_MAGICVAL2)) |
inb | 332 | drivers/net/ni52.c | if( !(inb(ioaddr+NI52_MAGIC1) == NI52_MAGICVAL1) || |
inb | 333 | drivers/net/ni52.c | !(inb(ioaddr+NI52_MAGIC2) == NI52_MAGICVAL2)) |
inb | 351 | drivers/net/ni52.c | dev->dev_addr[i] = inb(dev->base_addr+i); |
inb | 191 | drivers/net/ni65.c | if( !(inb(ioaddr+L_EBASE+6) == CARD_ID0) || |
inb | 192 | drivers/net/ni65.c | !(inb(ioaddr+L_EBASE+7) == CARD_ID1) ) |
inb | 211 | 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 | 611 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 626 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 674 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 764 | drivers/net/plip.c | status = inb(PAR_STATUS(dev)); |
inb | 799 | 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 | 124 | drivers/net/smc-ultra.c | unsigned char idreg = inb(ioaddr + 7); |
inb | 125 | drivers/net/smc-ultra.c | unsigned char reg4 = inb(ioaddr + 4) & 0x7f; |
inb | 136 | drivers/net/smc-ultra.c | checksum += inb(ioaddr + 8 + i); |
inb | 150 | drivers/net/smc-ultra.c | printk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i)); |
inb | 157 | drivers/net/smc-ultra.c | outb(0x80 | inb(ioaddr + 0x0c), ioaddr + 0x0c); |
inb | 158 | drivers/net/smc-ultra.c | irqreg = inb(ioaddr + 0xd); |
inb | 159 | drivers/net/smc-ultra.c | addr = inb(ioaddr + 0xb); |
inb | 242 | drivers/net/wavelan.c | *b++ = inb(PIOP2(ioaddr)); |
inb | 114 | drivers/net/wd.c | checksum += inb(ioaddr + 8 + i); |
inb | 115 | drivers/net/wd.c | if (inb(ioaddr + 8) == 0xff /* Extra check to avoid soundcard. */ |
inb | 116 | drivers/net/wd.c | || inb(ioaddr + 9) == 0xff |
inb | 125 | drivers/net/wd.c | printk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i)); |
inb | 132 | drivers/net/wd.c | if (inb(ioaddr+0) == 'P' && inb(ioaddr+1) == 'D') { |
inb | 133 | drivers/net/wd.c | unsigned char reg5 = inb(ioaddr+5); |
inb | 135 | drivers/net/wd.c | switch (inb(ioaddr+2)) { |
inb | 152 | drivers/net/wd.c | if (inb(ioaddr+i) != inb(ioaddr+8+i)) |
inb | 159 | drivers/net/wd.c | int tmp = inb(ioaddr+1); /* fiddle with 16bit bit */ |
inb | 161 | drivers/net/wd.c | if (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card */ |
inb | 163 | drivers/net/wd.c | int asic_reg5 = inb(ioaddr+WD_CMDREG5); |
inb | 176 | drivers/net/wd.c | if ( !ancient && (inb(ioaddr+1) & 0x01) != (word16 & 0x01)) |
inb | 178 | drivers/net/wd.c | word16 ? 16 : 8, (inb(ioaddr+1) & 0x01) ? 16 : 8); |
inb | 188 | drivers/net/wd.c | int reg0 = inb(ioaddr); |
inb | 194 | drivers/net/wd.c | int high_addr_bits = inb(ioaddr+WD_CMDREG5) & 0x1f; |
inb | 208 | drivers/net/wd.c | int reg1 = inb(ioaddr+1); |
inb | 209 | drivers/net/wd.c | int reg4 = inb(ioaddr+4); |
inb | 272 | drivers/net/wd.c | if (inb(ioaddr+14) & 0x20) |
inb | 273 | 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 | 822 | drivers/scsi/aha1542.c | i = inb(STATUS(base_io)); |
inb | 824 | drivers/scsi/aha1542.c | i = inb(DATA(base_io)); |
inb | 1109 | drivers/scsi/aha1542.c | inb(STATUS(SCpnt->host->io_port)), |
inb | 1110 | 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 | 687 | drivers/scsi/aic7xxx.c | while ((inb(HCNTRL(p->base)) & PAUSE) == 0) \ |
inb | 703 | drivers/scsi/aic7xxx.c | } while (inb(SEQADDR0(p->base)) != 0 && \ |
inb | 704 | drivers/scsi/aic7xxx.c | inb(SEQADDR1(p->base)) != 0); \ |
inb | 967 | drivers/scsi/aic7xxx.c | host_conf = inb(HA_HOSTCONF(p->base)); |
inb | 968 | drivers/scsi/aic7xxx.c | scsi_conf = inb(HA_SCSICONF(p->base)); |
inb | 1163 | drivers/scsi/aic7xxx.c | } while ((inb(SEQADDR0(base)) != 0) && (inb(SEQADDR1(base)) != 0)); |
inb | 1450 | drivers/scsi/aic7xxx.c | while ((p != NULL) && !(inb(INTSTAT(p->base)) & INT_PEND)) |
inb | 1499 | drivers/scsi/aic7xxx.c | intstat = inb(INTSTAT(base)); |
inb | 1504 | drivers/scsi/aic7xxx.c | unsigned char errno = inb(ERROR(base)); |
inb | 1516 | drivers/scsi/aic7xxx.c | inb(ERROR(base)), |
inb | 1517 | drivers/scsi/aic7xxx.c | inb(SEQADDR1(base)) << 8 | inb(SEQADDR0(base))); |
inb | 1537 | drivers/scsi/aic7xxx.c | rej_byte = inb(HA_REJBYTE(base)); |
inb | 1538 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1539 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 1550 | drivers/scsi/aic7xxx.c | scsi_id, (inb(SBLKCTL(base)) & SELBUSB ? 'B': 'A')); |
inb | 1559 | drivers/scsi/aic7xxx.c | (inb(SELID(base)) >> 4) & 0x0F, |
inb | 1560 | drivers/scsi/aic7xxx.c | (inb(SEQADDR1(base)) << 8) | inb(SEQADDR0(base))); |
inb | 1564 | drivers/scsi/aic7xxx.c | tcl = inb(SCBARRAY(base) + 1); |
inb | 1577 | drivers/scsi/aic7xxx.c | active = inb(HA_ACTIVE1(base)); |
inb | 1583 | drivers/scsi/aic7xxx.c | active = inb(HA_ACTIVE0(base)); |
inb | 1606 | drivers/scsi/aic7xxx.c | transfer = (inb(HA_ARG_1(base)) << 2); |
inb | 1607 | drivers/scsi/aic7xxx.c | offset = inb(ACCUM(base)); |
inb | 1608 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1609 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL(base)) & 0x08) |
inb | 1614 | drivers/scsi/aic7xxx.c | scratch = inb(HA_TARG_SCRATCH(base) + scsi_id); |
inb | 1673 | drivers/scsi/aic7xxx.c | bus_width = inb(ACCUM(base)); |
inb | 1674 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1675 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL(base)) & 0x08) |
inb | 1681 | drivers/scsi/aic7xxx.c | scratch = inb(HA_TARG_SCRATCH(base) + scsi_id); |
inb | 1747 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1748 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL(base)) & 0x08) |
inb | 1755 | drivers/scsi/aic7xxx.c | targ_scratch = inb(HA_TARG_SCRATCH(base) + scsi_id); |
inb | 1793 | drivers/scsi/aic7xxx.c | scsi_id = inb(SCSIID(base)) >> 0x04; |
inb | 1794 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 1879 | drivers/scsi/aic7xxx.c | head = inb(WAITING_SCBH(base)); |
inb | 1880 | drivers/scsi/aic7xxx.c | tail = inb(WAITING_SCBT(base)); |
inb | 1945 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 1970 | drivers/scsi/aic7xxx.c | actual -= ((inb(SCBARRAY(base + 17)) << 16) | |
inb | 1971 | drivers/scsi/aic7xxx.c | (inb(SCBARRAY(base + 16)) << 8) | |
inb | 1972 | drivers/scsi/aic7xxx.c | inb(SCBARRAY(base + 15))); |
inb | 1988 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 2030 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 2060 | drivers/scsi/aic7xxx.c | intstat, inb(SCSISIGI(base))); |
inb | 2069 | drivers/scsi/aic7xxx.c | int status = inb(SSTAT1(base)); |
inb | 2071 | drivers/scsi/aic7xxx.c | scbptr = inb(SCBPTR(base)); |
inb | 2113 | drivers/scsi/aic7xxx.c | ha_flags = inb(HA_FLAGS(base)); |
inb | 2118 | drivers/scsi/aic7xxx.c | active = inb(HA_ACTIVE1(base)); |
inb | 2124 | drivers/scsi/aic7xxx.c | active = inb(HA_ACTIVE0(base)); |
inb | 2153 | drivers/scsi/aic7xxx.c | waiting = inb(WAITING_SCBH(base)); |
inb | 2155 | drivers/scsi/aic7xxx.c | waiting = inb(SCBARRAY(base) + 30); |
inb | 2236 | drivers/scsi/aic7xxx.c | complete = inb(QOUTFIFO(base)); |
inb | 2244 | drivers/scsi/aic7xxx.c | complete, inb(QOUTFIFO(base)), |
inb | 2294 | drivers/scsi/aic7xxx.c | } while (inb(QOUTCNT(base))); |
inb | 2344 | drivers/scsi/aic7xxx.c | buf[i] = inb(base + i); |
inb | 2354 | drivers/scsi/aic7xxx.c | if (inb(base + 4) & 1) |
inb | 2430 | drivers/scsi/aic7xxx.c | while ((inb(SEECTL(base)) & SEERDY) == 0) \ |
inb | 2444 | drivers/scsi/aic7xxx.c | while ((jiffies < timeout) && ((inb(SEECTL(base)) & SEERDY) == 0)) |
inb | 2448 | drivers/scsi/aic7xxx.c | if ((inb(SEECTL(base)) & SEERDY) == 0) |
inb | 2504 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(SEECTL(base)) & SEEDI); |
inb | 2580 | drivers/scsi/aic7xxx.c | sblkctl_reg = inb(SBLKCTL(base)) ^ AUTOFLUSHDIS; |
inb | 2582 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL(base)) == sblkctl_reg) |
inb | 2663 | drivers/scsi/aic7xxx.c | printk("aha274x: aic7770 hcntrl=0x%x\n", inb(HCNTRL(config.base))); |
inb | 2675 | drivers/scsi/aic7xxx.c | config.unpause = (inb(HCNTRL(config.base)) & IRQMS) | INTEN; |
inb | 2699 | drivers/scsi/aic7xxx.c | if (inb(HCNTRL(config.base)) & CHIPRST) |
inb | 2709 | drivers/scsi/aic7xxx.c | config.irq = inb(HA_INTDEF(config.base)) & 0x0F; |
inb | 2710 | drivers/scsi/aic7xxx.c | host_conf = inb(HA_HOSTCONF(config.base)); |
inb | 2726 | drivers/scsi/aic7xxx.c | printk("aha284x: aic7770 hcntrl=0x%x\n", inb(HCNTRL(config.base))); |
inb | 2732 | drivers/scsi/aic7xxx.c | config.irq = inb(HA_INTDEF(config.base)) & 0x0F; |
inb | 2733 | drivers/scsi/aic7xxx.c | host_conf = inb(HA_HOSTCONF(config.base)); |
inb | 2751 | drivers/scsi/aic7xxx.c | printk("aic%s hcntrl=0x%x\n", board_name[type], inb(HCNTRL(config.base))); |
inb | 2784 | drivers/scsi/aic7xxx.c | outb(inb(DSPCISTATUS(config.base)) | DFTHRESH, DSPCISTATUS(config.base)); |
inb | 2821 | drivers/scsi/aic7xxx.c | sblkctl = inb(SBLKCTL(base)) & 0x0F; /* mask out upper two bits */ |
inb | 2825 | drivers/scsi/aic7xxx.c | config.scsi_id = inb(HA_SCSICONF(base)) & 0x07; |
inb | 2831 | drivers/scsi/aic7xxx.c | config.scsi_id = inb(HA_SCSICONF(base) + 1) & 0x0F; |
inb | 2839 | drivers/scsi/aic7xxx.c | config.scsi_id = inb(HA_SCSICONF(base)) & 0x07; |
inb | 2841 | drivers/scsi/aic7xxx.c | config.scsi_id_b = inb(HA_SCSICONF(base) + 1) & 0x07; |
inb | 2856 | drivers/scsi/aic7xxx.c | "mail deang@ims.com\n", inb(SBLKCTL(base))); |
inb | 3042 | drivers/scsi/aic7xxx.c | scsi_conf = inb(HA_SCSICONF(base) + 1) & (ENSPCHK | STIMESEL); |
inb | 3050 | drivers/scsi/aic7xxx.c | scsi_conf = inb(HA_SCSICONF(base)) & (ENSPCHK | STIMESEL); |
inb | 3090 | drivers/scsi/aic7xxx.c | target_settings = inb(HA_TARG_SCRATCH(base) + i); |
inb | 3249 | drivers/scsi/aic7xxx.c | printk("aic7xxx: hcntrl=0x%x\n", inb(HCNTRL(base))); |
inb | 3250 | drivers/scsi/aic7xxx.c | outb(inb(HCNTRL(base)) | CHIPRST, HCNTRL(base)); |
inb | 3251 | drivers/scsi/aic7xxx.c | irq = inb(HA_INTDEF(base)) & 0x0F; |
inb | 3356 | drivers/scsi/aic7xxx.c | printk("aic7xxx: hcntrl=0x%x\n", inb(HCNTRL(base))); |
inb | 3358 | drivers/scsi/aic7xxx.c | outb(inb(HCNTRL(base)) | CHIPRST, HCNTRL(base)); |
inb | 3614 | drivers/scsi/aic7xxx.c | curscb = inb(SCBPTR(p->base)); |
inb | 3658 | drivers/scsi/aic7xxx.c | old_scbptr = inb(SCBPTR(p->base)); |
inb | 3739 | drivers/scsi/aic7xxx.c | queued = inb(QINCNT(p->base)); |
inb | 3743 | drivers/scsi/aic7xxx.c | scbsave[i] = inb(QINFIFO(p->base)); |
inb | 3763 | drivers/scsi/aic7xxx.c | active_scb = inb(SCBPTR(p->base)); |
inb | 3775 | drivers/scsi/aic7xxx.c | scb_control = inb(SCBARRAY(p->base)); |
inb | 3783 | drivers/scsi/aic7xxx.c | scb_control = inb(SCBARRAY(p->base)); |
inb | 3798 | drivers/scsi/aic7xxx.c | flags = inb(HA_FLAGS(p->base)); |
inb | 3848 | 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 | 116 | 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 | 304 | drivers/scsi/eata_dma.c | while (inb(base + HA_RAUXSTAT) & HA_ABUSY) |
inb | 515 | drivers/scsi/eata_dma.c | while (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 570 | drivers/scsi/eata_dma.c | while (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 609 | drivers/scsi/eata_dma.c | inb((u32) (cmd->host->base) + HA_RSTATUS); /* This might cause trouble */ |
inb | 721 | drivers/scsi/eata_dma.c | inb((u32) (base) + HA_RSTATUS); |
inb | 763 | drivers/scsi/eata_dma.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 774 | drivers/scsi/eata_dma.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 782 | drivers/scsi/eata_dma.c | if (!(inb(base + HA_RSTATUS) & HA_SERROR)) { /* Error ? */ |
inb | 788 | drivers/scsi/eata_dma.c | while (inb(base + HA_RSTATUS) & HA_SDRQ) |
inb | 1093 | drivers/scsi/eata_dma.c | pal1 = inb((u16)base - 8); |
inb | 1094 | drivers/scsi/eata_dma.c | pal2 = inb((u16)base - 7); |
inb | 1095 | drivers/scsi/eata_dma.c | pal3 = inb((u16)base - 6); |
inb | 1198 | drivers/scsi/eata_dma.c | if ((inb(base) == 0x12) && (inb(base + 1) == 0x14)) |
inb | 141 | drivers/scsi/eata_pio.c | if (inb((uint)sh->base + HA_RSTATUS) & HA_SBUSY) |
inb | 154 | drivers/scsi/eata_pio.c | stat=inb(base+HA_RSTATUS); |
inb | 226 | drivers/scsi/eata_pio.c | if (!(inb(base+HA_RSTATUS)&HA_SERROR)) |
inb | 237 | drivers/scsi/eata_pio.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 266 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 382 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)); |
inb | 410 | drivers/scsi/eata_pio.c | while (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 556 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)); |
inb | 561 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY); |
inb | 562 | drivers/scsi/eata_pio.c | if (inb(base + HA_RSTATUS) & HA_SERROR) |
inb | 564 | drivers/scsi/eata_pio.c | else if (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 569 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS)&HA_SDRQ) inw(base + HA_RDATA); |
inb | 585 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 596 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 603 | drivers/scsi/eata_pio.c | if (!(inb(base + HA_RSTATUS) & HA_SERROR)) { /* Error ? */ |
inb | 609 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SDRQ) |
inb | 650 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY); |
inb | 653 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 655 | drivers/scsi/eata_pio.c | if (inb(base + HA_RSTATUS) & HA_SDRQ) |
inb | 664 | drivers/scsi/eata_pio.c | } while (inb(base+HA_RSTATUS) & (HA_SBUSY|HA_SDRQ)); |
inb | 666 | drivers/scsi/eata_pio.c | return (!(inb(base+HA_RSTATUS) & HA_SERROR)); |
inb | 840 | drivers/scsi/eata_pio.c | pal1 = inb((u16)base - 8); |
inb | 841 | drivers/scsi/eata_pio.c | pal2 = inb((u16)base - 7); |
inb | 842 | drivers/scsi/eata_pio.c | pal3 = inb((u16)base - 6); |
inb | 921 | 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) |