tag | line | file | source code |
inb | 430 | arch/alpha/kernel/bios32.c | data = inb(ide_base+1); /* read the current contents */ |
inb | 277 | arch/alpha/kernel/irq.c | printk("61=%02x, 461=%02x\n", inb(0x61), inb(0x461)); |
inb | 293 | arch/alpha/kernel/irq.c | inb(0x64), inb(0x60), inb(0x3fa), inb(0x2fa)); |
inb | 380 | arch/alpha/kernel/irq.c | if (!(inb(0x20) & 0x80)) { |
inb | 402 | arch/alpha/kernel/irq.c | pic = inb(0x20) | (inb(0xA0) << 8); /* read isr */ |
inb | 425 | arch/alpha/kernel/irq.c | pld = inb(0x804) | (inb(0x805) << 8) | (inb(0x806) << 16); |
inb | 454 | arch/alpha/kernel/irq.c | pld = inb(0x26) | (inb(0x27) << 8); |
inb | 99 | arch/alpha/lib/io.c | *(unsigned char *) dst = inb(port); |
inb | 106 | arch/alpha/lib/io.c | w = inb(port); |
inb | 107 | arch/alpha/lib/io.c | w |= inb(port) << 8; |
inb | 108 | arch/alpha/lib/io.c | w |= inb(port) << 16; |
inb | 109 | arch/alpha/lib/io.c | w |= inb(port) << 24; |
inb | 116 | arch/alpha/lib/io.c | *(unsigned char *) dst = inb(port); |
inb | 126 | arch/i386/kernel/time.c | count |= inb(0x40) << 8; |
inb | 131 | arch/i386/kernel/time.c | if (inb(0x20) & 1) |
inb | 66 | arch/mips/kernel/time.c | count |= inb(0x40) << 8; |
inb | 71 | arch/mips/kernel/time.c | if (inb(0x20) & 1) |
inb | 117 | arch/ppc/kernel/irq.c | irq = inb(0x20); |
inb | 122 | arch/ppc/kernel/irq.c | irq = inb(0xA0) & 0x07; |
inb | 175 | arch/ppc/kernel/irq.c | _a1 = inb(0xA1); |
inb | 176 | arch/ppc/kernel/irq.c | _21 = inb(0x21); |
inb | 177 | arch/ppc/kernel/irq.c | outb(0x0C, 0x20); _20 = inb(0x20); |
inb | 178 | arch/ppc/kernel/irq.c | outb(0x0C, 0xA0); _a0 = inb(0xA0); |
inb | 36 | arch/ppc/kernel/port_io.c | unsigned char inb_p(int port) {return (inb(port)); } |
inb | 456 | arch/ppc/kernel/raw_printf.c | inb(int port) |
inb | 796 | arch/ppc/kernel/raw_printf.c | outb(0x3C5, inb(0x3C5)&~20); |
inb | 984 | arch/ppc/kernel/raw_printf.c | if ((inb(KBSTATP) & KBINRDY) == 0) |
inb | 986 | arch/ppc/kernel/raw_printf.c | } else while((inb(KBSTATP) & KBINRDY) == 0) |
inb | 988 | arch/ppc/kernel/raw_printf.c | dt = inb(KBDATAP); |
inb | 1042 | arch/ppc/kernel/raw_printf.c | while((inb(KBSTATP) & KBINRDY) == 0) ; |
inb | 1043 | arch/ppc/kernel/raw_printf.c | dt = inb(KBDATAP); |
inb | 1063 | arch/ppc/kernel/raw_printf.c | while (inb(KBSTATP) & KBOUTRDY) |
inb | 1066 | arch/ppc/kernel/raw_printf.c | while (inb(KBSTATP) & KBOUTRDY) |
inb | 1071 | arch/ppc/kernel/raw_printf.c | while (inb(KBSTATP) & KBOUTRDY) |
inb | 1075 | arch/ppc/kernel/raw_printf.c | while ((c = inb(KBDATAP)) != 0xFA) |
inb | 1088 | arch/ppc/kernel/raw_printf.c | return ((inb(KBSTATP) & KBINRDY) != 0); |
inb | 57 | arch/ppc/kernel/setup.c | unsigned char dram_size = inb(0x0804); |
inb | 60 | arch/ppc/kernel/setup.c | _printk("Config registers = %x/%x/%x\n", inb(0x0800), inb(0x0801), inb(0x0802)); |
inb | 103 | drivers/block/ali14xx.c | return inb(dataPort); |
inb | 176 | drivers/block/ali14xx.c | regOff = inb(basePort); |
inb | 179 | drivers/block/ali14xx.c | if (inb(basePort) == regOn) { |
inb | 210 | drivers/block/ali14xx.c | t = inb(regPort) & 0x01; |
inb | 258 | drivers/block/cmd640.c | b = inb(0x17c); |
inb | 261 | drivers/block/cmd640.c | b = inb(0x7c); |
inb | 639 | drivers/block/cmd640.c | for (i = 0; (i < 100) && (inb (p_base + 7) & 0x80); i++) |
inb | 46 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 48 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 50 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 51 | drivers/block/dtc2278.c | if(inb(0xb4) == c) { |
inb | 53 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 96 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 98 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 106 | drivers/block/hd.c | i |= inb(0x40) << 8; |
inb | 150 | drivers/block/hd.c | hd_error = inb(HD_ERROR); |
inb | 160 | drivers/block/hd.c | printk(", CHS=%d/%d/%d", (inb(HD_HCYL)<<8) + inb(HD_LCYL), |
inb | 161 | drivers/block/hd.c | inb(HD_CURRENT) & 0xf, inb(HD_SECTOR)); |
inb | 381 | drivers/block/hd.c | else if ((hd_error = inb(HD_ERROR)) != 1) |
inb | 140 | drivers/block/ht6560b.c | (void) inb(HT_SELECT_PORT); |
inb | 141 | drivers/block/ht6560b.c | (void) inb(HT_SELECT_PORT); |
inb | 142 | drivers/block/ht6560b.c | (void) inb(HT_SELECT_PORT); |
inb | 146 | drivers/block/ht6560b.c | t = inb(HT_SELECT_PORT) ^ 0x3f; |
inb | 154 | drivers/block/ht6560b.c | (void) inb (IDE_STATUS_REG); |
inb | 168 | drivers/block/ht6560b.c | if ((orig_value=inb(HT_SELECT_PORT)) == 0xff) |
inb | 173 | drivers/block/ht6560b.c | if (!( (~inb(HT_SELECT_PORT)) & 0x3f )) { |
inb | 179 | drivers/block/ht6560b.c | if ((~inb(HT_SELECT_PORT))& 0x3f) { |
inb | 268 | drivers/block/ide.c | i |= inb(0x40) << 8; |
inb | 365 | drivers/block/ide.c | (void) inb (port); |
inb | 366 | drivers/block/ide.c | (void) inb (port); |
inb | 367 | drivers/block/ide.c | (void) inb (port); |
inb | 106 | drivers/block/ide.h | #define IN_BYTE(p) (byte)inb(p) |
inb | 57 | drivers/block/qd6580.c | inb(0x3f6); |
inb | 152 | drivers/block/triton.c | dma_stat = inb(dma_base+2); /* get DMA status */ |
inb | 153 | drivers/block/triton.c | outb(inb(dma_base)&~1, dma_base); /* stop DMA operation */ |
inb | 280 | drivers/block/triton.c | outb(inb(dma_base)&~1, dma_base); /* stop DMA */ |
inb | 289 | drivers/block/triton.c | return ((inb(dma_base+2) & 7) != 4); /* verify good DMA status */ |
inb | 297 | drivers/block/triton.c | outb(inb(dma_base)|1, dma_base); /* begin DMA */ |
inb | 314 | drivers/block/triton.c | outb(inb(dma_base)|1, dma_base); /* begin DMA */ |
inb | 396 | drivers/block/xd.c | if (inb(XD_STATUS) & STAT_INTERRUPT) { /* check if it was our device */ |
inb | 449 | drivers/block/xd.c | while (((inb(port) & mask) != flags) && (jiffies < expiry)) |
inb | 473 | drivers/block/xd.c | switch (inb(XD_STATUS) & (STAT_COMMAND | STAT_INPUT)) { |
inb | 489 | drivers/block/xd.c | *indata++ = inb(XD_DATA); |
inb | 491 | drivers/block/xd.c | inb(XD_DATA); |
inb | 501 | drivers/block/xd.c | csb = inb(XD_DATA); |
inb | 292 | drivers/cdrom/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 305 | drivers/cdrom/aztcd.c | do { aztIndatum=inb(DATA_PORT); |
inb | 318 | drivers/cdrom/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 331 | drivers/cdrom/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 354 | drivers/cdrom/aztcd.c | { if (!(inb(STATUS_PORT) & AFL_STATUS)) |
inb | 416 | drivers/cdrom/aztcd.c | do { if (inb(STATUS_PORT)&AFL_STATUS) break; |
inb | 417 | drivers/cdrom/aztcd.c | inb(DATA_PORT); /* if status left from last command, read and */ |
inb | 419 | drivers/cdrom/aztcd.c | do { if (inb(STATUS_PORT)&AFL_DATA) break; |
inb | 420 | drivers/cdrom/aztcd.c | inb(DATA_PORT); /* if data left from last command, read and */ |
inb | 425 | drivers/cdrom/aztcd.c | data=inb(DATA_PORT); |
inb | 430 | drivers/cdrom/aztcd.c | data=inb(DATA_PORT); |
inb | 462 | drivers/cdrom/aztcd.c | data=inb(DATA_PORT); |
inb | 467 | drivers/cdrom/aztcd.c | data=inb(DATA_PORT); |
inb | 495 | drivers/cdrom/aztcd.c | data=inb(DATA_PORT); |
inb | 500 | drivers/cdrom/aztcd.c | data=inb(DATA_PORT); |
inb | 526 | drivers/cdrom/aztcd.c | data=inb(DATA_PORT); |
inb | 533 | drivers/cdrom/aztcd.c | data=inb(DATA_PORT); |
inb | 564 | drivers/cdrom/aztcd.c | { st = inb(DATA_PORT) & 0xFF; |
inb | 579 | drivers/cdrom/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
inb | 878 | drivers/cdrom/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK?*/ |
inb | 1047 | drivers/cdrom/aztcd.c | azt_error=inb(DATA_PORT)&0xFF; |
inb | 1237 | drivers/cdrom/aztcd.c | st = inb(STATUS_PORT) & AFL_STATUSorDATA; /*???*/ |
inb | 1363 | drivers/cdrom/aztcd.c | if ( !(inb(STATUS_PORT) & AFL_DATA) ) { |
inb | 1365 | drivers/cdrom/aztcd.c | for (i=0; i<CD_FRAMESIZE_RAW; i++) inb(DATA_PORT); |
inb | 1367 | drivers/cdrom/aztcd.c | for (i=0; i<CD_FRAMESIZE; i++) inb(DATA_PORT); |
inb | 1574 | drivers/cdrom/aztcd.c | inb(CMD_PORT); |
inb | 1575 | drivers/cdrom/aztcd.c | inb(CMD_PORT); |
inb | 1580 | drivers/cdrom/aztcd.c | do { aztIndatum=inb(STATUS_PORT); |
inb | 1585 | drivers/cdrom/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK? If not, reset and try again*/ |
inb | 1600 | drivers/cdrom/aztcd.c | { inb(STATUS_PORT); /*removing all data from earlier tries*/ |
inb | 1601 | drivers/cdrom/aztcd.c | inb(DATA_PORT); |
inb | 1604 | drivers/cdrom/aztcd.c | inb(CMD_PORT); |
inb | 1605 | drivers/cdrom/aztcd.c | inb(CMD_PORT); |
inb | 1609 | drivers/cdrom/aztcd.c | if (inb(DATA_PORT)!=AFL_OP_OK) /*OP_OK?*/ |
inb | 1625 | drivers/cdrom/aztcd.c | inb(CMD_PORT); |
inb | 1626 | drivers/cdrom/aztcd.c | inb(CMD_PORT); |
inb | 1634 | drivers/cdrom/aztcd.c | result[0]=inb(DATA_PORT); /*reading in a null byte???*/ |
inb | 1637 | drivers/cdrom/aztcd.c | do { aztIndatum=inb(STATUS_PORT);/*because we want to exit by timeout*/ |
inb | 1642 | drivers/cdrom/aztcd.c | result[count]=inb(DATA_PORT); |
inb | 1736 | drivers/cdrom/aztcd.c | s = inb(DATA_PORT) & 0xFF; |
inb | 1824 | drivers/cdrom/aztcd.c | for (st=0;st<CD_FRAMESIZE;st++) inb(DATA_PORT); |
inb | 420 | drivers/cdrom/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_ATTN_BIT) != 0); |
inb | 426 | drivers/cdrom/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_BUSY_BIT) != 0); |
inb | 432 | drivers/cdrom/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_DATA_RDY_BIT) != 0); |
inb | 438 | drivers/cdrom/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_DATA_REQUEST_BIT) != 0); |
inb | 444 | drivers/cdrom/cdu31a.c | return((inb(sony_cd_status_reg) & SONY_RES_RDY_BIT) != 0); |
inb | 450 | drivers/cdrom/cdu31a.c | return((inb(sony_cd_fifost_reg) & SONY_PARAM_WRITE_RDY_BIT) != 0); |
inb | 456 | drivers/cdrom/cdu31a.c | return((inb(sony_cd_fifost_reg) & SONY_RES_REG_NOT_EMP_BIT) != 0); |
inb | 495 | drivers/cdrom/cdu31a.c | return(inb(sony_cd_status_reg)); |
inb | 501 | drivers/cdrom/cdu31a.c | return(inb(sony_cd_result_reg)); |
inb | 507 | drivers/cdrom/cdu31a.c | return(inb(sony_cd_read_reg)); |
inb | 233 | drivers/cdrom/cm206.c | cd->intr_ur = inb(r_uart_receive); /* get order right! */ |
inb | 462 | drivers/cdrom/gscd.c | found = inb ( GSCDPORT(0) ); |
inb | 464 | drivers/cdrom/gscd.c | read = inb ( GSCDPORT(0) ); |
inb | 590 | drivers/cdrom/gscd.c | disk_state = inb ( GSCDPORT (2)); |
inb | 714 | drivers/cdrom/gscd.c | read = inb (GSCDPORT(2)); |
inb | 765 | drivers/cdrom/gscd.c | *pb = inb (GSCDPORT(2)); |
inb | 800 | drivers/cdrom/gscd.c | disk_state = inb ( GSCDPORT (2)); |
inb | 70 | drivers/cdrom/isp16.c | #define ISP16_IN(p) (outb(isp16_ctrl,ISP16_CTRL_PORT), inb(p)) |
inb | 635 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & 0xFF; |
inb | 641 | drivers/cdrom/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 883 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & (MFL_STATUSorDATA); |
inb | 948 | drivers/cdrom/mcd.c | if ((st = (inb(MCDPORT(1))) & (MFL_STATUSorDATA)) != (MFL_STATUSorDATA)) { |
inb | 990 | drivers/cdrom/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 993 | drivers/cdrom/mcd.c | inb(MCDPORT(0)); |
inb | 994 | drivers/cdrom/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 996 | drivers/cdrom/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 999 | drivers/cdrom/mcd.c | inb(MCDPORT(0)); |
inb | 1000 | drivers/cdrom/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 1195 | drivers/cdrom/mcd.c | (void) inb(MCDPORT(1)); /* delay a bit */ |
inb | 1199 | drivers/cdrom/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1207 | drivers/cdrom/mcd.c | count = inb(MCDPORT(0)); /* pick up the status */ |
inb | 1303 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & MFL_STATUS; |
inb | 1306 | drivers/cdrom/mcd.c | i = inb(MCDPORT(0)) & 0xFF; |
inb | 1339 | drivers/cdrom/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1373 | drivers/cdrom/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 1404 | drivers/cdrom/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1413 | drivers/cdrom/mcd.c | s = inb(MCDPORT(0)) & 0xFF; |
inb | 627 | drivers/cdrom/mcdx.c | if (inb((unsigned int) stuffp->rreg_status) & MCDX_RBIT_DOOR) { |
inb | 852 | drivers/cdrom/mcdx.c | (~(x = inb((unsigned int) stuffp->rreg_status)) & MCDX_RBIT_DTEN))) |
inb | 854 | drivers/cdrom/mcdx.c | irq, x, inb((unsigned int) stuffp->rreg_data))); |
inb | 1189 | drivers/cdrom/mcdx.c | for (i = 100; i; i--) (void) inb((unsigned int) stuffp->rreg_status); |
inb | 1742 | drivers/cdrom/mcdx.c | while (inb((unsigned int) stuffp->rreg_status) & MCDX_RBIT_STEN) { |
inb | 1747 | drivers/cdrom/mcdx.c | *buf = (unsigned char) inb((unsigned int) stuffp->rreg_data) & 0xff; |
inb | 237 | drivers/cdrom/optcd.c | while ((flag_high = (inb(STATUS_PORT) & flag))) |
inb | 263 | drivers/cdrom/optcd.c | int flags = inb(STATUS_PORT) & FL_STDT; |
inb | 280 | drivers/cdrom/optcd.c | flag_high = inb(STATUS_PORT) & flag; |
inb | 284 | drivers/cdrom/optcd.c | flag_high = inb(STATUS_PORT) & flag; |
inb | 315 | drivers/cdrom/optcd.c | ack = inb(DATA_PORT); /* read command acknowledge */ |
inb | 344 | drivers/cdrom/optcd.c | ack = inb(DATA_PORT); /* read command acknowledge */ |
inb | 365 | drivers/cdrom/optcd.c | ack = inb(DATA_PORT); /* read command acknowledge */ |
inb | 381 | drivers/cdrom/optcd.c | exec_status = inb(DATA_PORT); |
inb | 396 | drivers/cdrom/optcd.c | data = inb(DATA_PORT); |
inb | 412 | drivers/cdrom/optcd.c | inb(DATA_PORT); |
inb | 415 | drivers/cdrom/optcd.c | while ((flags = (inb(STATUS_PORT) & FL_RESET)) != FL_RESET) |
inb | 434 | drivers/cdrom/optcd.c | return inb(STATUS_PORT) & FL_STDT; |
inb | 443 | drivers/cdrom/optcd.c | if (inb(STATUS_PORT) & FL_STEN) |
inb | 446 | drivers/cdrom/optcd.c | status = inb(DATA_PORT); |
inb | 463 | drivers/cdrom/optcd.c | while ((inb(STATUS_PORT) & FL_STDT) != FL_STDT) |
inb | 464 | drivers/cdrom/optcd.c | inb(DATA_PORT); |
inb | 92 | drivers/cdrom/optcd_isp16.h | #define ISP16_IN(p) (outb(isp16_ctrl,ISP16_CTRL_PORT), inb(p)) |
inb | 276 | drivers/cdrom/optcd_isp16.h | if( !( inb( 0x534 ) & 0x80 ) ) break; |
inb | 279 | drivers/cdrom/optcd_isp16.h | saved = ( inb( 0x534 ) & 0xE0 ) | 0x0A; |
inb | 282 | drivers/cdrom/optcd_isp16.h | special_mask = ( inb( 0x535 ) >> 4 ) & 0x08; |
inb | 284 | drivers/cdrom/optcd_isp16.h | saved = ( inb( 0x534 ) & 0xE0 ) | 0x0C; |
inb | 287 | drivers/cdrom/optcd_isp16.h | switch( inb( 0x535 ) ) { |
inb | 304 | drivers/cdrom/optcd_isp16.h | saved = inb( 0x534 ) & 0xE0; |
inb | 311 | drivers/cdrom/optcd_isp16.h | saved = inb( 0x535 ); |
inb | 934 | drivers/cdrom/sbpcd.c | for (i=maxtim_data;i!=0;i--) inb(CDi_status); |
inb | 945 | drivers/cdrom/sbpcd.c | j=inb(CDi_status); |
inb | 963 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 972 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 981 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 999 | drivers/cdrom/sbpcd.c | st=inb(CDi_status); |
inb | 1007 | drivers/cdrom/sbpcd.c | infobuf[i]=inb(CDi_info); |
inb | 1010 | drivers/cdrom/sbpcd.c | while (!(inb(CDi_status)&s_not_result_ready)) |
inb | 1012 | drivers/cdrom/sbpcd.c | infobuf[i++]=inb(CDi_info); |
inb | 1135 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 1150 | drivers/cdrom/sbpcd.c | i=inb(CDi_info); |
inb | 1235 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 1245 | drivers/cdrom/sbpcd.c | j=inb(CDi_info); |
inb | 1246 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 1258 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 1282 | drivers/cdrom/sbpcd.c | else infobuf[l++]=inb(CDi_data); |
inb | 1283 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 1298 | drivers/cdrom/sbpcd.c | else i=inb(CDi_data); |
inb | 1300 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 1307 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 1315 | drivers/cdrom/sbpcd.c | infobuf[m++]=inb(CDi_info); |
inb | 1316 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 2965 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 3196 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 3201 | drivers/cdrom/sbpcd.c | i=inb(CDi_info); |
inb | 3341 | drivers/cdrom/sbpcd.c | save_port0=inb(port+0); |
inb | 3342 | drivers/cdrom/sbpcd.c | save_port3=inb(port+3); |
inb | 3354 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3355 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
inb | 3370 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3371 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
inb | 3394 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3395 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
inb | 3411 | drivers/cdrom/sbpcd.c | if (inb(port+1)&s_not_result_ready) continue; |
inb | 3412 | drivers/cdrom/sbpcd.c | response[k]=inb(port+0); |
inb | 3714 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 4252 | drivers/cdrom/sbpcd.c | j=inb(CDi_status); |
inb | 4303 | drivers/cdrom/sbpcd.c | j=inb(CDi_status); |
inb | 4648 | drivers/cdrom/sbpcd.c | j=inb(CDi_status); |
inb | 4684 | drivers/cdrom/sbpcd.c | j=inb(CDi_status); |
inb | 4733 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 4741 | drivers/cdrom/sbpcd.c | else i=inb(CDi_data); |
inb | 4743 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 4754 | drivers/cdrom/sbpcd.c | infobuf[l++]=inb(CDi_info); |
inb | 4755 | drivers/cdrom/sbpcd.c | i=inb(CDi_status); |
inb | 4816 | drivers/cdrom/sbpcd.c | j=inb(CDi_status); |
inb | 5122 | drivers/cdrom/sbpcd.c | i=inb(SPEA_REG_1); |
inb | 5144 | drivers/cdrom/sbpcd.c | i=(inb(SPEA_REG_2)&0xCF)|n_ports; |
inb | 264 | drivers/cdrom/sjcd.c | for( i = 200; i-- && !SJCD_STATUS_AVAILABLE( inb( SJCDPORT( 1 ) ) ); ); |
inb | 265 | drivers/cdrom/sjcd.c | if( i > 0 ) *resp++ = ( unsigned char )inb( SJCDPORT( 0 ) ); |
inb | 278 | drivers/cdrom/sjcd.c | sjcd_completion_status = inb( SJCDPORT( 0 ) ); |
inb | 289 | drivers/cdrom/sjcd.c | while( !SJCD_STATUS_AVAILABLE( inb( SJCDPORT( 1 ) ) ) ); |
inb | 290 | drivers/cdrom/sjcd.c | sjcd_completion_error = inb( SJCDPORT( 0 ) ); |
inb | 320 | drivers/cdrom/sjcd.c | if( SJCD_STATUS_AVAILABLE( inb( SJCDPORT( 1 ) ) ) ){ |
inb | 1100 | drivers/cdrom/sjcd.c | sjcd_s_data: stat = inb( SJCDPORT( 1 ) ); |
inb | 1215 | drivers/cdrom/sjcd.c | stat = inb( SJCDPORT( 1 ) ); |
inb | 1227 | drivers/cdrom/sjcd.c | for( i = 2048; i--; ( void )inb( SJCDPORT( 2 ) ) ); |
inb | 376 | drivers/cdrom/sonycd535.c | if (((read_status = inb(read_status_reg)) & SONY535_RESULT_NOT_READY_BIT) == 0) { |
inb | 381 | drivers/cdrom/sonycd535.c | *data_ptr = inb(result_reg); |
inb | 621 | drivers/cdrom/sonycd535.c | read_status = inb(read_status_reg); |
inb | 630 | drivers/cdrom/sonycd535.c | *data_buff++ = inb(data_reg); /* unrolling this loop does not seem to help */ |
inb | 1523 | drivers/cdrom/sonycd535.c | inb(select_unit_reg); |
inb | 1527 | drivers/cdrom/sonycd535.c | inb(result_reg); |
inb | 1533 | drivers/cdrom/sonycd535.c | if (inb(result_reg) != 0xff) |
inb | 44 | drivers/char/atixlmouse.c | outb( (0x20 | inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 48 | drivers/char/atixlmouse.c | outb( (0xdf & inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 52 | drivers/char/atixlmouse.c | outb( (0xe7 & inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 56 | drivers/char/atixlmouse.c | outb( (0x08 | inb( ATIXL_MSE_DATA_PORT )), ATIXL_MSE_DATA_PORT ); } |
inb | 78 | drivers/char/atixlmouse.c | dx = inb( ATIXL_MSE_DATA_PORT); |
inb | 80 | drivers/char/atixlmouse.c | dy = inb( ATIXL_MSE_DATA_PORT); |
inb | 82 | drivers/char/atixlmouse.c | buttons = inb( ATIXL_MSE_DATA_PORT); |
inb | 206 | drivers/char/atixlmouse.c | a = inb( ATIXL_MSE_SIGNATURE_PORT ); /* Get signature */ |
inb | 207 | drivers/char/atixlmouse.c | b = inb( ATIXL_MSE_SIGNATURE_PORT ); |
inb | 208 | drivers/char/atixlmouse.c | c = inb( ATIXL_MSE_SIGNATURE_PORT ); |
inb | 69 | drivers/char/busmouse.c | dx = (inb(MSE_DATA_PORT) & 0xf); |
inb | 71 | drivers/char/busmouse.c | dx |= (inb(MSE_DATA_PORT) & 0xf) << 4; |
inb | 73 | drivers/char/busmouse.c | dy = (inb(MSE_DATA_PORT) & 0xf); |
inb | 75 | drivers/char/busmouse.c | buttons = inb(MSE_DATA_PORT); |
inb | 257 | drivers/char/busmouse.c | if (inb(MSE_SIGNATURE_PORT) != MSE_SIGNATURE_BYTE) { |
inb | 207 | drivers/char/console.c | #define serial_echo_inb(a) inb((a)+serial_echo_port) |
inb | 3992 | drivers/char/istallion.c | if (inb(0xc80) == 0xff) |
inb | 4000 | drivers/char/istallion.c | eid = inb(iobase + 0xc80); |
inb | 4001 | drivers/char/istallion.c | eid |= inb(iobase + 0xc81) << 8; |
inb | 4040 | drivers/char/istallion.c | eid = inb(iobase + 0xc82); |
inb | 352 | drivers/char/keyboard.c | scancode = inb(0x60); |
inb | 1246 | drivers/char/keyboard.c | status = inb(KBD_STATUS_REG); |
inb | 1256 | drivers/char/keyboard.c | data = inb(KBD_DATA_REG); |
inb | 1277 | drivers/char/keyboard.c | status = inb(KBD_STATUS_REG); /* spin until input buffer empty*/ |
inb | 139 | drivers/char/mem.c | put_user(inb(i),tmp); |
inb | 57 | drivers/char/msbusmouse.c | outb((inb(MS_MSE_DATA_PORT) | 0x20), MS_MSE_DATA_PORT); |
inb | 60 | drivers/char/msbusmouse.c | dx = inb(MS_MSE_DATA_PORT); |
inb | 63 | drivers/char/msbusmouse.c | dy = inb(MS_MSE_DATA_PORT); |
inb | 66 | drivers/char/msbusmouse.c | buttons = ~(inb(MS_MSE_DATA_PORT)) & 0x07; |
inb | 69 | drivers/char/msbusmouse.c | outb((inb(MS_MSE_DATA_PORT) & 0xdf), MS_MSE_DATA_PORT); |
inb | 164 | drivers/char/psaux.c | if ((inb(AUX_STATUS) & AUX_OBUF_FULL) == AUX_OBUF_FULL) |
inb | 166 | drivers/char/psaux.c | return (inb(AUX_INPUT_PORT)); |
inb | 216 | drivers/char/psaux.c | if ((inb(AUX_STATUS) & AUX_OBUF_FULL) != AUX_OBUF_FULL) |
inb | 219 | drivers/char/psaux.c | add_mouse_randomness(queue->buf[head] = inb(AUX_INPUT_PORT)); |
inb | 242 | drivers/char/psaux.c | add_mouse_randomness(queue->buf[head] = inb(qp_data)); |
inb | 549 | drivers/char/psaux.c | while ((inb(AUX_STATUS)&0x03) && retries < MAX_RETRIES) { |
inb | 564 | drivers/char/psaux.c | while ((inb(AUX_STATUS)&0x03) && retries < 1000000) { |
inb | 581 | drivers/char/psaux.c | while ((inb(qp_status)&(QP_RX_FULL|QP_TX_IDLE|QP_DEV_IDLE)) |
inb | 378 | drivers/char/random.c | num |= inb(0x40) << 24; |
inb | 241 | drivers/char/serial.c | return inb(info->port+1); |
inb | 244 | drivers/char/serial.c | return inb(info->port + offset); |
inb | 256 | drivers/char/serial.c | return inb(info->port + offset); |
inb | 536 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 574 | drivers/char/serial.c | info->irq, first_multi, inb(multi->port_monitor)); |
inb | 601 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 623 | drivers/char/serial.c | info->irq, first_multi, inb(multi->port_monitor)); |
inb | 654 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 688 | drivers/char/serial.c | inb(multi->port_monitor)); |
inb | 689 | drivers/char/serial.c | if ((inb(multi->port1) & multi->mask1) != multi->match1) |
inb | 693 | drivers/char/serial.c | if ((inb(multi->port2) & multi->mask2) != multi->match2) |
inb | 697 | drivers/char/serial.c | if ((inb(multi->port3) & multi->mask3) != multi->match3) |
inb | 701 | drivers/char/serial.c | if ((inb(multi->port4) & multi->mask4) == multi->match4) |
inb | 1111 | drivers/char/serial.c | (void) inb((info->port & 0xFE0) | 0x01F); |
inb | 1496 | drivers/char/stallion.c | return(inb(portp->ioaddr + EREG_DATA)); |
inb | 1508 | drivers/char/stallion.c | if (inb(portp->ioaddr + EREG_DATA) != value) { |
inb | 1540 | drivers/char/stallion.c | ioack = inb(ioaddr + EREG_TXACK); |
inb | 1566 | drivers/char/stallion.c | outb((inb(ioaddr + EREG_DATA) & ~COR2_ETC), (ioaddr + EREG_DATA)); |
inb | 1581 | drivers/char/stallion.c | srer = inb(ioaddr + EREG_DATA); |
inb | 1635 | drivers/char/stallion.c | ioack = inb(ioaddr + EREG_RXACK); |
inb | 1645 | drivers/char/stallion.c | len = inb(ioaddr + EREG_DATA); |
inb | 1664 | drivers/char/stallion.c | status = inb(ioaddr + EREG_DATA); |
inb | 1665 | drivers/char/stallion.c | ch = inb(ioaddr + EREG_DATA); |
inb | 1722 | drivers/char/stallion.c | ioack = inb(ioaddr + EREG_MDACK); |
inb | 1730 | drivers/char/stallion.c | misr = inb(ioaddr + EREG_DATA); |
inb | 1777 | drivers/char/stallion.c | if ((inb(brdp->iostatus) & EIO_INTRPEND) == 0) { |
inb | 1784 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
inb | 1787 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
inb | 1790 | drivers/char/stallion.c | if ((inb(brdp->iostatus) & ECH_INTRPEND) == 0) { |
inb | 1798 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1802 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1811 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
inb | 1813 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
inb | 1819 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1823 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1832 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
inb | 1834 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
inb | 1836 | drivers/char/stallion.c | if ((inb(brdp->iostatus) & ECH_INTRPEND) == 0) { |
inb | 1843 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1847 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1856 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
inb | 1858 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
inb | 2419 | drivers/char/stallion.c | if ((gfrcr = inb(ioaddr + EREG_DATA)) != 0) |
inb | 2493 | drivers/char/stallion.c | status = inb(brdp->iostatus); |
inb | 2564 | drivers/char/stallion.c | status = inb(brdp->iostatus); |
inb | 2585 | drivers/char/stallion.c | status = inb(brdp->iostatus); |
inb | 2617 | drivers/char/stallion.c | status = inb(ioaddr + ECH_PNLSTATUS); |
inb | 608 | drivers/char/tpqic02.c | return (inb(QIC02_STAT_PORT) & QIC02_STAT_EXCEPTION) == 0; |
inb | 1058 | drivers/char/tpqic02.c | stat = inb(QIC02_STAT_PORT) & QIC02_STAT_MASK; |
inb | 1554 | drivers/char/tpqic02.c | inb(MTN_R_DESELECT_DMA_PORT); |
inb | 1721 | drivers/char/tpqic02.c | inb(MTN_R_DESELECT_DMA_PORT); |
inb | 1811 | drivers/char/tpqic02.c | stat = inb(QIC02_STAT_PORT); /* Knock, knock */ |
inb | 1876 | drivers/char/tpqic02.c | inb(QIC02_STAT_PORT)); |
inb | 255 | drivers/net/3c501.c | station_addr[i] = inb(ioaddr + EL1_SAPROM); |
inb | 288 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear pending interrupts. */ |
inb | 289 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 396 | drivers/net/3c501.c | dev->name, inb(TX_STATUS), inb(AX_STATUS), inb(RX_STATUS)); |
inb | 512 | drivers/net/3c501.c | axsr = inb(AX_STATUS); |
inb | 540 | drivers/net/3c501.c | int txsr = inb(TX_STATUS); |
inb | 621 | drivers/net/3c501.c | int rxsr = inb(RX_STATUS); |
inb | 623 | drivers/net/3c501.c | printk(" rxsr=%02x txsr=%02x rp=%04x", rxsr, inb(TX_STATUS),inw(RX_LOW)); |
inb | 662 | drivers/net/3c501.c | inb(RX_STATUS); /* Be certain that interrupts are cleared. */ |
inb | 663 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 747 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear status. */ |
inb | 748 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 794 | drivers/net/3c501.c | inb(RX_STATUS); |
inb | 799 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear status. */ |
inb | 804 | drivers/net/3c501.c | inb(RX_STATUS); |
inb | 159 | drivers/net/3c503.c | if (inb(ioaddr + 0x408) == 0xff) { |
inb | 166 | drivers/net/3c503.c | iobase_reg = inb(ioaddr+0x403); |
inb | 167 | drivers/net/3c503.c | membase_reg = inb(ioaddr+0x404); |
inb | 179 | drivers/net/3c503.c | vendor_id = inb(ioaddr)*0x10000 + inb(ioaddr + 1)*0x100 + inb(ioaddr + 2); |
inb | 207 | drivers/net/3c503.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 386 | drivers/net/3c503.c | printk("%#lx=%#02x %#lx=%#02x %#lx=%#02x...", E33G_IDCFR, inb(E33G_IDCFR), |
inb | 387 | drivers/net/3c503.c | E33G_CNTRL, inb(E33G_CNTRL), E33G_GACFR, inb(E33G_GACFR)); |
inb | 458 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 498 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) { |
inb | 544 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 140 | drivers/net/3c505.c | return inb(base_addr+PORT_STATUS); |
inb | 146 | drivers/net/3c505.c | return inb(base_addr+PORT_CONTROL); |
inb | 152 | drivers/net/3c505.c | return inb(base_addr+PORT_COMMAND); |
inb | 344 | drivers/net/3c507.c | if (inb(ioaddr) == '*' && inb(ioaddr+1) == '3' |
inb | 345 | drivers/net/3c507.c | && inb(ioaddr+2) == 'C' && inb(ioaddr+3) == 'O') |
inb | 362 | drivers/net/3c507.c | irq = inb(ioaddr + IRQ_CONFIG) & 0x0f; |
inb | 376 | drivers/net/3c507.c | dev->dev_addr[i] = inb(ioaddr + i); |
inb | 390 | drivers/net/3c507.c | char mem_config = inb(ioaddr + MEM_CONFIG); |
inb | 404 | drivers/net/3c507.c | dev->if_port = (inb(ioaddr + ROM_CONFIG) & 0x80) ? 1 : 0; |
inb | 405 | drivers/net/3c507.c | dev->irq = inb(ioaddr + IRQ_CONFIG) & 0x0f; |
inb | 295 | drivers/net/3c509.c | word = (word << 1) + (inb(ID_PORT) & 0x01); |
inb | 351 | drivers/net/3c509.c | inb(ioaddr + i); |
inb | 352 | drivers/net/3c509.c | inb(ioaddr + 10); |
inb | 353 | drivers/net/3c509.c | inb(ioaddr + 12); |
inb | 393 | drivers/net/3c509.c | dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS)); |
inb | 420 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS), inb(ioaddr + TX_STATUS), |
inb | 455 | drivers/net/3c509.c | while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { |
inb | 554 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
inb | 555 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
inb | 556 | drivers/net/3c509.c | /* Multiple collisions. */ inb(ioaddr + 2); |
inb | 557 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
inb | 558 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
inb | 559 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
inb | 560 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
inb | 561 | drivers/net/3c509.c | /* Rx packets */ inb(ioaddr + 7); |
inb | 562 | drivers/net/3c509.c | /* Tx deferrals */ inb(ioaddr + 8); |
inb | 585 | drivers/net/3c59x.c | inb(ioaddr + i); |
inb | 590 | drivers/net/3c59x.c | inb(ioaddr + 12); |
inb | 647 | drivers/net/3c59x.c | dev->name, inb(ioaddr + TxStatus), inw(ioaddr + EL3_STATUS)); |
inb | 715 | drivers/net/3c59x.c | while (--i > 0 && (tx_status = inb(ioaddr + TxStatus)) > 0) { |
inb | 761 | drivers/net/3c59x.c | latency = inb(ioaddr + Timer); |
inb | 825 | drivers/net/3c59x.c | printk(" %2.2x", inb(ioaddr+reg)); |
inb | 879 | drivers/net/3c59x.c | unsigned char rx_error = inb(ioaddr + RxErrors); |
inb | 937 | drivers/net/3c59x.c | dev->name, inw(ioaddr + EL3_STATUS), inb(ioaddr + TxStatus)); |
inb | 998 | drivers/net/3c59x.c | vp->stats.tx_carrier_errors += inb(ioaddr + 0); |
inb | 999 | drivers/net/3c59x.c | vp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
inb | 1000 | drivers/net/3c59x.c | /* Multiple collisions. */ inb(ioaddr + 2); |
inb | 1001 | drivers/net/3c59x.c | vp->stats.collisions += inb(ioaddr + 3); |
inb | 1002 | drivers/net/3c59x.c | vp->stats.tx_window_errors += inb(ioaddr + 4); |
inb | 1003 | drivers/net/3c59x.c | vp->stats.rx_fifo_errors += inb(ioaddr + 5); |
inb | 1004 | drivers/net/3c59x.c | vp->stats.tx_packets += inb(ioaddr + 6); |
inb | 1005 | drivers/net/3c59x.c | vp->stats.tx_packets += (inb(ioaddr + 9)&0x30) << 4; |
inb | 1006 | drivers/net/3c59x.c | /* Rx packets */ inb(ioaddr + 7); /* Must read to clear */ |
inb | 1007 | drivers/net/3c59x.c | /* Tx deferrals */ inb(ioaddr + 8); |
inb | 1015 | drivers/net/3c59x.c | inb(ioaddr + 12); |
inb | 153 | drivers/net/8390.c | int txsr = inb(e8390_base+EN0_TSR), isr; |
inb | 158 | drivers/net/8390.c | isr = inb(e8390_base+EN0_ISR); |
inb | 348 | drivers/net/8390.c | int status = inb(e8390_base + EN0_TSR); |
inb | 122 | drivers/net/ac3200.c | printk(" %02x", inb(ioaddr + AC_SA_PROM + i)); |
inb | 127 | drivers/net/ac3200.c | if (inb(ioaddr + AC_SA_PROM + 0) != AC_ADDR0 |
inb | 128 | drivers/net/ac3200.c | || inb(ioaddr + AC_SA_PROM + 1) != AC_ADDR1 |
inb | 129 | drivers/net/ac3200.c | || inb(ioaddr + AC_SA_PROM + 2) != AC_ADDR2 ) { |
inb | 152 | drivers/net/ac3200.c | dev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i); |
inb | 156 | drivers/net/ac3200.c | " EISA ID %02x %02x %02x %02x.\n", inb(ioaddr + AC_CONFIG), |
inb | 157 | drivers/net/ac3200.c | inb(ioaddr + AC_ID_PORT + 0), inb(ioaddr + AC_ID_PORT + 1), |
inb | 158 | drivers/net/ac3200.c | inb(ioaddr + AC_ID_PORT + 2), inb(ioaddr + AC_ID_PORT + 3)); |
inb | 163 | drivers/net/ac3200.c | dev->irq = config2irq(inb(ioaddr + AC_CONFIG)); |
inb | 190 | drivers/net/ac3200.c | outb((inb(ioaddr + AC_CONFIG) & ~7) | i, ioaddr + AC_CONFIG); |
inb | 194 | drivers/net/ac3200.c | dev->if_port = inb(ioaddr + AC_CONFIG) >> 6; |
inb | 195 | drivers/net/ac3200.c | dev->mem_start = config2mem(inb(ioaddr + AC_CONFIG)); |
inb | 275 | drivers/net/apricot.c | (void) inb (ioaddr+0x10); |
inb | 694 | drivers/net/apricot.c | eth_addr[i] = inb(ioaddr+8+i); |
inb | 900 | drivers/net/apricot.c | (void) inb (ioaddr+0x10); |
inb | 744 | drivers/net/arcnet.c | if (inb(STATUS) == 0xFF) |
inb | 755 | drivers/net/arcnet.c | inb(RESET); /* begin resetting card */ |
inb | 891 | drivers/net/arcnet.c | status=inb(STATUS); |
inb | 906 | drivers/net/arcnet.c | status=inb(STATUS); |
inb | 961 | drivers/net/arcnet.c | inb(RESET); |
inb | 969 | drivers/net/arcnet.c | inb(RESET); |
inb | 1124 | drivers/net/arcnet.c | dev->name,inb(STATUS)); |
inb | 1129 | drivers/net/arcnet.c | inb(RESET); |
inb | 1318 | drivers/net/arcnet.c | inb(RESET); /* reset IRQ won't run if START=0 */ |
inb | 1375 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 1397 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 1446 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1455 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1472 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1611 | drivers/net/arcnet.c | inb(STATUS),lp->intx,lp->in_txhandler,lp->intmask); |
inb | 1780 | drivers/net/arcnet.c | inb(STATUS),lp->intmask,lp->txready,lp->sending); |
inb | 1843 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) |
inb | 1872 | drivers/net/arcnet.c | inb(STATUS),lp->intmask); |
inb | 1876 | drivers/net/arcnet.c | status = inb(STATUS); |
inb | 1949 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 2079 | drivers/net/arcnet.c | inb(STATUS),boguscount); |
inb | 2118 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 183 | drivers/net/at1700.c | if (at1700_probe_list[inb(ioaddr + IOCONFIG) & 0x07] != ioaddr |
inb | 303 | drivers/net/at1700.c | retval = (retval << 1) | ((inb(ee_daddr) & EE_DATA_READ) ? 1 : 0); |
inb | 376 | drivers/net/at1700.c | inw(ioaddr + STATUS), inb(ioaddr + TX_STATUS) & 0x80 |
inb | 463 | drivers/net/at1700.c | || (inb(ioaddr + RX_MODE) & 0x40) == 0) { /* Got a packet(s). */ |
inb | 498 | drivers/net/at1700.c | while ((inb(ioaddr + RX_MODE) & 0x40) == 0) { |
inb | 504 | drivers/net/at1700.c | dev->name, inb(ioaddr + RX_MODE), status); |
inb | 559 | drivers/net/at1700.c | if ((inb(ioaddr + RX_MODE) & 0x40) == 0x40) |
inb | 567 | 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 | 428 | 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 | 312 | drivers/net/de600.c | status = inb(STATUS_PORT); |
inb | 323 | drivers/net/de600.c | lo = ((unsigned char)inb(STATUS_PORT)) >> 4; |
inb | 325 | drivers/net/de600.c | return ((unsigned char)inb(STATUS_PORT) & (unsigned char)0xf0) | lo; |
inb | 249 | drivers/net/de620.c | #define de620_tx_buffs(dd) (inb(STATUS_PORT) & (TXBF0 | TXBF1)) |
inb | 262 | drivers/net/de620.c | while ((((value = inb(STATUS_PORT)) & READY) == 0) && (cnt <= 1000)) |
inb | 369 | drivers/net/de620.c | value = inb(STATUS_PORT) & 0xf0; /* High nibble */ |
inb | 371 | drivers/net/de620.c | *data++ = value | inb(STATUS_PORT) >> 4; /* Low nibble */ |
inb | 479 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 693 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 725 | drivers/net/depca.c | printk("nicsr: 0x%02x\n",inb(DEPCA_NICSR)); |
inb | 858 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1054 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1463 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* clear counter on DEPCA */ |
inb | 1464 | drivers/net/depca.c | data = inb(DEPCA_PROM); /* read data */ |
inb | 1467 | drivers/net/depca.c | nicsr = inb(DEPCA_NICSR); |
inb | 1477 | drivers/net/depca.c | data = inb(DEPCA_PROM); |
inb | 1513 | drivers/net/depca.c | k += (u_char) (tmp = inb(DEPCA_PROM + x)); |
inb | 1515 | drivers/net/depca.c | k += (u_short) ((tmp = inb(DEPCA_PROM + x)) << 8); |
inb | 1522 | drivers/net/depca.c | chksum = (u_char) inb(DEPCA_PROM + x); |
inb | 1523 | drivers/net/depca.c | chksum |= (u_short) (inb(DEPCA_PROM + x) << 8); |
inb | 77 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
inb | 83 | drivers/net/e2100.c | inb(port + E21_MEM_ENABLE); |
inb | 145 | drivers/net/e2100.c | if (inb(ioaddr + E21_SAPROM + 0) != 0x00 |
inb | 146 | drivers/net/e2100.c | || inb(ioaddr + E21_SAPROM + 1) != 0x00 |
inb | 147 | drivers/net/e2100.c | || inb(ioaddr + E21_SAPROM + 2) != 0x1d) |
inb | 153 | 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 | 216 | drivers/net/e2100.c | inb(ioaddr + E21_MEDIA); /* Turn automatic media detection on. */ |
inb | 218 | drivers/net/e2100.c | if (station_addr[i] != inb(ioaddr + E21_SAPROM + 8 + i)) { |
inb | 262 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_LOW); |
inb | 264 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_HIGH); /* High IRQ bit, and if_port. */ |
inb | 267 | drivers/net/e2100.c | inb(ioaddr + E21_MEM_BASE); |
inb | 359 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_LOW); |
inb | 361 | drivers/net/e2100.c | inb(ioaddr + E21_IRQ_HIGH); /* High IRQ bit, and if_port. */ |
inb | 314 | drivers/net/eepro.c | if (((id=inb(ioaddr + ID_REG)) & ID_REG_MASK) == ID_REG_SIG) { |
inb | 321 | drivers/net/eepro.c | if (((id=inb(ioaddr+ID_REG)) & R_ROBIN_BITS) == |
inb | 355 | drivers/net/eepro.c | id = inb(ioaddr + REG3); |
inb | 447 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 460 | drivers/net/eepro.c | temp_reg = inb(ioaddr + INT_NO_REG); |
inb | 483 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 526 | drivers/net/eepro.c | temp_reg = inb(ioaddr + EEPROM_REG); |
inb | 532 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); /* Setup Transmit Chaining */ |
inb | 536 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG2); /* Match broadcast */ |
inb | 539 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG3); |
inb | 545 | drivers/net/eepro.c | temp_reg = inb(ioaddr + INT_NO_REG); |
inb | 555 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 681 | drivers/net/eepro.c | status = inb(ioaddr + STATUS_REG); |
inb | 727 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 792 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 794 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 802 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 804 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 819 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 821 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 863 | 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 | 325 | drivers/net/eexpress.c | sum += inb(id_addr); |
inb | 329 | drivers/net/eexpress.c | short id_val = inb(id_addr); |
inb | 730 | drivers/net/eexpress.c | retval = (retval << 1) | ((inb(ee_addr) & EE_DATA_READ) ? 1 : 0); |
inb | 751 | drivers/net/eexpress.c | outb(inb(ioaddr + Config) | 0x02, ioaddr + Config); |
inb | 794 | drivers/net/eexpress.c | outb(inb(ioaddr + Config) & ~0x02, ioaddr + Config); |
inb | 102 | drivers/net/eth16i.c | #define BITSET(ioaddr, bnum) ((outb(((inb(ioaddr)) | (bnum)), ioaddr))) |
inb | 103 | drivers/net/eth16i.c | #define BITCLR(ioaddr, bnum) ((outb(((inb(ioaddr)) & (~(bnum))), ioaddr))) |
inb | 391 | drivers/net/eth16i.c | if(eth16i_portlist[(inb(ioaddr + JUMPERLESS_CONFIG) & 0x07)] != ioaddr) |
inb | 483 | drivers/net/eth16i.c | printk("%02x", inb(ioaddr + NODE_ID_0 + i)); |
inb | 553 | drivers/net/eth16i.c | dummy_packet[i] = inb(ioaddr + NODE_ID_0 + i); |
inb | 554 | drivers/net/eth16i.c | dummy_packet[i+6] = inb(ioaddr + NODE_ID_0 + i); |
inb | 617 | drivers/net/eth16i.c | printk("TRANSMIT_MODE_REG = %x\n", inb(ioaddr + TRANSMIT_MODE_REG)); |
inb | 618 | drivers/net/eth16i.c | printk("TRANSCEIVER_MODE_REG = %x\n", inb(ioaddr+TRANSCEIVER_MODE_REG)); |
inb | 634 | drivers/net/eth16i.c | while( (inb(ioaddr + TX_STATUS_REG) & 0x80) == 0) { |
inb | 649 | drivers/net/eth16i.c | while((inb(ioaddr + TX_STATUS_REG) & 0x20) == 0) { |
inb | 655 | drivers/net/eth16i.c | while((inb(ioaddr + RX_STATUS_REG) & 0x80) == 0) { |
inb | 670 | drivers/net/eth16i.c | printk("TRANSMIT_PACKET_RECEIVED %x\n", inb(ioaddr + TX_STATUS_REG)); |
inb | 671 | drivers/net/eth16i.c | printk("RX_STATUS_REG = %x\n", inb(ioaddr + RX_STATUS_REG)); |
inb | 682 | drivers/net/eth16i.c | cbyte = inb(ioaddr + JUMPERLESS_CONFIG); |
inb | 686 | drivers/net/eth16i.c | cbyte = inb(ioaddr + EISA_IRQ_REG); |
inb | 702 | drivers/net/eth16i.c | creg[i] = inb(ioaddr + TRANSMIT_MODE_REG + i); |
inb | 762 | drivers/net/eth16i.c | data = (data << 1) | ((inb(ioaddr + EEPROM_DATA_REG) & DI_1) ? 1 : 0); |
inb | 876 | drivers/net/eth16i.c | (inb(ioaddr + TX_STATUS_REG) & TX_DONE) ? |
inb | 882 | drivers/net/eth16i.c | dev->name, inb(ioaddr + 0), inb(ioaddr + 1), inb(ioaddr + 2), |
inb | 883 | drivers/net/eth16i.c | inb(ioaddr + 3), inb(ioaddr + 4), inb(ioaddr + 5), |
inb | 884 | drivers/net/eth16i.c | inb(ioaddr + 6), inb(ioaddr + 7)); |
inb | 985 | drivers/net/eth16i.c | while( (inb(ioaddr + RECEIVE_MODE_REG) & RX_BUFFER_EMPTY) == 0) { |
inb | 992 | drivers/net/eth16i.c | dev->name, inb(ioaddr + RECEIVE_MODE_REG), status); |
inb | 1075 | drivers/net/eth16i.c | if( (inb(ioaddr+RECEIVE_MODE_REG) & RX_BUFFER_EMPTY) == RX_BUFFER_EMPTY) |
inb | 1138 | drivers/net/eth16i.c | ( (inb(ioaddr + RECEIVE_MODE_REG) & RX_BUFFER_EMPTY) == 0) ) { |
inb | 1174 | drivers/net/eth16i.c | data = inb(ioaddr + CONFIG_REG_1); |
inb | 227 | drivers/net/ewrk3.c | icr = inb(EWRK3_ICR);\ |
inb | 236 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR);\ |
inb | 386 | drivers/net/ewrk3.c | if (iobase > 0x400) eisa_cr = inb(EISA_CR); |
inb | 389 | drivers/net/ewrk3.c | nicsr = inb(EWRK3_CSR); |
inb | 391 | drivers/net/ewrk3.c | icr = inb(EWRK3_ICR); |
inb | 423 | drivers/net/ewrk3.c | cmr = inb(EWRK3_CMR); |
inb | 461 | drivers/net/ewrk3.c | cr = inb(EWRK3_CR); /* Set up the Control Register */ |
inb | 472 | drivers/net/ewrk3.c | mem_start = inb(EWRK3_MBR); |
inb | 650 | drivers/net/ewrk3.c | printk(" # of DRAMS: %d\n",((inb(EWRK3_CMR) & 0x02) ? 2 : 1)); |
inb | 651 | drivers/net/ewrk3.c | printk(" csr: 0x%02x\n", inb(EWRK3_CSR)); |
inb | 652 | drivers/net/ewrk3.c | printk(" cr: 0x%02x\n", inb(EWRK3_CR)); |
inb | 653 | drivers/net/ewrk3.c | printk(" icr: 0x%02x\n", inb(EWRK3_ICR)); |
inb | 654 | drivers/net/ewrk3.c | printk(" cmr: 0x%02x\n", inb(EWRK3_CMR)); |
inb | 655 | drivers/net/ewrk3.c | printk(" fmqc: 0x%02x\n", inb(EWRK3_FMQC)); |
inb | 665 | drivers/net/ewrk3.c | icr = inb(EWRK3_ICR); |
inb | 699 | drivers/net/ewrk3.c | while (inb(EWRK3_TQ)); |
inb | 700 | drivers/net/ewrk3.c | while (inb(EWRK3_TDQ)); |
inb | 701 | drivers/net/ewrk3.c | while (inb(EWRK3_RQ)); |
inb | 702 | drivers/net/ewrk3.c | while (inb(EWRK3_FMQ)); |
inb | 734 | drivers/net/ewrk3.c | dev->name, inb(EWRK3_CSR)); |
inb | 772 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC) > 0) { |
inb | 776 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_FMQ)) < lp->mPage) { |
inb | 854 | 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 | 858 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC) > 0) { |
inb | 891 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 898 | drivers/net/ewrk3.c | cr = inb(EWRK3_CR); |
inb | 914 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC)) { /* any resources available? */ |
inb | 944 | drivers/net/ewrk3.c | while (inb(EWRK3_RQC) && !status) { /* Whilst there's incoming data */ |
inb | 945 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_RQ)) < lp->mPage) {/* Get next entry's buffer page */ |
inb | 952 | drivers/net/ewrk3.c | tmpPage = inb(EWRK3_IOPR); |
inb | 954 | drivers/net/ewrk3.c | tmpPage = inb(EWRK3_MPR); |
inb | 982 | drivers/net/ewrk3.c | rx_status = inb(EWRK3_DATA); |
inb | 983 | drivers/net/ewrk3.c | pkt_len = inb(EWRK3_DATA); |
inb | 984 | drivers/net/ewrk3.c | pkt_len |= ((u_short)inb(EWRK3_DATA) << 8); |
inb | 1007 | drivers/net/ewrk3.c | *p = inb(EWRK3_DATA); /* dummy read */ |
inb | 1009 | drivers/net/ewrk3.c | *p++ = inb(EWRK3_DATA); |
inb | 1070 | drivers/net/ewrk3.c | printk("ewrk3_rx(): CSR: %02x ICR: %02x FMQC: %02x\n",inb(EWRK3_CSR),inb(EWRK3_ICR),inb(EWRK3_FMQC)); |
inb | 1086 | drivers/net/ewrk3.c | while ((tx_status = inb(EWRK3_TDQ)) > 0) { /* Whilst there's old buffers */ |
inb | 1126 | drivers/net/ewrk3.c | dev->name, inb(EWRK3_CSR)); |
inb | 1142 | drivers/net/ewrk3.c | while (inb(EWRK3_TQ)); |
inb | 1143 | drivers/net/ewrk3.c | while (inb(EWRK3_TDQ)); |
inb | 1144 | drivers/net/ewrk3.c | while (inb(EWRK3_RQ)); |
inb | 1178 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1271 | drivers/net/ewrk3.c | tmp = inb(EWRK3_DATA); |
inb | 1486 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1499 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1503 | drivers/net/ewrk3.c | for (i=0;i<75000;i++) inb(EWRK3_CSR); /* wait 15msec */ |
inb | 1505 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1568 | drivers/net/ewrk3.c | data = inb(EWRK3_APROM); |
inb | 1610 | drivers/net/ewrk3.c | k += (u_char) (tmp = inb(EWRK3_APROM)); |
inb | 1614 | drivers/net/ewrk3.c | k += (u_short) ((tmp = inb(EWRK3_APROM)) << 8); |
inb | 1622 | drivers/net/ewrk3.c | chksum = inb(EWRK3_APROM); |
inb | 1623 | drivers/net/ewrk3.c | chksum |= (inb(EWRK3_APROM)<<8); |
inb | 1646 | drivers/net/ewrk3.c | Eisa.Id[i] = inb(eisa_id + i); |
inb | 1696 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1716 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1727 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1746 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
inb | 1779 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1808 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
inb | 1832 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
inb | 1834 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
inb | 1859 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CMR); |
inb | 175 | drivers/net/hp-plus.c | unsigned char inval = inb(ioaddr + 8 + i); |
inb | 180 | drivers/net/hp-plus.c | checksum += inb(ioaddr + 14); |
inb | 203 | drivers/net/hp-plus.c | int irq = inb(ioaddr + 13) & 0x0f; |
inb | 116 | drivers/net/hp.c | if (inb(ioaddr) != 0x08 |
inb | 117 | drivers/net/hp.c | || inb(ioaddr+1) != 0x00 |
inb | 118 | drivers/net/hp.c | || inb(ioaddr+2) != 0x09 |
inb | 119 | drivers/net/hp.c | || inb(ioaddr+14) == 0x57) |
inb | 124 | drivers/net/hp.c | if ((board_id = inb(ioaddr + HP_ID)) & 0x80) { |
inb | 144 | drivers/net/hp.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 293 | drivers/net/hp.c | buf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++; |
inb | 319 | drivers/net/hp100.c | if ( inb( ioaddr + 0 ) != HP100_HW_ID_0 || |
inb | 320 | drivers/net/hp100.c | inb( ioaddr + 1 ) != HP100_HW_ID_1 || |
inb | 321 | drivers/net/hp100.c | ( inb( ioaddr + 2 ) & 0xf0 ) != HP100_HW_ID_2_REVA || |
inb | 322 | 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 | 213 | drivers/net/ibmtr.c | segment = inb(PIOaddr); |
inb | 319 | drivers/net/ibmtr.c | ti->sram=(unsigned char *)((inb(PIOaddr+ADAPTRESETREL) & 0xfe) |
inb | 322 | drivers/net/lance.c | char offset15, offset14 = inb(ioaddr + 14); |
inb | 325 | drivers/net/lance.c | ((offset15 = inb(ioaddr + 15)) == 0x57 || offset15 == 0x44)) |
inb | 354 | drivers/net/lance.c | if ((inb(hp_port) & 0xc0) == 0x80 |
inb | 355 | drivers/net/lance.c | && ioaddr_table[inb(hp_port) & 3] == ioaddr) |
inb | 359 | drivers/net/lance.c | hpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00 |
inb | 360 | drivers/net/lance.c | && inb(ioaddr+2) == 0x09); |
inb | 400 | drivers/net/lance.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 440 | drivers/net/lance.c | unsigned char port_val = inb(hp_builtin); |
inb | 466 | drivers/net/lance.c | dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 467 | drivers/net/lance.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 239 | drivers/net/ne.c | outb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET); |
inb | 275 | drivers/net/ne.c | SA_prom[i] = inb(ioaddr + NE_DATAPORT); |
inb | 276 | drivers/net/ne.c | SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); |
inb | 442 | drivers/net/ne.c | outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET); |
inb | 524 | drivers/net/ne.c | buf[count-1] = inb(NE_BASE + NE_DATAPORT); |
inb | 367 | drivers/net/ni52.c | if( (inb(base_addr+NI52_MAGIC1) == NI52_MAGICVAL1) && |
inb | 368 | drivers/net/ni52.c | (inb(base_addr+NI52_MAGIC2) == NI52_MAGICVAL2)) |
inb | 380 | drivers/net/ni52.c | if( !(inb(ioaddr+NI52_MAGIC1) == NI52_MAGICVAL1) || |
inb | 381 | drivers/net/ni52.c | !(inb(ioaddr+NI52_MAGIC2) == NI52_MAGICVAL2)) |
inb | 395 | drivers/net/ni52.c | if( !(inb(ioaddr+NI52_MAGIC1) == NI52_MAGICVAL1) || |
inb | 396 | drivers/net/ni52.c | !(inb(ioaddr+NI52_MAGIC2) == NI52_MAGICVAL2)) |
inb | 414 | drivers/net/ni52.c | dev->dev_addr[i] = inb(dev->base_addr+i); |
inb | 204 | drivers/net/ni65.c | if( !(inb(ioaddr+L_EBASE+6) == NI65_ID0) || |
inb | 205 | drivers/net/ni65.c | !(inb(ioaddr+L_EBASE+7) == NI65_ID1) ) |
inb | 227 | drivers/net/ni65.c | if(inb(ioaddr+L_EBASE+0) != NI65_ADDR0 || inb(ioaddr+L_EBASE+1) != NI65_ADDR1 |
inb | 228 | drivers/net/ni65.c | || inb(ioaddr+L_EBASE+2) != NI65_ADDR2) |
inb | 241 | drivers/net/ni65.c | dev->dev_addr[i] = inb(PORT+L_EBASE+i); |
inb | 230 | drivers/net/plip.c | if (inb(PAR_DATA(dev)) != 0) |
inb | 390 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 408 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 455 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 458 | drivers/net/plip.c | c1 = inb(status_addr); |
inb | 473 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 476 | drivers/net/plip.c | c1 = inb(status_addr); |
inb | 627 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 642 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 676 | drivers/net/plip.c | if ((inb(PAR_STATUS(dev)) & 0xf8) != 0x80) |
inb | 693 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 783 | drivers/net/plip.c | status = inb(PAR_STATUS(dev)); |
inb | 818 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 671 | 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 | 565 | drivers/net/sk_g16.c | if ( (inb(SK_POS0) == SK_IDLOW) || |
inb | 566 | drivers/net/sk_g16.c | (inb(SK_POS1) == SK_IDHIGH) ) |
inb | 593 | drivers/net/sk_g16.c | if ( !(inb(SK_POS0) == SK_IDLOW) || |
inb | 594 | drivers/net/sk_g16.c | !(inb(SK_POS1) == SK_IDHIGH) ) |
inb | 2000 | drivers/net/sk_g16.c | unsigned char pos0 = inb(SK_POS0), |
inb | 2001 | drivers/net/sk_g16.c | pos1 = inb(SK_POS1), |
inb | 2002 | drivers/net/sk_g16.c | pos2 = inb(SK_POS2), |
inb | 2003 | drivers/net/sk_g16.c | pos3 = inb(SK_POS3), |
inb | 2004 | drivers/net/sk_g16.c | pos4 = inb(SK_POS4); |
inb | 167 | drivers/net/skeleton.c | if (inb(ioaddr + 0) != SA_ADDR0 |
inb | 168 | drivers/net/skeleton.c | || inb(ioaddr + 1) != SA_ADDR1 |
inb | 169 | drivers/net/skeleton.c | || inb(ioaddr + 2) != SA_ADDR2) { |
inb | 195 | drivers/net/skeleton.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 246 | drivers/net/skeleton.c | dma_status = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 247 | drivers/net/skeleton.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 251 | drivers/net/skeleton.c | new_dma_status = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 252 | drivers/net/skeleton.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 127 | drivers/net/smc-ultra.c | unsigned char idreg = inb(ioaddr + 7); |
inb | 128 | drivers/net/smc-ultra.c | unsigned char reg4 = inb(ioaddr + 4) & 0x7f; |
inb | 139 | drivers/net/smc-ultra.c | checksum += inb(ioaddr + 8 + i); |
inb | 157 | drivers/net/smc-ultra.c | printk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i)); |
inb | 164 | drivers/net/smc-ultra.c | outb(0x80 | inb(ioaddr + 0x0c), ioaddr + 0x0c); |
inb | 165 | drivers/net/smc-ultra.c | irqreg = inb(ioaddr + 0xd); |
inb | 166 | drivers/net/smc-ultra.c | addr = inb(ioaddr + 0xb); |
inb | 238 | drivers/net/wavelan.c | *b++ = inb(PIOP2(ioaddr)); |
inb | 120 | drivers/net/wd.c | checksum += inb(ioaddr + 8 + i); |
inb | 121 | drivers/net/wd.c | if (inb(ioaddr + 8) == 0xff /* Extra check to avoid soundcard. */ |
inb | 122 | drivers/net/wd.c | || inb(ioaddr + 9) == 0xff |
inb | 144 | drivers/net/wd.c | printk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i)); |
inb | 151 | drivers/net/wd.c | if (inb(ioaddr+0) == 'P' && inb(ioaddr+1) == 'D') { |
inb | 152 | drivers/net/wd.c | unsigned char reg5 = inb(ioaddr+5); |
inb | 154 | drivers/net/wd.c | switch (inb(ioaddr+2)) { |
inb | 171 | drivers/net/wd.c | if (inb(ioaddr+i) != inb(ioaddr+8+i)) |
inb | 178 | drivers/net/wd.c | int tmp = inb(ioaddr+1); /* fiddle with 16bit bit */ |
inb | 180 | drivers/net/wd.c | if (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card */ |
inb | 182 | drivers/net/wd.c | int asic_reg5 = inb(ioaddr+WD_CMDREG5); |
inb | 195 | drivers/net/wd.c | if ( !ancient && (inb(ioaddr+1) & 0x01) != (word16 & 0x01)) |
inb | 197 | drivers/net/wd.c | word16 ? 16 : 8, (inb(ioaddr+1) & 0x01) ? 16 : 8); |
inb | 207 | drivers/net/wd.c | int reg0 = inb(ioaddr); |
inb | 213 | drivers/net/wd.c | int high_addr_bits = inb(ioaddr+WD_CMDREG5) & 0x1f; |
inb | 227 | drivers/net/wd.c | int reg1 = inb(ioaddr+1); |
inb | 228 | drivers/net/wd.c | int reg4 = inb(ioaddr+4); |
inb | 302 | drivers/net/wd.c | if (inb(ioaddr+14) & 0x20) |
inb | 303 | 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 | 668 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
inb | 669 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
inb | 708 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 713 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 718 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 720 | drivers/net/znet.c | printk("stat:%02x ", inb(ioaddr)); show_dma(); |
inb | 1510 | drivers/scsi/53c7,8xx.h | inb(NCR53c7x0_address_io + (address))) |
inb | 349 | drivers/scsi/AM53C974.c | key = inb(0x60); |
inb | 297 | drivers/scsi/AM53C974.h | #define AM53C974_read_8(addr) inb(io_port + (addr)) |
inb | 325 | drivers/scsi/AM53C974.h | #define AM53C974_PCIREG_READ_BYTE(instance,a) ( inb((a) + (instance)->io_port) ) |
inb | 908 | drivers/scsi/BusLogic.h | return inb(HostAdapter->IO_Address + BusLogic_StatusRegister); |
inb | 921 | drivers/scsi/BusLogic.h | return inb(HostAdapter->IO_Address + BusLogic_DataInRegister); |
inb | 928 | drivers/scsi/BusLogic.h | return inb(HostAdapter->IO_Address + BusLogic_InterruptRegister); |
inb | 934 | drivers/scsi/BusLogic.h | return inb(HostAdapter->IO_Address + BusLogic_GeometryRegister); |
inb | 155 | drivers/scsi/NCR53c406a.c | #define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);} |
inb | 363 | drivers/scsi/NCR53c406a.c | i = inb(PIO_STATUS); |
inb | 399 | drivers/scsi/NCR53c406a.c | *request++ = inb(PIO_FIFO); |
inb | 418 | drivers/scsi/NCR53c406a.c | i = inb(PIO_STATUS); |
inb | 504 | drivers/scsi/NCR53c406a.c | if( (inb(ports[i] + 0x0e) ^ inb(ports[i] + 0x0e)) == 7 |
inb | 505 | drivers/scsi/NCR53c406a.c | && (inb(ports[i] + 0x0e) ^ inb(ports[i] + 0x0e)) == 7 |
inb | 506 | drivers/scsi/NCR53c406a.c | && (inb(ports[i] + 0x0e) & 0xf8) == 0x58 ) { |
inb | 656 | drivers/scsi/NCR53c406a.c | while(i>jiffies && !(inb(STAT_REG)&0xe0)) /* wait for a pseudo-interrupt */ |
inb | 783 | drivers/scsi/NCR53c406a.c | pio_status = inb(PIO_STATUS); |
inb | 786 | drivers/scsi/NCR53c406a.c | status = inb(STAT_REG); |
inb | 787 | drivers/scsi/NCR53c406a.c | DEB(seq_reg = inb(SEQ_REG)); |
inb | 788 | drivers/scsi/NCR53c406a.c | int_reg = inb(INT_REG); |
inb | 789 | drivers/scsi/NCR53c406a.c | DEB(fifo_size = inb(FIFO_FLAGS) & 0x1f); |
inb | 942 | drivers/scsi/NCR53c406a.c | current_SC->SCp.Status = inb(SCSI_FIFO); |
inb | 943 | drivers/scsi/NCR53c406a.c | current_SC->SCp.Message = inb(SCSI_FIFO); |
inb | 945 | drivers/scsi/NCR53c406a.c | VDEB(printk("SCSI FIFO size=%d\n", inb(FIFO_FLAGS) & 0x1f)); |
inb | 965 | drivers/scsi/NCR53c406a.c | inb(INT_REG); /* clear the interrupt register */ |
inb | 975 | drivers/scsi/NCR53c406a.c | while(i > jiffies && !(inb(STAT_REG) & 0x80)) |
inb | 576 | drivers/scsi/advansys.c | #define inp(port) inb(port) |
inb | 332 | drivers/scsi/aha152x.h | inb( PORT ) |
inb | 338 | drivers/scsi/aha152x.h | outb( (inb(PORT) | (BITS)), (PORT) ) |
inb | 341 | drivers/scsi/aha152x.h | outb( (inb(PORT) & ~(BITS)), (PORT) ) |
inb | 344 | drivers/scsi/aha152x.h | outb( (inb(PORT) & ~(CLR)) | (SET) , (PORT) ) |
inb | 347 | drivers/scsi/aha152x.h | ((inb(PORT) & (BITS)) == BITS) |
inb | 350 | drivers/scsi/aha152x.h | ((inb(PORT) & (BITS)) == 0) |
inb | 128 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
inb | 141 | drivers/scsi/aha1542.c | WAITbits = inb(port) & (mask); \ |
inb | 168 | drivers/scsi/aha1542.c | if(inb(STATUS(base)) & CDF) {restore_flags(flags); continue;} |
inb | 200 | drivers/scsi/aha1542.c | *cmdp++ = inb(DATA(base)); |
inb | 222 | drivers/scsi/aha1542.c | *cmdp++ = inb(DATA(base)); |
inb | 297 | drivers/scsi/aha1542.c | if(inb(STATUS(bse)) == 0xff) return 0; |
inb | 317 | drivers/scsi/aha1542.c | if (inb(INTRFLAGS(bse))&INTRMASK) goto fail; |
inb | 332 | drivers/scsi/aha1542.c | *cmdp++ = inb(DATA(bse)); |
inb | 337 | drivers/scsi/aha1542.c | if (inb(STATUS(bse)) & DF) goto fail; |
inb | 377 | drivers/scsi/aha1542.c | flag = inb(INTRFLAGS(shost->io_port)); |
inb | 384 | drivers/scsi/aha1542.c | printk("status %02x\n", inb(STATUS(shost->io_port))); |
inb | 391 | drivers/scsi/aha1542.c | flag = inb(INTRFLAGS(shost->io_port)); |
inb | 725 | drivers/scsi/aha1542.c | i = inb(STATUS(base_io)); |
inb | 727 | drivers/scsi/aha1542.c | i = inb(DATA(base_io)); |
inb | 826 | drivers/scsi/aha1542.c | i = inb(STATUS(base_io)); |
inb | 828 | drivers/scsi/aha1542.c | i = inb(DATA(base_io)); |
inb | 1118 | drivers/scsi/aha1542.c | inb(STATUS(SCpnt->host->io_port)), |
inb | 1119 | drivers/scsi/aha1542.c | inb(INTRFLAGS(SCpnt->host->io_port))); |
inb | 149 | drivers/scsi/aha1740.c | name[0]= 'A' -1 + ((tmp = inb(HID0)) >> 2); /* First character */ |
inb | 151 | drivers/scsi/aha1740.c | name[1]+= ((tmp = inb(HID1)) >> 5)&0x7; /* Second Character */ |
inb | 154 | drivers/scsi/aha1740.c | tmp = inb(HID2); |
inb | 155 | drivers/scsi/aha1740.c | if ( strcmp ( name, HID_MFG ) || inb(HID2) != HID_PRD ) |
inb | 162 | drivers/scsi/aha1740.c | if ( inb(EBCNTRL) != EBCNTRL_VALUE ) |
inb | 165 | drivers/scsi/aha1740.c | inb(EBCNTRL)); |
inb | 169 | drivers/scsi/aha1740.c | if ( inb(PORTADR) & PORTADDR_ENH ) |
inb | 187 | drivers/scsi/aha1740.c | while(inb(G2STAT) & G2STAT_INTPEND) |
inb | 190 | drivers/scsi/aha1740.c | adapstat = inb(G2INTST); |
inb | 203 | drivers/scsi/aha1740.c | inb(G2STAT),adapstat,inb(G2INTST),number_serviced++); |
inb | 210 | drivers/scsi/aha1740.c | inb(G2STAT),adapstat,inb(G2INTST),number_serviced++); |
inb | 238 | drivers/scsi/aha1740.c | inb(MBOXIN0),inb(MBOXIN1),inb(MBOXIN2),inb(MBOXIN3)); /* Say What? */ |
inb | 388 | drivers/scsi/aha1740.c | if ( ! (inb(G2STAT) & G2STAT_MBXOUT) ) |
inb | 394 | drivers/scsi/aha1740.c | while ( ! (inb(G2STAT) & G2STAT_MBXOUT) ); /* Oh Well. */ |
inb | 396 | drivers/scsi/aha1740.c | if ( inb(G2STAT) & G2STAT_BUSY ) |
inb | 401 | drivers/scsi/aha1740.c | while ( inb(G2STAT) & G2STAT_BUSY ); /* And Again! */ |
inb | 437 | drivers/scsi/aha1740.c | irq_level = intab [ inb(INTDEF)&0x7 ]; |
inb | 438 | drivers/scsi/aha1740.c | outb(inb(INTDEF) | 0x10, INTDEF); |
inb | 464 | drivers/scsi/aha1740.c | if ( (inb(G2STAT) & (G2STAT_MBXOUT | G2STAT_BUSY) ) != G2STAT_MBXOUT ) |
inb | 403 | drivers/scsi/aic7xxx.c | while ((inb(HCNTRL + p->base) & PAUSE) == 0) \ |
inb | 419 | drivers/scsi/aic7xxx.c | } while (inb(SEQADDR0 + p->base) != 0 && \ |
inb | 420 | drivers/scsi/aic7xxx.c | inb(SEQADDR1 + p->base) != 0); \ |
inb | 691 | drivers/scsi/aic7xxx.c | host_conf = inb(HOSTCONF + p->base); |
inb | 692 | drivers/scsi/aic7xxx.c | scsi_conf = inb(SCSICONF + p->base); |
inb | 926 | drivers/scsi/aic7xxx.c | } while ((inb(SEQADDR0 + base) != 0) && (inb(SEQADDR1 + base) != 0)); |
inb | 1134 | drivers/scsi/aic7xxx.c | curscb = inb(SCBPTR + base); |
inb | 1230 | drivers/scsi/aic7xxx.c | active = inb(active_port); |
inb | 1260 | drivers/scsi/aic7xxx.c | active = inb(active_port); |
inb | 1318 | drivers/scsi/aic7xxx.c | curscb = inb(SCBPTR + base); |
inb | 1319 | drivers/scsi/aic7xxx.c | head = inb(WAITING_SCBH + base); |
inb | 1341 | drivers/scsi/aic7xxx.c | third_scb = inb(SCB_NEXT_WAITING + base); |
inb | 1372 | drivers/scsi/aic7xxx.c | curscb = inb(SCBPTR + base); |
inb | 1374 | drivers/scsi/aic7xxx.c | next = inb(SCB_NEXT_WAITING + base); |
inb | 1404 | drivers/scsi/aic7xxx.c | if (inb(WAITING_SCBT + base) == scb->position) |
inb | 1447 | drivers/scsi/aic7xxx.c | active_scb = inb(SCBPTR + base); |
inb | 1458 | drivers/scsi/aic7xxx.c | int queued = inb(QINCNT + base); |
inb | 1462 | drivers/scsi/aic7xxx.c | saved_queue[i] = inb(QINFIFO + base); |
inb | 1493 | drivers/scsi/aic7xxx.c | next = inb(WAITING_SCBH + base); /* Start at head of list. */ |
inb | 1511 | drivers/scsi/aic7xxx.c | next = inb(SCB_NEXT_WAITING + base); |
inb | 1626 | drivers/scsi/aic7xxx.c | targ_scratch = inb(offset); |
inb | 1639 | drivers/scsi/aic7xxx.c | sblkctl = inb(SBLKCTL + base); |
inb | 1706 | drivers/scsi/aic7xxx.c | while ((p != NULL) && !(inb(INTSTAT + p->base) & INT_PEND)) |
inb | 1758 | drivers/scsi/aic7xxx.c | intstat = inb(INTSTAT + base); |
inb | 1763 | drivers/scsi/aic7xxx.c | unsigned char errno = inb(ERROR + base); |
inb | 1775 | drivers/scsi/aic7xxx.c | inb(ERROR + base), (inb(SEQADDR1 + base) << 8) | inb(SEQADDR0 + base)); |
inb | 1787 | drivers/scsi/aic7xxx.c | scsi_id = (inb(SCSIID + base) >> 4) & 0x0F; |
inb | 1790 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL + base) & SELBUSB) |
inb | 1804 | drivers/scsi/aic7xxx.c | rej_byte = inb(REJBYTE + base); |
inb | 1807 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 1825 | drivers/scsi/aic7xxx.c | scsi_id, channel, inb(SAVED_TCL + base)); |
inb | 1831 | drivers/scsi/aic7xxx.c | scsi_id, channel, inb(SAVED_TCL + base)); |
inb | 1845 | drivers/scsi/aic7xxx.c | transfer = (inb(ARG_1 + base) << 2); |
inb | 1846 | drivers/scsi/aic7xxx.c | offset = inb(ACCUM + base); |
inb | 1847 | drivers/scsi/aic7xxx.c | scratch = inb(TARG_SCRATCH + base + scratch_offset); |
inb | 1907 | drivers/scsi/aic7xxx.c | bus_width = inb(ARG_1 + base); |
inb | 1910 | drivers/scsi/aic7xxx.c | scratch = inb(TARG_SCRATCH + base + scratch_offset); |
inb | 1980 | drivers/scsi/aic7xxx.c | scratch = inb(TARG_SCRATCH + base + scratch_offset); |
inb | 2017 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2126 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2151 | drivers/scsi/aic7xxx.c | actual -= (inb(SCB_RESID_DCNT2 + base) << 16) | |
inb | 2152 | drivers/scsi/aic7xxx.c | (inb(SCB_RESID_DCNT1 + base) << 8) | |
inb | 2153 | drivers/scsi/aic7xxx.c | inb(SCB_RESID_DCNT0 + base); |
inb | 2160 | drivers/scsi/aic7xxx.c | inb(SCB_RESID_SGCNT + base)); |
inb | 2169 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2194 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2227 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2245 | drivers/scsi/aic7xxx.c | scratch = inb(TARG_SCRATCH + base + scratch_offset); |
inb | 2266 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2278 | drivers/scsi/aic7xxx.c | unsigned char lastphase = inb(LASTPHASE + base); |
inb | 2341 | drivers/scsi/aic7xxx.c | intstat, inb(SCSISIGI + base)); |
inb | 2351 | drivers/scsi/aic7xxx.c | int status = inb(SSTAT1 + base); |
inb | 2352 | drivers/scsi/aic7xxx.c | scsi_id = (inb(SCSIID + base) >> 4) & 0x0F; |
inb | 2354 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL + base) & SELBUSB) |
inb | 2359 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2399 | drivers/scsi/aic7xxx.c | ha_flags = inb(FLAGS + base); |
inb | 2427 | drivers/scsi/aic7xxx.c | waiting = inb(WAITING_SCBH + base); |
inb | 2429 | drivers/scsi/aic7xxx.c | waiting = inb(SCB_NEXT_WAITING + base); |
inb | 2466 | drivers/scsi/aic7xxx.c | complete = inb(QOUTFIFO + base); |
inb | 2473 | drivers/scsi/aic7xxx.c | complete, inb(QOUTFIFO + base), |
inb | 2554 | drivers/scsi/aic7xxx.c | } while (inb(QOUTCNT + base)); |
inb | 2604 | drivers/scsi/aic7xxx.c | buf[i] = inb(base + i); |
inb | 2614 | drivers/scsi/aic7xxx.c | if (inb(base + 4) & 1) |
inb | 2662 | drivers/scsi/aic7xxx.c | while ((inb(STATUS_2840 + base) & EEPROM_TF) == 0) \ |
inb | 2666 | drivers/scsi/aic7xxx.c | (void) inb(SEECTL_2840 + base); |
inb | 2722 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(STATUS_2840 + base) & DI_2840); |
inb | 2836 | drivers/scsi/aic7xxx.c | while ((inb(SEECTL + base) & SEERDY) == 0) \ |
inb | 2850 | drivers/scsi/aic7xxx.c | while ((jiffies < timeout) && ((inb(SEECTL + base) & SEERDY) == 0)) |
inb | 2854 | drivers/scsi/aic7xxx.c | if ((inb(SEECTL + base) & SEERDY) == 0) |
inb | 2914 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(SEECTL + base) & SEEDI); |
inb | 2997 | drivers/scsi/aic7xxx.c | sblkctl_reg = inb(SBLKCTL + base) ^ AUTOFLUSHDIS; |
inb | 2999 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL + base) == sblkctl_reg) |
inb | 3056 | drivers/scsi/aic7xxx.c | scb_byte = ~(inb(SCBARRAY + base)); /* complement the byte */ |
inb | 3058 | drivers/scsi/aic7xxx.c | if (inb(SCBARRAY + base) != scb_byte) |
inb | 3120 | drivers/scsi/aic7xxx.c | config->unpause = (inb(HCNTRL + base) & IRQMS) | INTEN; |
inb | 3126 | drivers/scsi/aic7xxx.c | if (inb(HCNTRL + base) & CHIPRST) |
inb | 3136 | drivers/scsi/aic7xxx.c | config->irq = inb(INTDEF + base) & 0x0F; |
inb | 3137 | drivers/scsi/aic7xxx.c | if ((inb(HA_274_BIOSCTRL + base) & BIOSMODE) == BIOSDISABLED) |
inb | 3141 | drivers/scsi/aic7xxx.c | host_conf = inb(HOSTCONF + base); |
inb | 3163 | drivers/scsi/aic7xxx.c | config->irq = inb(INTDEF + base) & 0x0F; |
inb | 3164 | drivers/scsi/aic7xxx.c | if ((inb(HA_274_BIOSCTRL + base) & BIOSMODE) == BIOSDISABLED) |
inb | 3168 | drivers/scsi/aic7xxx.c | host_conf = inb(HOSTCONF + base); |
inb | 3293 | drivers/scsi/aic7xxx.c | sblkctl = inb(SBLKCTL + base); |
inb | 3297 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base) & 0x07; |
inb | 3303 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base + 1) & 0x0F; |
inb | 3311 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base) & 0x07; |
inb | 3313 | drivers/scsi/aic7xxx.c | config->scsi_id_b = inb(SCSICONF + base + 1) & 0x07; |
inb | 3328 | drivers/scsi/aic7xxx.c | "mail deang@ims.com\n", inb(SBLKCTL + base)); |
inb | 3516 | drivers/scsi/aic7xxx.c | scsi_conf = inb(SCSICONF + base + 1) & (ENSPCHK | STIMESEL); |
inb | 3534 | drivers/scsi/aic7xxx.c | scsi_conf = inb(SCSICONF + base) & (ENSPCHK | STIMESEL); |
inb | 3584 | drivers/scsi/aic7xxx.c | p->discenable = ~((inb(DISC_DSB + base + 1) << 8) | |
inb | 3585 | drivers/scsi/aic7xxx.c | inb(DISC_DSB + base)); |
inb | 3617 | drivers/scsi/aic7xxx.c | target_settings = inb(TARG_SCRATCH + base + i); |
inb | 4354 | drivers/scsi/aic7xxx.c | active_scb = inb(SCBPTR + base); |
inb | 4356 | drivers/scsi/aic7xxx.c | control = inb(SCBARRAY + base); |
inb | 4362 | drivers/scsi/aic7xxx.c | if (inb(SCBARRAY + base) & DISCONNECTED) |
inb | 4385 | drivers/scsi/aic7xxx.c | unsigned char msg_len = inb(MSG_LEN + base); |
inb | 331 | drivers/scsi/eata.c | while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) |
inb | 358 | drivers/scsi/eata.c | while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) |
inb | 913 | drivers/scsi/eata.c | while (inb(sh[j]->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) { |
inb | 921 | drivers/scsi/eata.c | inb(sh[j]->io_port + REG_STATUS); |
inb | 119 | drivers/scsi/eata_dma.c | fake_int_result = inb((ulong)fake_int_base + HA_RSTATUS); |
inb | 172 | drivers/scsi/eata_dma.c | while(inb((uint)sh->base + HA_RAUXSTAT) & HA_AIRQ) { |
inb | 180 | drivers/scsi/eata_dma.c | eata_stat = inb((uint)sh->base + HA_RSTATUS); |
inb | 193 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 205 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 211 | drivers/scsi/eata_dma.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 313 | drivers/scsi/eata_dma.c | while (inb(base + HA_RAUXSTAT) & HA_ABUSY) |
inb | 542 | drivers/scsi/eata_dma.c | while (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) { |
inb | 599 | drivers/scsi/eata_dma.c | while (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 638 | drivers/scsi/eata_dma.c | inb((u32) (cmd->host->base) + HA_RSTATUS); /* This might cause trouble */ |
inb | 750 | drivers/scsi/eata_dma.c | inb((u32) (base) + HA_RSTATUS); |
inb | 792 | drivers/scsi/eata_dma.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 803 | drivers/scsi/eata_dma.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 811 | drivers/scsi/eata_dma.c | if (!(inb(base + HA_RSTATUS) & HA_SERROR)) { /* Error ? */ |
inb | 817 | drivers/scsi/eata_dma.c | while (inb(base + HA_RSTATUS) & HA_SDRQ) |
inb | 1122 | drivers/scsi/eata_dma.c | pal1 = inb((u16)base - 8); |
inb | 1123 | drivers/scsi/eata_dma.c | pal2 = inb((u16)base - 7); |
inb | 1124 | drivers/scsi/eata_dma.c | pal3 = inb((u16)base - 6); |
inb | 1229 | drivers/scsi/eata_dma.c | pal1 = inb(base); |
inb | 1230 | drivers/scsi/eata_dma.c | pal2 = inb(base + 1); |
inb | 1231 | drivers/scsi/eata_dma.c | pal3 = inb(base + 2); |
inb | 146 | drivers/scsi/eata_pio.c | if (inb((uint)sh->base + HA_RSTATUS) & HA_SBUSY) |
inb | 159 | drivers/scsi/eata_pio.c | stat=inb(base+HA_RSTATUS); |
inb | 231 | drivers/scsi/eata_pio.c | if (!(inb(base+HA_RSTATUS)&HA_SERROR)) |
inb | 242 | drivers/scsi/eata_pio.c | eata_stat = inb(base + HA_RSTATUS); |
inb | 271 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 388 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)); |
inb | 416 | drivers/scsi/eata_pio.c | while (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY) |
inb | 563 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)); |
inb | 568 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY); |
inb | 569 | drivers/scsi/eata_pio.c | if (inb(base + HA_RSTATUS) & HA_SERROR) |
inb | 571 | drivers/scsi/eata_pio.c | else if (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 576 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS)&HA_SDRQ) inw(base + HA_RDATA); |
inb | 592 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 603 | drivers/scsi/eata_pio.c | while (!(inb(base + HA_RSTATUS) & HA_SDRQ)) |
inb | 610 | drivers/scsi/eata_pio.c | if (!(inb(base + HA_RSTATUS) & HA_SERROR)) { /* Error ? */ |
inb | 616 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SDRQ) |
inb | 657 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY); |
inb | 660 | drivers/scsi/eata_pio.c | while (inb(base + HA_RSTATUS) & HA_SBUSY) |
inb | 662 | drivers/scsi/eata_pio.c | if (inb(base + HA_RSTATUS) & HA_SDRQ) |
inb | 671 | drivers/scsi/eata_pio.c | } while (inb(base+HA_RSTATUS) & (HA_SBUSY|HA_SDRQ)); |
inb | 673 | drivers/scsi/eata_pio.c | return (!(inb(base+HA_RSTATUS) & HA_SERROR)); |
inb | 848 | drivers/scsi/eata_pio.c | pal1 = inb((u16)base - 8); |
inb | 849 | drivers/scsi/eata_pio.c | pal2 = inb((u16)base - 7); |
inb | 850 | drivers/scsi/eata_pio.c | pal3 = inb((u16)base - 6); |
inb | 929 | drivers/scsi/eata_pio.c | if ((inb(base) == 0x12) && (inb(base + 1) == 0x14)) |
inb | 503 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
inb | 512 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
inb | 513 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
inb | 514 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
inb | 517 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
inb | 528 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x80) { |
inb | 530 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x00) { |
inb | 541 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
inb | 559 | drivers/scsi/fdomain.c | result = inb( port_base + Read_Loopback ); |
inb | 582 | drivers/scsi/fdomain.c | int options = inb( base + Configuration1 ); |
inb | 1138 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 1173 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); /* Read adapter status */ |
inb | 1253 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 1275 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1303 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1330 | drivers/scsi/fdomain.c | current_SC->SCp.Status = inb( Read_SCSI_Data_port ); |
inb | 1347 | drivers/scsi/fdomain.c | current_SC->SCp.Message = inb( Read_SCSI_Data_port ); |
inb | 1570 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
inb | 1753 | drivers/scsi/fdomain.c | imr = (inb( 0x0a1 ) << 8) + inb( 0x21 ); |
inb | 1755 | drivers/scsi/fdomain.c | irr = inb( 0xa0 ) << 8; |
inb | 1757 | drivers/scsi/fdomain.c | irr += inb( 0x20 ); |
inb | 1759 | drivers/scsi/fdomain.c | isr = inb( 0xa0 ) << 8; |
inb | 1761 | drivers/scsi/fdomain.c | isr += inb( 0x20 ); |
inb | 1769 | drivers/scsi/fdomain.c | printk( "SCSI Status = 0x%02x\n", inb( SCSI_Status_port ) ); |
inb | 1770 | drivers/scsi/fdomain.c | printk( "TMC Status = 0x%02x", inb( TMC_Status_port ) ); |
inb | 1771 | drivers/scsi/fdomain.c | if (inb( TMC_Status_port & 1)) |
inb | 1774 | drivers/scsi/fdomain.c | printk( "Interrupt Status = 0x%02x", inb( Interrupt_Status_port ) ); |
inb | 1775 | drivers/scsi/fdomain.c | if (inb( Interrupt_Status_port ) & 0x08) |
inb | 1779 | drivers/scsi/fdomain.c | printk( "FIFO Status = 0x%02x\n", inb( port_base + FIFO_Status ) ); |
inb | 1781 | drivers/scsi/fdomain.c | inb( port_base + Interrupt_Cond ) ); |
inb | 1783 | drivers/scsi/fdomain.c | printk( "Configuration 1 = 0x%02x\n", inb( port_base + Configuration1 ) ); |
inb | 1786 | drivers/scsi/fdomain.c | inb( port_base + Configuration2 ) ); |
inb | 108 | drivers/scsi/g_NCR5380.h | #define NCR5380_read(reg) (inb(NCR5380_map_name + (reg))) |
inb | 142 | drivers/scsi/in2000.c | tmp = inb(INFLED); |
inb | 148 | drivers/scsi/in2000.c | tmp = inb(INVERS); |
inb | 170 | drivers/scsi/in2000.c | if(inb(INSTAT) & 0x20) return 0xffffff; /* not readable now */ |
inb | 172 | drivers/scsi/in2000.c | total = (inb(INDATA) & 0xff) << 16; |
inb | 174 | drivers/scsi/in2000.c | total += (inb(INDATA) & 0xff) << 8; |
inb | 176 | drivers/scsi/in2000.c | total += (inb(INDATA) & 0xff); |
inb | 191 | drivers/scsi/in2000.c | infcnt = inb(INFCNT)& 0xfe; /* FIFO counter */ |
inb | 211 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && ((infcnt = (inb(INFCNT)) & 0xfe) >= 0x20) ); |
inb | 233 | drivers/scsi/in2000.c | count = inb(INFCNT) & 0xe1; |
inb | 236 | drivers/scsi/in2000.c | count = (fic = inb(INFCNT)) & 0xe1; |
inb | 266 | drivers/scsi/in2000.c | } while((in2000_datalen > 0) && (fic = inb(INFCNT)) ); |
inb | 288 | drivers/scsi/in2000.c | DEB(printk("INT:%d %02x %08x\n", in2000_datalen, inb(INFCNT),(unsigned int)in2000_dataptr)); |
inb | 290 | drivers/scsi/in2000.c | if (( (ficmsk & (count = inb(INFCNT))) == 0xfe ) || |
inb | 291 | drivers/scsi/in2000.c | ( (inb(INSTAT) & 0x8c) == 0x80)) |
inb | 293 | drivers/scsi/in2000.c | auxstatus = inb(INSTAT); /* need to save now */ |
inb | 295 | drivers/scsi/in2000.c | scsistatus = inb(INDATA); /* This clears the WD intrpt bit */ |
inb | 297 | drivers/scsi/in2000.c | scsibyte = inb(INDATA); /* Get the scsi status byte */ |
inb | 299 | drivers/scsi/in2000.c | cmdphase = inb(INDATA); |
inb | 479 | drivers/scsi/in2000.c | if ( ! ( inb(INSTAT) & 0xb0 ) ) |
inb | 486 | drivers/scsi/in2000.c | inb(INSTAT); |
inb | 488 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 490 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 491 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 604 | drivers/scsi/in2000.c | tmp = inb(INFLED); |
inb | 626 | drivers/scsi/in2000.c | irq_level = int_tab [ ((~inb(INFLED)>>3)&0x3) ]; |
inb | 642 | drivers/scsi/in2000.c | inb(INDATA); /* free status reg, clear WD intrpt */ |
inb | 681 | drivers/scsi/in2000.c | inb(INDATA); |
inb | 231 | drivers/scsi/pas16.c | tmp = inb( io_port + IO_CONFIG_3 ); |
inb | 277 | drivers/scsi/pas16.c | board_rev = inb( io_port + PCB_CONFIG ); |
inb | 285 | drivers/scsi/pas16.c | tmp = inb( io_port + PCB_CONFIG ); |
inb | 291 | drivers/scsi/pas16.c | if( ( inb( io_port + OPERATION_MODE_1 ) & 0x03 ) != 0x03 ) |
inb | 415 | drivers/scsi/pas16.c | outb( (inb(io_port + IO_CONFIG_3) & 0x0f), io_port + IO_CONFIG_3 ); |
inb | 496 | drivers/scsi/pas16.c | while ( !(inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY) ); |
inb | 500 | drivers/scsi/pas16.c | if ( inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
inb | 528 | drivers/scsi/pas16.c | while ( !((inb(instance->io_port + P_STATUS_REG_OFFSET)) & P_ST_RDY) ); |
inb | 532 | drivers/scsi/pas16.c | if (inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
inb | 166 | drivers/scsi/pas16.h | #define NCR5380_read(reg) ( inb(PAS16_io_port(reg)) ) |
inb | 171 | drivers/scsi/pas16.h | , instance->hostno, (reg), PAS16_io_port(reg))), inb( PAS16_io_port(reg)) ) |
inb | 156 | drivers/scsi/qlogic.c | #define REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd )) |
inb | 157 | drivers/scsi/qlogic.c | #define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | QL_INT_ACTIVE_HIGH , qbase + 0xd )) |
inb | 167 | drivers/scsi/qlogic.c | #define rtrc(i) {inb(0x3da);outb(0x31,0x3c0);outb((i),0x3c0);} |
inb | 183 | drivers/scsi/qlogic.c | x = inb(qbase + 0xd); |
inb | 202 | drivers/scsi/qlogic.c | if( reqlen >= 128 && (inb( qbase + 8 ) & 2) ) { /* full */ |
inb | 208 | drivers/scsi/qlogic.c | if( (j=inb( qbase + 8 )) & 4 ) { |
inb | 213 | drivers/scsi/qlogic.c | if( reqlen >= 44 && (inb( qbase + 8 ) & 8) ) { /* 1/3 */ |
inb | 225 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 0x10 ) ) { |
inb | 226 | drivers/scsi/qlogic.c | *request++ = inb(qbase + 4); |
inb | 230 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 237 | drivers/scsi/qlogic.c | if( reqlen >= 128 && inb( qbase + 8 ) & 0x10 ) { /* empty */ |
inb | 243 | drivers/scsi/qlogic.c | if( !((j=inb( qbase + 8 )) & 8) ) { |
inb | 248 | drivers/scsi/qlogic.c | if( reqlen >= 40 && !(inb( qbase + 8 ) & 4 ) ) { /* 2/3 */ |
inb | 259 | drivers/scsi/qlogic.c | while ( reqlen && !( (j=inb(qbase + 8)) & 2 ) ) { |
inb | 264 | drivers/scsi/qlogic.c | j = inb(qbase+8); |
inb | 268 | drivers/scsi/qlogic.c | return inb( qbase + 8 ) & 0xc0; |
inb | 278 | drivers/scsi/qlogic.c | while ( i > jiffies && !qabort && !((k = inb(qbase + 4)) & 0xe0)) |
inb | 306 | drivers/scsi/qlogic.c | inb(qbase + 5); /* clear interrupts */ |
inb | 307 | drivers/scsi/qlogic.c | if (inb(qbase + 5)) /* if still interrupting */ |
inb | 309 | drivers/scsi/qlogic.c | else if (inb(qbase + 7) & 0x1f) |
inb | 311 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear ints */ |
inb | 315 | drivers/scsi/qlogic.c | inb(qbase + 8); /* clear int bits */ |
inb | 351 | drivers/scsi/qlogic.c | j = inb(qbase + 6); |
inb | 352 | drivers/scsi/qlogic.c | i = inb(qbase + 5); |
inb | 356 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); /* the 0x10 bit can be set after the 0x08 */ |
inb | 368 | drivers/scsi/qlogic.c | printk("Ql:Bad sequence for command %d, int %02X, cmdleft = %d\n", j, i, inb( qbase+7 ) & 0x1f ); |
inb | 373 | drivers/scsi/qlogic.c | if (inb(qbase + 7) & 0x1f) /* if some bytes in fifo */ |
inb | 378 | drivers/scsi/qlogic.c | if (reqlen && !((phase = inb(qbase + 4)) & 6)) { /* data phase */ |
inb | 406 | drivers/scsi/qlogic.c | k = inb(qbase + 5); /* should be 0x10, bus service */ |
inb | 410 | drivers/scsi/qlogic.c | while ( k > jiffies && !qabort && !(inb(qbase + 4) & 6)); /* wait for status phase */ |
inb | 415 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* clear pending ints */ |
inb | 421 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* get chip irq stat */ |
inb | 422 | drivers/scsi/qlogic.c | j = inb(qbase + 7) & 0x1f; /* and bytes rec'd */ |
inb | 423 | drivers/scsi/qlogic.c | status = inb(qbase + 2); |
inb | 424 | drivers/scsi/qlogic.c | message = inb(qbase + 2); |
inb | 435 | drivers/scsi/qlogic.c | i = inb(qbase + 5); /* should be bus service */ |
inb | 438 | drivers/scsi/qlogic.c | i |= inb(qbase + 5); |
inb | 453 | drivers/scsi/qlogic.c | if (!(inb(qbase + 4) & 0x80)) /* false alarm? */ |
inb | 458 | drivers/scsi/qlogic.c | while (i-- && inb(qbase + 5)); /* maybe also ql_zap() */ |
inb | 558 | drivers/scsi/qlogic.c | if ( ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) |
inb | 559 | drivers/scsi/qlogic.c | && ( (inb(qbase + 0xe) ^ inb(qbase + 0xe)) == 7 ) ) |
inb | 568 | drivers/scsi/qlogic.c | qltyp = inb(qbase + 0xe) & 0xf8; |
inb | 580 | drivers/scsi/qlogic.c | while( inb( qbase + 0xf ) & 4 ); |
inb | 597 | drivers/scsi/qlogic.c | i &= ~(inb(0x20) | (inb(0xa0) << 8)); /* find IRQ off */ |
inb | 599 | drivers/scsi/qlogic.c | i &= inb(0x20) | (inb(0xa0) << 8); /* find IRQ on */ |
inb | 602 | drivers/scsi/qlogic.c | while (inb(qbase + 5)); /* purge int */ |
inb | 296 | drivers/scsi/u14-34f.c | while (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED) |
inb | 395 | drivers/scsi/u14-34f.c | if (inb(*port_base + REG_PRODUCT_ID1) != PRODUCT_ID1) return FALSE; |
inb | 397 | drivers/scsi/u14-34f.c | in_byte = inb(*port_base + REG_PRODUCT_ID2); |
inb | 401 | drivers/scsi/u14-34f.c | *(char *)&config_1 = inb(*port_base + REG_CONFIG1); |
inb | 402 | drivers/scsi/u14-34f.c | *(char *)&config_2 = inb(*port_base + REG_CONFIG2); |
inb | 447 | drivers/scsi/u14-34f.c | sys_mask = inb(sh[j]->io_port + REG_SYS_MASK); |
inb | 448 | drivers/scsi/u14-34f.c | lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK); |
inb | 866 | drivers/scsi/u14-34f.c | while (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED) { |
inb | 396 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address)); |
inb | 411 | drivers/scsi/ultrastor.c | in_byte = inb(U14F_PRODUCT_ID(config.port_address) + 1); |
inb | 454 | drivers/scsi/ultrastor.c | *(char *)&config_1 = inb(CONFIG(config.port_address + 0)); |
inb | 455 | drivers/scsi/ultrastor.c | *(char *)&config_2 = inb(CONFIG(config.port_address + 1)); |
inb | 543 | drivers/scsi/ultrastor.c | if (inb(addr) != US24F_PRODUCT_ID_0 && |
inb | 544 | drivers/scsi/ultrastor.c | inb(addr+1) != US24F_PRODUCT_ID_1 && |
inb | 545 | drivers/scsi/ultrastor.c | inb(addr+2) != US24F_PRODUCT_ID_2) |
inb | 548 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
inb | 550 | drivers/scsi/ultrastor.c | if (! (inb(addr+4) & 1)) |
inb | 560 | drivers/scsi/ultrastor.c | config_1 = inb(addr + 5); |
inb | 592 | drivers/scsi/ultrastor.c | config_2 = inb(addr + 7); |
inb | 746 | drivers/scsi/ultrastor.c | while (inb(config.ogm_address - 1) != 0 && |
inb | 751 | drivers/scsi/ultrastor.c | while ((inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
inb | 761 | drivers/scsi/ultrastor.c | if (inb(LCL_DOORBELL_INTR(config.doorbell_address)) & |
inb | 862 | drivers/scsi/ultrastor.c | unsigned char p = inb(port0 + i); |
inb | 869 | drivers/scsi/ultrastor.c | ogm_status = inb(port0 + 22); |
inb | 871 | drivers/scsi/ultrastor.c | icm_status = inb(port0 + 27); |
inb | 879 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) == 2 : |
inb | 880 | drivers/scsi/ultrastor.c | (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
inb | 902 | drivers/scsi/ultrastor.c | if (config.slot && inb(config.ogm_address - 1) == 0) |
inb | 909 | drivers/scsi/ultrastor.c | inb(0xc80); /* delay */ |
inb | 1054 | drivers/scsi/ultrastor.c | unsigned char icm_status = inb(config.icm_address - 1); |
inb | 1147 | drivers/scsi/ultrastor.c | if (config.slot ? inb(config.icm_address - 1) : (inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1)) |
inb | 562 | drivers/scsi/wd7000.c | WAITbits = inb(port) & (mask); \ |
inb | 585 | drivers/scsi/wd7000.c | } while (inb(host->iobase+ASC_STAT) & CMD_REJ); |
inb | 825 | drivers/scsi/wd7000.c | flag = inb(host->iobase+ASC_INTR_STAT); |
inb | 830 | drivers/scsi/wd7000.c | if (!(inb(host->iobase+ASC_STAT) & INT_IM)) { |
inb | 1012 | drivers/scsi/wd7000.c | if ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1) { |
inb | 1198 | drivers/scsi/wd7000.c | if (inb(host->iobase+ASC_STAT) & INT_IM) { |
inb | 140 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) /*Are we initializing */ |
inb | 146 | drivers/sound/ad1848.c | x = inb (io_Indexed_Data (devc)); |
inb | 160 | drivers/sound/ad1848.c | inb (devc->base) == 0x80) /*Are we initializing */ |
inb | 184 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) & 0x80) |
inb | 186 | drivers/sound/ad1848.c | if (inb (devc->base) & 0x80) |
inb | 239 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) /*Are we initializing */ |
inb | 246 | drivers/sound/ad1848.c | prev = inb (io_Index_Addr (devc)); |
inb | 264 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) /*Are we initializing */ |
inb | 271 | drivers/sound/ad1848.c | prev = inb (io_Index_Addr (devc)); |
inb | 987 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) |
inb | 1001 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) |
inb | 1053 | drivers/sound/ad1848.c | for (timeout = 0; timeout < 10000 && !(inb (io_Status (devc)) & 0x80); |
inb | 1188 | drivers/sound/ad1848.c | if ((inb (devc->base) & 0x80) != 0x00) /* Not a AD1848 */ |
inb | 1191 | drivers/sound/ad1848.c | inb (devc->base))); |
inb | 1623 | drivers/sound/ad1848.c | status = inb (io_Status (devc)); |
inb | 1709 | drivers/sound/ad1848.c | if ((tmp = inb (hw_config->io_base + 3)) == 0xff) /* Bus float */ |
inb | 1719 | drivers/sound/ad1848.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
inb | 1739 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
inb | 1745 | drivers/sound/ad1848.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
inb | 1793 | drivers/sound/ad1848.c | if ((inb (version_port) & 0x40) == 0) |
inb | 373 | drivers/sound/aedsp16.c | ret = inb (port + DSP_DATAVAIL); |
inb | 391 | drivers/sound/aedsp16.c | return inb (port + DSP_READ); |
inb | 422 | drivers/sound/aedsp16.c | ret = inb (port + DSP_STATUS); |
inb | 188 | drivers/sound/gus_card.c | if (!(src = inb (u_IrqStatus))) |
inb | 54 | drivers/sound/gus_midi.c | return inb (u_MidiStatus); |
inb | 282 | drivers/sound/gus_midi.c | data = inb (u_MidiData); |
inb | 220 | drivers/sound/gus_wave.c | inb (u_DRAMIO); |
inb | 254 | drivers/sound/gus_wave.c | tmp = inb (u_DRAMIO); |
inb | 283 | drivers/sound/gus_wave.c | val = inb (u_DataHi); |
inb | 298 | drivers/sound/gus_wave.c | val = inb (u_DataHi); |
inb | 331 | drivers/sound/gus_wave.c | lo = inb (u_DataLo); |
inb | 332 | drivers/sound/gus_wave.c | hi = inb (u_DataHi); |
inb | 690 | drivers/sound/gus_wave.c | inb (u_Status); /* Touch the status register */ |
inb | 731 | drivers/sound/gus_wave.c | inb (u_Status); /* Touch the status register */ |
inb | 3022 | drivers/sound/gus_wave.c | val = inb (gus_base + 0x0f); |
inb | 3032 | drivers/sound/gus_wave.c | val = inb (u_MixSelect); |
inb | 3458 | drivers/sound/gus_wave.c | inb (select_addr); |
inb | 3463 | drivers/sound/gus_wave.c | inb (select_addr); |
inb | 243 | drivers/sound/ics2101.c | if (inb (u_MixSelect) != 5) |
inb | 133 | drivers/sound/mad16.c | tmp = inb (port); |
inb | 184 | drivers/sound/mad16.c | if ((tmp2 = inb (MC1_PORT)) == tmp) /* It didn't close */ |
inb | 344 | drivers/sound/mad16.c | if ((inb (hw_config->io_base + 3) & 0x3f) != 0x04 && |
inb | 345 | drivers/sound/mad16.c | (inb (hw_config->io_base + 3) & 0x3f) != 0x00) |
inb | 348 | drivers/sound/mad16.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
inb | 368 | drivers/sound/mad16.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
inb | 374 | drivers/sound/mad16.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
inb | 416 | drivers/sound/mad16.c | if ((inb (version_port) & 0x40) == 0) |
inb | 80 | drivers/sound/mad16_sb_midi.c | if ((inb (DSP_STATUS) & 0x80) == 0) |
inb | 100 | drivers/sound/mad16_sb_midi.c | status = inb (DSP_DATA_AVAIL); /* |
inb | 107 | drivers/sound/mad16_sb_midi.c | data = inb (DSP_READ); |
inb | 126 | drivers/sound/mad16_sb_midi.c | for (loopc = 0; loopc < 1000 && !(inb (DSP_DATA_AVAIL) & 0x80); loopc++); /* |
inb | 135 | drivers/sound/mad16_sb_midi.c | if (inb (DSP_READ) != 0xAA) |
inb | 73 | drivers/sound/maui.c | if (inb (HOST_STAT_PORT) & mask) |
inb | 85 | drivers/sound/maui.c | if (inb (HOST_STAT_PORT) & mask) |
inb | 118 | drivers/sound/maui.c | return inb (HOST_DATA_PORT); |
inb | 94 | drivers/sound/mpu401.c | return inb (STATPORT (devc->base)); |
inb | 106 | drivers/sound/mpu401.c | return inb (DATAPORT (devc->base)); |
inb | 1307 | drivers/sound/mpu401.c | if (inb (hw_config->io_base + 1) == 0xff) |
inb | 211 | drivers/sound/opl3.c | signature = stat1 = inb (ioaddr); /* Status register */ |
inb | 234 | drivers/sound/opl3.c | stat2 = inb (ioaddr); /* |
inb | 277 | drivers/sound/opl3.c | if ((tmp = inb (ioaddr)) == 0x02) /* Have a OPL4 */ |
inb | 288 | drivers/sound/opl3.c | tmp = inb (ioaddr - 7); /* Read it */ |
inb | 784 | drivers/sound/opl3.c | inb (io_addr); |
inb | 796 | drivers/sound/opl3.c | inb (io_addr); |
inb | 69 | drivers/sound/pas2_card.c | return inb (ioaddr ^ translat_code); |
inb | 350 | drivers/sound/pas2_card.c | foo = inb (INTERRUPT_MASK); |
inb | 420 | drivers/sound/pss.c | if ((inb (hw_config->io_base + 1) & 0x80) == 0) /* Input data avail */ |
inb | 421 | drivers/sound/pss.c | inb (hw_config->io_base); /* Discard it */ |
inb | 749 | drivers/sound/pss.c | timeout < 100000 && (inb (hw_config->io_base + 3) & 0x3f) != 0x04; |
inb | 102 | drivers/sound/sb16_dsp.c | while (--i & (!inb (DSP_STATUS) & 0x80)); |
inb | 599 | drivers/sound/sb16_dsp.c | data = inb (DSP_DATA_AVL16); /* |
inb | 48 | drivers/sound/sb16_midi.c | return inb (STATPORT); |
inb | 60 | drivers/sound/sb16_midi.c | return inb (DATAPORT); |
inb | 284 | drivers/sound/sb16_midi.c | if (inb (STATPORT) == 0xff) |
inb | 138 | drivers/sound/sb_dsp.c | if ((inb (DSP_STATUS) & 0x80) == 0) |
inb | 175 | drivers/sound/sb_dsp.c | if (inb (DSP_DATA_AVAIL) & 0x80) |
inb | 176 | drivers/sound/sb_dsp.c | return inb (DSP_READ); |
inb | 207 | drivers/sound/sb_dsp.c | status = inb (DSP_DATA_AVAIL); /* |
inb | 268 | drivers/sound/sb_dsp.c | for (loopc = 0; loopc < 1000 && !(inb (DSP_DATA_AVAIL) & 0x80); loopc++); |
inb | 270 | drivers/sound/sb_dsp.c | if (inb (DSP_READ) != 0xAA) |
inb | 1027 | drivers/sound/sb_dsp.c | if (inb (DSP_DATA_AVAIL) & 0x80) |
inb | 1029 | drivers/sound/sb_dsp.c | return inb (DSP_READ); |
inb | 1071 | drivers/sound/sb_dsp.c | val = inb (base); /* Data */ |
inb | 1098 | drivers/sound/sb_dsp.c | control = inb (mpu_base + 7); |
inb | 1458 | drivers/sound/sb_dsp.c | if (inb (DSP_DATA_AVAIL) & 0x80) |
inb | 1461 | drivers/sound/sb_dsp.c | sbc_major = inb (DSP_READ); |
inb | 1464 | drivers/sound/sb_dsp.c | sbc_minor = inb (DSP_READ); |
inb | 1492 | drivers/sound/sb_dsp.c | inb (DSP_DATA_AVAIL)); |
inb | 1515 | drivers/sound/sb_dsp.c | if (inb (DSP_DATA_AVAIL) & 0x80) |
inb | 1520 | drivers/sound/sb_dsp.c | ess_major = inb (DSP_READ); |
inb | 1523 | drivers/sound/sb_dsp.c | ess_minor = inb (DSP_READ); |
inb | 211 | drivers/sound/sb_midi.c | data = inb (DSP_READ); |
inb | 90 | drivers/sound/sb_mixer.c | val = inb (MIXER_DATA); |
inb | 480 | drivers/sound/soundcard.c | inb (0x80); |
inb | 137 | drivers/sound/sscape.c | val = inb (PORT (ODIE_DATA)); |
inb | 182 | drivers/sound/sscape.c | if (inb (PORT (HOST_CTRL)) & TX_READY) |
inb | 215 | drivers/sound/sscape.c | if (inb (PORT (HOST_CTRL)) & RX_READY) |
inb | 224 | drivers/sound/sscape.c | data = inb (PORT (HOST_DATA)); |
inb | 386 | drivers/sound/sscape.c | if (inb (devc->base + HOST_CTRL) & 0x80) |
inb | 389 | drivers/sound/sscape.c | if (inb (devc->base) != 0x00) |
inb | 568 | drivers/sound/sscape.c | if (inb (PORT (HOST_DATA)) == 0xff) /* OBP startup acknowledge */ |
inb | 601 | drivers/sound/sscape.c | if (inb (PORT (HOST_DATA)) == 0xfe) /* Host startup acknowledge */ |
inb | 1031 | drivers/sound/sscape.c | if ((save = inb (PORT (ODIE_ADDR))) & 0xf0) |
inb | 1035 | drivers/sound/sscape.c | if (inb (PORT (ODIE_ADDR)) != 0x00) |
inb | 1039 | drivers/sound/sscape.c | if (inb (PORT (ODIE_ADDR)) != 0x0f) |
inb | 1080 | drivers/sound/sscape.c | inb (devc->base + ODIE_ADDR); |
inb | 56 | drivers/sound/trix.c | return inb (0x391); /* MT-0002-PC ASIC data */ |
inb | 175 | drivers/sound/trix.c | if ((inb (hw_config->io_base + 3) & 0x3f) != 0x00) |
inb | 204 | drivers/sound/trix.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
inb | 210 | drivers/sound/trix.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
inb | 257 | drivers/sound/trix.c | if ((inb (version_port) & 0x40) == 0) |
inb | 48 | drivers/sound/uart6850.c | return inb (STATPORT); |
inb | 60 | drivers/sound/uart6850.c | return inb (DATAPORT); |
inb | 24 | include/asm-alpha/dma.h | #define dma_inb inb |
inb | 107 | include/asm-alpha/io.h | #ifndef inb |
inb | 127 | include/asm-alpha/io.h | # define inb_p inb |
inb | 20 | include/asm-i386/dma.h | #define dma_inb inb |
inb | 24 | include/asm-mips/dma.h | #define dma_inb inb |
inb | 20 | include/asm-ppc/dma.h | #define dma_inb inb |
inb | 66 | include/asm-ppc/io.h | unsigned char inb(int port); |
inb | 74 | include/asm-ppc/io.h | static inline unsigned char inb_p(int port) {return (inb(port)); } |
inb | 90 | include/asm-sparc/io.h | #define inb_p inb |
inb | 324 | include/linux/sbpcd.h | #define DRV_ATTN ((inb(CDi_status)&s_attention)!=0) |
inb | 325 | include/linux/sbpcd.h | #define DATA_READY ((inb(CDi_status)&s_not_data_ready)==0) |
inb | 326 | include/linux/sbpcd.h | #define RESULT_READY ((inb(CDi_status)&s_not_result_ready)==0) |
inb | 114 | include/linux/scc.h | #define Inb(port) inb(port) |