tag | line | file | source code |
inb | 463 | arch/alpha/kernel/bios32.c | data = inb(ide_base+1); /* read the current contents */ |
inb | 836 | arch/alpha/kernel/bios32.c | level_bits |= (inb(0x4d0) | (inb(0x4d1) << 8)); |
inb | 256 | arch/alpha/kernel/irq.c | printk("61=%02x, 461=%02x\n", inb(0x61), inb(0x461)); |
inb | 276 | arch/alpha/kernel/irq.c | inb(0x64), inb(0x60), inb(0x3fa), inb(0x2fa)); |
inb | 379 | arch/alpha/kernel/irq.c | if (!(inb(0x20) & 0x80)) { |
inb | 401 | arch/alpha/kernel/irq.c | pic = inb(0x20) | (inb(0xA0) << 8); /* read isr */ |
inb | 424 | arch/alpha/kernel/irq.c | pld = inb(0x804) | (inb(0x805) << 8) | (inb(0x806) << 16); |
inb | 427 | arch/alpha/kernel/irq.c | printk("[0x%04X/0x%04X]", pld, inb(0x20) | (inb(0xA0) << 8)); |
inb | 457 | 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 | 128 | arch/i386/kernel/time.c | count |= inb(0x40) << 8; |
inb | 133 | 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 | 115 | arch/ppc/kernel/irq.c | irq = inb(0x20); |
inb | 120 | arch/ppc/kernel/irq.c | irq = inb(0xA0) & 0x07; |
inb | 176 | arch/ppc/kernel/irq.c | _a1 = inb(0xA1); |
inb | 177 | arch/ppc/kernel/irq.c | _21 = inb(0x21); |
inb | 178 | arch/ppc/kernel/irq.c | outb(0x0C, 0x20); _20 = inb(0x20); |
inb | 179 | 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 | 261 | drivers/block/cmd640.c | b = inb(0x17c); |
inb | 264 | drivers/block/cmd640.c | b = inb(0x7c); |
inb | 664 | drivers/block/cmd640.c | for (i = 0; (i < 100) && (inb (p_base + 7) & 0x80); i++) |
inb | 56 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 58 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 60 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 61 | drivers/block/dtc2278.c | if(inb(0xb4) == c) { |
inb | 63 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 106 | drivers/block/dtc2278.c | inb(0x3f6); |
inb | 108 | 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 | 138 | drivers/block/ht6560b.c | (void) inb(HT_SELECT_PORT); |
inb | 139 | drivers/block/ht6560b.c | (void) inb(HT_SELECT_PORT); |
inb | 140 | drivers/block/ht6560b.c | (void) inb(HT_SELECT_PORT); |
inb | 144 | drivers/block/ht6560b.c | t = inb(HT_SELECT_PORT) ^ 0x3f; |
inb | 152 | drivers/block/ht6560b.c | (void) inb (IDE_STATUS_REG); |
inb | 170 | drivers/block/ht6560b.c | if ((orig_value=inb(HT_SELECT_PORT)) == 0xff) |
inb | 175 | drivers/block/ht6560b.c | if (!( (~inb(HT_SELECT_PORT)) & 0x3f )) { |
inb | 181 | drivers/block/ht6560b.c | if ((~inb(HT_SELECT_PORT))& 0x3f) { |
inb | 293 | drivers/block/ide.c | i |= inb(0x40) << 8; |
inb | 396 | drivers/block/ide.c | (void) inb (port); |
inb | 397 | drivers/block/ide.c | (void) inb (port); |
inb | 398 | 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 | 157 | drivers/block/triton.c | dma_stat = inb(dma_base+2); /* get DMA status */ |
inb | 158 | drivers/block/triton.c | outb(inb(dma_base)&~1, dma_base); /* stop DMA operation */ |
inb | 285 | drivers/block/triton.c | outb(inb(dma_base)&~1, dma_base); /* stop DMA */ |
inb | 294 | drivers/block/triton.c | return ((inb(dma_base+2) & 7) != 4); /* verify good DMA status */ |
inb | 302 | drivers/block/triton.c | outb(inb(dma_base)|1, dma_base); /* begin DMA */ |
inb | 319 | drivers/block/triton.c | outb(inb(dma_base)|1, dma_base); /* begin DMA */ |
inb | 411 | drivers/block/triton.c | if (inb(DEFAULT_BMIBA) != 0xff || !try_again) |
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 | 637 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & 0xFF; |
inb | 643 | drivers/cdrom/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 885 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & (MFL_STATUSorDATA); |
inb | 950 | drivers/cdrom/mcd.c | if ((st = (inb(MCDPORT(1))) & (MFL_STATUSorDATA)) != (MFL_STATUSorDATA)) { |
inb | 992 | drivers/cdrom/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 995 | drivers/cdrom/mcd.c | inb(MCDPORT(0)); |
inb | 996 | drivers/cdrom/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 998 | drivers/cdrom/mcd.c | if ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS) { |
inb | 1001 | drivers/cdrom/mcd.c | inb(MCDPORT(0)); |
inb | 1002 | drivers/cdrom/mcd.c | } while ((inb(MCDPORT(1)) & MFL_STATUSorDATA) == MFL_STATUS && --i); |
inb | 1199 | drivers/cdrom/mcd.c | (void) inb(MCDPORT(1)); /* delay a bit */ |
inb | 1203 | drivers/cdrom/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1212 | drivers/cdrom/mcd.c | count = inb(MCDPORT(0)); /* pick up the status */ |
inb | 1312 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & MFL_STATUS; |
inb | 1315 | drivers/cdrom/mcd.c | i = inb(MCDPORT(0)) & 0xFF; |
inb | 1348 | drivers/cdrom/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1382 | drivers/cdrom/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
inb | 1413 | drivers/cdrom/mcd.c | if (!(inb(MCDPORT(1)) & MFL_STATUS)) |
inb | 1422 | drivers/cdrom/mcd.c | s = inb(MCDPORT(0)) & 0xFF; |
inb | 640 | drivers/cdrom/mcdx.c | if (inb((unsigned int) stuffp->rreg_status) & MCDX_RBIT_DOOR) { |
inb | 887 | drivers/cdrom/mcdx.c | b = inb((unsigned int) stuffp->rreg_status); |
inb | 900 | drivers/cdrom/mcdx.c | irq, inb((unsigned int) stuffp->rreg_data)); |
inb | 1240 | drivers/cdrom/mcdx.c | for (i = 100; i; i--) (void) inb((unsigned int) stuffp->rreg_status); |
inb | 1830 | drivers/cdrom/mcdx.c | while (inb((unsigned int) stuffp->rreg_status) & MCDX_RBIT_STEN) { |
inb | 1835 | 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 | 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 | 202 | drivers/char/console.c | #define serial_echo_inb(a) inb((a)+serial_echo_port) |
inb | 44 | drivers/char/ftape/calibr.c | count |= inb(0x40) << 8; |
inb | 75 | drivers/char/ftape/calibr.c | status = inb(fdc.msr); |
inb | 88 | drivers/char/ftape/fc-10.c | inb(FDC_BASE + inbs_magic[i]); |
inb | 92 | drivers/char/ftape/fc-10.c | x = inb(FDC_BASE); |
inb | 95 | drivers/char/ftape/fc-10.c | if (inb(FDC_BASE + i) != x) { |
inb | 106 | drivers/char/ftape/fc-10.c | if (inb(FDC_BASE + i) != 0x0) { |
inb | 113 | drivers/char/ftape/fc-10.c | if (inb(FDC_BASE + i) != 0xff) { |
inb | 125 | drivers/char/ftape/fc-10.c | inb(FDC_BASE + inbs_magic[i]); |
inb | 157 | drivers/char/ftape/fdc-io.c | *data = inb(fdc.fifo); |
inb | 176 | drivers/char/ftape/fdc-io.c | fdc_status = inb(fdc.msr); |
inb | 221 | drivers/char/ftape/fdc-io.c | fdc_status = inb(fdc.msr); |
inb | 3956 | drivers/char/istallion.c | if (inb(0xc80) == 0xff) |
inb | 3964 | drivers/char/istallion.c | eid = inb(iobase + 0xc80); |
inb | 3965 | drivers/char/istallion.c | eid |= inb(iobase + 0xc81) << 8; |
inb | 4005 | drivers/char/istallion.c | eid = inb(iobase + 0xc82); |
inb | 362 | drivers/char/keyboard.c | scancode = inb(0x60); /* read data anyway */ |
inb | 370 | drivers/char/keyboard.c | scancode = inb(0x60); |
inb | 1263 | drivers/char/keyboard.c | status = inb(KBD_STATUS_REG); |
inb | 1273 | drivers/char/keyboard.c | data = inb(KBD_DATA_REG); |
inb | 1294 | drivers/char/keyboard.c | status = inb(KBD_STATUS_REG); /* spin until input buffer empty*/ |
inb | 140 | 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 | 166 | drivers/char/pcxx.c | outb_p(inb(b->port)|FEPMEM, b->port); |
inb | 171 | drivers/char/pcxx.c | outb_p(inb(b->port)&~FEPMEM, b->port); |
inb | 210 | drivers/char/pcxx.c | pcxxassert(inb(ch->board->port) & FEPMEM, "Global memory off"); |
inb | 216 | drivers/char/pcxx.c | pcxxassert(!(inb(ch->board->port) & FEPMEM), "Memory on"); |
inb | 1078 | drivers/char/pcxx.c | for(i=0; (inb(bd->port) & FEPMASK) != FEPRST; i++) { |
inb | 1090 | drivers/char/pcxx.c | v = inb(bd->port); |
inb | 1137 | drivers/char/pcxx.c | for(i=0; (inb(bd->port) & FEPMASK) != (FEPRST|FEPMEM); i++) { |
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 | 166 | drivers/char/riscom8.c | return inb(bp->base + RC_TO_ISA(reg)); |
inb | 258 | drivers/char/serial.c | return inb(info->port+1); |
inb | 261 | drivers/char/serial.c | return inb(info->port + offset); |
inb | 273 | drivers/char/serial.c | return inb(info->port + offset); |
inb | 553 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 591 | drivers/char/serial.c | info->irq, first_multi, inb(multi->port_monitor)); |
inb | 618 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 640 | drivers/char/serial.c | info->irq, first_multi, inb(multi->port_monitor)); |
inb | 671 | drivers/char/serial.c | first_multi = inb(multi->port_monitor); |
inb | 705 | drivers/char/serial.c | inb(multi->port_monitor)); |
inb | 706 | drivers/char/serial.c | if ((inb(multi->port1) & multi->mask1) != multi->match1) |
inb | 710 | drivers/char/serial.c | if ((inb(multi->port2) & multi->mask2) != multi->match2) |
inb | 714 | drivers/char/serial.c | if ((inb(multi->port3) & multi->mask3) != multi->match3) |
inb | 718 | drivers/char/serial.c | if ((inb(multi->port4) & multi->mask4) == multi->match4) |
inb | 1136 | drivers/char/serial.c | (void) inb((info->port & 0xFE0) | 0x01F); |
inb | 1471 | drivers/char/stallion.c | return(inb(portp->ioaddr + EREG_DATA)); |
inb | 1483 | drivers/char/stallion.c | if (inb(portp->ioaddr + EREG_DATA) != value) { |
inb | 1515 | drivers/char/stallion.c | ioack = inb(ioaddr + EREG_TXACK); |
inb | 1541 | drivers/char/stallion.c | outb((inb(ioaddr + EREG_DATA) & ~COR2_ETC), (ioaddr + EREG_DATA)); |
inb | 1556 | drivers/char/stallion.c | srer = inb(ioaddr + EREG_DATA); |
inb | 1611 | drivers/char/stallion.c | ioack = inb(ioaddr + EREG_RXACK); |
inb | 1621 | drivers/char/stallion.c | len = inb(ioaddr + EREG_DATA); |
inb | 1643 | drivers/char/stallion.c | status = inb(ioaddr + EREG_DATA); |
inb | 1644 | drivers/char/stallion.c | ch = inb(ioaddr + EREG_DATA); |
inb | 1719 | drivers/char/stallion.c | ioack = inb(ioaddr + EREG_MDACK); |
inb | 1727 | drivers/char/stallion.c | misr = inb(ioaddr + EREG_DATA); |
inb | 1775 | drivers/char/stallion.c | if ((inb(brdp->iostatus) & EIO_INTRPEND) == 0) { |
inb | 1782 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
inb | 1785 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
inb | 1788 | drivers/char/stallion.c | if ((inb(brdp->iostatus) & ECH_INTRPEND) == 0) { |
inb | 1796 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1800 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1809 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
inb | 1811 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
inb | 1817 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1821 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1830 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
inb | 1832 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
inb | 1834 | drivers/char/stallion.c | if ((inb(brdp->iostatus) & ECH_INTRPEND) == 0) { |
inb | 1841 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1845 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
inb | 1854 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
inb | 1856 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
inb | 2425 | drivers/char/stallion.c | if ((gfrcr = inb(ioaddr + EREG_DATA)) != 0) |
inb | 2506 | drivers/char/stallion.c | status = inb(brdp->iostatus); |
inb | 2584 | drivers/char/stallion.c | status = inb(brdp->iostatus); |
inb | 2605 | drivers/char/stallion.c | status = inb(brdp->iostatus); |
inb | 2640 | 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 | 254 | drivers/net/3c501.c | station_addr[i] = inb(ioaddr + EL1_SAPROM); |
inb | 287 | drivers/net/3c501.c | inb(RX_STATUS); /* Clear pending interrupts. */ |
inb | 288 | drivers/net/3c501.c | inb(TX_STATUS); |
inb | 395 | drivers/net/3c501.c | dev->name, inb(TX_STATUS), inb(AX_STATUS), inb(RX_STATUS)); |
inb | 511 | drivers/net/3c501.c | axsr = inb(AX_STATUS); |
inb | 539 | 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 | 161 | drivers/net/3c503.c | if (inb(ioaddr + 0x408) == 0xff) { |
inb | 168 | drivers/net/3c503.c | iobase_reg = inb(ioaddr+0x403); |
inb | 169 | drivers/net/3c503.c | membase_reg = inb(ioaddr+0x404); |
inb | 181 | drivers/net/3c503.c | vendor_id = inb(ioaddr)*0x10000 + inb(ioaddr + 1)*0x100 + inb(ioaddr + 2); |
inb | 208 | drivers/net/3c503.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 390 | drivers/net/3c503.c | printk("%#lx=%#02x %#lx=%#02x %#lx=%#02x...", E33G_IDCFR, inb(E33G_IDCFR), |
inb | 391 | drivers/net/3c503.c | E33G_CNTRL, inb(E33G_CNTRL), E33G_GACFR, inb(E33G_GACFR)); |
inb | 479 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 529 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 595 | drivers/net/3c503.c | while ((inb(E33G_STATUS) & ESTAT_DPRDY) == 0) |
inb | 211 | drivers/net/3c505.c | return inb(base_addr + PORT_STATUS); |
inb | 216 | drivers/net/3c505.c | return inb(base_addr + PORT_CONTROL); |
inb | 221 | 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 | 196 | drivers/net/3c509.c | if (inb(id_port) & 0x01) |
inb | 341 | drivers/net/3c509.c | word = (word << 1) + (inb(id_port) & 0x01); |
inb | 396 | drivers/net/3c509.c | inb(ioaddr + i); |
inb | 442 | drivers/net/3c509.c | dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS), |
inb | 472 | drivers/net/3c509.c | inw(ioaddr + EL3_STATUS), inb(ioaddr + TX_STATUS), |
inb | 508 | drivers/net/3c509.c | while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { |
inb | 625 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
inb | 626 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
inb | 627 | drivers/net/3c509.c | /* Multiple collisions. */ inb(ioaddr + 2); |
inb | 628 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
inb | 629 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
inb | 630 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
inb | 631 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
inb | 632 | drivers/net/3c509.c | /* Rx packets */ inb(ioaddr + 7); |
inb | 633 | 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 | 824 | drivers/net/arcnet.c | if (inb(STATUS) == 0xFF) |
inb | 835 | drivers/net/arcnet.c | inb(RESET); /* begin resetting card */ |
inb | 971 | drivers/net/arcnet.c | status=inb(STATUS); |
inb | 986 | drivers/net/arcnet.c | status=inb(STATUS); |
inb | 1042 | drivers/net/arcnet.c | inb(RESET); |
inb | 1051 | drivers/net/arcnet.c | inb(RESET); |
inb | 1221 | drivers/net/arcnet.c | dev->name,inb(STATUS)); |
inb | 1226 | drivers/net/arcnet.c | inb(RESET); |
inb | 1415 | drivers/net/arcnet.c | inb(RESET); /* reset IRQ won't run if START=0 */ |
inb | 1472 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 1494 | drivers/net/arcnet.c | int status=inb(STATUS); |
inb | 1543 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1552 | drivers/net/arcnet.c | inb(STATUS)); |
inb | 1569 | drivers/net/arcnet.c | inb(STATUS),lp->intx,jiffies-dev->trans_start); |
inb | 1699 | drivers/net/arcnet.c | inb(STATUS),lp->intx,lp->in_txhandler,lp->intmask); |
inb | 1852 | drivers/net/arcnet.c | inb(STATUS),lp->intmask,lp->txready,lp->sending); |
inb | 1915 | drivers/net/arcnet.c | if (inb(STATUS) & RESETflag) |
inb | 1944 | drivers/net/arcnet.c | inb(STATUS),lp->intmask); |
inb | 1948 | drivers/net/arcnet.c | status = inb(STATUS); |
inb | 2021 | drivers/net/arcnet.c | inb(STATUS),lp->intx); |
inb | 2151 | drivers/net/arcnet.c | inb(STATUS),boguscount); |
inb | 2191 | 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 | 2882 | drivers/net/de4x5.c | k += (u_char) (tmp = inb(EISA_APROM)); |
inb | 2884 | drivers/net/de4x5.c | k += (u_short) ((tmp = inb(EISA_APROM)) << 8); |
inb | 2901 | drivers/net/de4x5.c | chksum = (u_char) inb(EISA_APROM); |
inb | 2902 | 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 | 1230 | drivers/net/dgrs.c | if (inb(io+ES4H_MANUFmsb) != 0x10 |
inb | 1231 | drivers/net/dgrs.c | || inb(io+ES4H_MANUFlsb) != 0x49 |
inb | 1232 | drivers/net/dgrs.c | || inb(io+ES4H_PRODUCT) != ES4H_PRODUCT_CODE) |
inb | 1235 | drivers/net/dgrs.c | if ( ! (inb(io+ES4H_EC) & ES4H_EC_ENABLE) ) |
inb | 1238 | drivers/net/dgrs.c | mem = (inb(io+ES4H_AS_31_24) << 24) |
inb | 1239 | drivers/net/dgrs.c | + (inb(io+ES4H_AS_23_16) << 16); |
inb | 1241 | drivers/net/dgrs.c | irq = is2iv[ inb(io+ES4H_IS) & ES4H_IS_INTMASK ]; |
inb | 1230 | drivers/net/dgrs_driver.c | if (inb(io+ES4H_MANUFmsb) != 0x10 |
inb | 1231 | drivers/net/dgrs_driver.c | || inb(io+ES4H_MANUFlsb) != 0x49 |
inb | 1232 | drivers/net/dgrs_driver.c | || inb(io+ES4H_PRODUCT) != ES4H_PRODUCT_CODE) |
inb | 1235 | drivers/net/dgrs_driver.c | if ( ! (inb(io+ES4H_EC) & ES4H_EC_ENABLE) ) |
inb | 1238 | drivers/net/dgrs_driver.c | mem = (inb(io+ES4H_AS_31_24) << 24) |
inb | 1239 | drivers/net/dgrs_driver.c | + (inb(io+ES4H_AS_23_16) << 16); |
inb | 1241 | drivers/net/dgrs_driver.c | irq = is2iv[ inb(io+ES4H_IS) & ES4H_IS_INTMASK ]; |
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 | 332 | drivers/net/eepro.c | if (((id=inb(ioaddr + ID_REG)) & ID_REG_MASK) == ID_REG_SIG) { |
inb | 339 | drivers/net/eepro.c | if (((id=inb(ioaddr+ID_REG)) & R_ROBIN_BITS) == |
inb | 373 | drivers/net/eepro.c | id = inb(ioaddr + REG3); |
inb | 465 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 478 | drivers/net/eepro.c | temp_reg = inb(ioaddr + INT_NO_REG); |
inb | 501 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 544 | drivers/net/eepro.c | temp_reg = inb(ioaddr + EEPROM_REG); |
inb | 556 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); /* Setup Transmit Chaining */ |
inb | 560 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG2); /* Match broadcast */ |
inb | 563 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG3); |
inb | 569 | drivers/net/eepro.c | temp_reg = inb(ioaddr + INT_NO_REG); |
inb | 579 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 598 | drivers/net/eepro.c | old8 = inb(ioaddr + 8); |
inb | 600 | drivers/net/eepro.c | if ((temp_reg = inb(ioaddr + 8)) == old8) { |
inb | 608 | drivers/net/eepro.c | old9 = inb(ioaddr + 9); |
inb | 610 | drivers/net/eepro.c | if ((temp_reg = inb(ioaddr + 9)) == ~old9) { |
inb | 620 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG13); |
inb | 739 | drivers/net/eepro.c | status = inb(ioaddr + STATUS_REG); |
inb | 785 | drivers/net/eepro.c | temp_reg = inb(ioaddr + REG1); |
inb | 850 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 852 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 860 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 862 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 877 | drivers/net/eepro.c | mode = inb(ioaddr + REG2); |
inb | 879 | drivers/net/eepro.c | mode = inb(ioaddr + REG3); |
inb | 921 | drivers/net/eepro.c | if (inb(ioaddr + STATUS_REG) & 0x08) |
inb | 923 | drivers/net/eepro.c | i = inb(ioaddr); |
inb | 977 | drivers/net/eepro.c | retval = (retval << 1) | ((inb(ee_addr) & EEDO) ? 1 : 0); |
inb | 1041 | drivers/net/eepro.c | unsigned short temp = inb(ioaddr + INT_MASK_REG); |
inb | 1127 | drivers/net/eepro.c | unsigned short temp = inb(ioaddr + INT_MASK_REG); |
inb | 261 | drivers/net/eexpress.c | t = inb(*port + ID_PORT); |
inb | 826 | drivers/net/eexpress.c | if (inb(ioaddr+EEPROM_Ctrl)&EC_Rd) |
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 | 50 | drivers/net/eth82586.h | #define set_loopback outb(inb(ioaddr+Config)|0x02,ioaddr+Config) |
inb | 51 | drivers/net/eth82586.h | #define clear_loopback outb(inb(ioaddr+Config)&0xfd,ioaddr+Config) |
inb | 229 | drivers/net/ewrk3.c | icr = inb(EWRK3_ICR);\ |
inb | 238 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR);\ |
inb | 388 | drivers/net/ewrk3.c | if (iobase > 0x400) eisa_cr = inb(EISA_CR); |
inb | 391 | drivers/net/ewrk3.c | nicsr = inb(EWRK3_CSR); |
inb | 393 | drivers/net/ewrk3.c | icr = inb(EWRK3_ICR); |
inb | 425 | drivers/net/ewrk3.c | cmr = inb(EWRK3_CMR); |
inb | 463 | drivers/net/ewrk3.c | cr = inb(EWRK3_CR); /* Set up the Control Register */ |
inb | 474 | drivers/net/ewrk3.c | mem_start = inb(EWRK3_MBR); |
inb | 652 | drivers/net/ewrk3.c | printk(" # of DRAMS: %d\n",((inb(EWRK3_CMR) & 0x02) ? 2 : 1)); |
inb | 653 | drivers/net/ewrk3.c | printk(" csr: 0x%02x\n", inb(EWRK3_CSR)); |
inb | 654 | drivers/net/ewrk3.c | printk(" cr: 0x%02x\n", inb(EWRK3_CR)); |
inb | 655 | drivers/net/ewrk3.c | printk(" icr: 0x%02x\n", inb(EWRK3_ICR)); |
inb | 656 | drivers/net/ewrk3.c | printk(" cmr: 0x%02x\n", inb(EWRK3_CMR)); |
inb | 657 | drivers/net/ewrk3.c | printk(" fmqc: 0x%02x\n", inb(EWRK3_FMQC)); |
inb | 667 | drivers/net/ewrk3.c | icr = inb(EWRK3_ICR); |
inb | 701 | drivers/net/ewrk3.c | while (inb(EWRK3_TQ)); |
inb | 702 | drivers/net/ewrk3.c | while (inb(EWRK3_TDQ)); |
inb | 703 | drivers/net/ewrk3.c | while (inb(EWRK3_RQ)); |
inb | 704 | drivers/net/ewrk3.c | while (inb(EWRK3_FMQ)); |
inb | 736 | drivers/net/ewrk3.c | dev->name, inb(EWRK3_CSR)); |
inb | 774 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC) > 0) { |
inb | 778 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_FMQ)) < lp->mPage) { |
inb | 856 | 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 | 860 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC) > 0) { |
inb | 893 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 900 | drivers/net/ewrk3.c | cr = inb(EWRK3_CR); |
inb | 916 | drivers/net/ewrk3.c | if (inb(EWRK3_FMQC)) { /* any resources available? */ |
inb | 946 | drivers/net/ewrk3.c | while (inb(EWRK3_RQC) && !status) { /* Whilst there's incoming data */ |
inb | 947 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_RQ)) < lp->mPage) {/* Get next entry's buffer page */ |
inb | 954 | drivers/net/ewrk3.c | tmpPage = inb(EWRK3_IOPR); |
inb | 956 | drivers/net/ewrk3.c | tmpPage = inb(EWRK3_MPR); |
inb | 984 | drivers/net/ewrk3.c | rx_status = inb(EWRK3_DATA); |
inb | 985 | drivers/net/ewrk3.c | pkt_len = inb(EWRK3_DATA); |
inb | 986 | drivers/net/ewrk3.c | pkt_len |= ((u_short)inb(EWRK3_DATA) << 8); |
inb | 1009 | drivers/net/ewrk3.c | *p = inb(EWRK3_DATA); /* dummy read */ |
inb | 1011 | drivers/net/ewrk3.c | *p++ = inb(EWRK3_DATA); |
inb | 1072 | drivers/net/ewrk3.c | printk("ewrk3_rx(): CSR: %02x ICR: %02x FMQC: %02x\n",inb(EWRK3_CSR),inb(EWRK3_ICR),inb(EWRK3_FMQC)); |
inb | 1088 | drivers/net/ewrk3.c | while ((tx_status = inb(EWRK3_TDQ)) > 0) { /* Whilst there's old buffers */ |
inb | 1128 | drivers/net/ewrk3.c | dev->name, inb(EWRK3_CSR)); |
inb | 1144 | drivers/net/ewrk3.c | while (inb(EWRK3_TQ)); |
inb | 1145 | drivers/net/ewrk3.c | while (inb(EWRK3_TDQ)); |
inb | 1146 | drivers/net/ewrk3.c | while (inb(EWRK3_RQ)); |
inb | 1180 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1273 | drivers/net/ewrk3.c | tmp = inb(EWRK3_DATA); |
inb | 1488 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1501 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1505 | drivers/net/ewrk3.c | for (i=0;i<75000;i++) inb(EWRK3_CSR); /* wait 15msec */ |
inb | 1507 | drivers/net/ewrk3.c | for (i=0;i<5000;i++) inb(EWRK3_CSR); /* wait 1msec */ |
inb | 1570 | drivers/net/ewrk3.c | data = inb(EWRK3_APROM); |
inb | 1612 | drivers/net/ewrk3.c | k += (u_char) (tmp = inb(EWRK3_APROM)); |
inb | 1616 | drivers/net/ewrk3.c | k += (u_short) ((tmp = inb(EWRK3_APROM)) << 8); |
inb | 1624 | drivers/net/ewrk3.c | chksum = inb(EWRK3_APROM); |
inb | 1625 | drivers/net/ewrk3.c | chksum |= (inb(EWRK3_APROM)<<8); |
inb | 1648 | drivers/net/ewrk3.c | Eisa.Id[i] = inb(eisa_id + i); |
inb | 1698 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1718 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1729 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1748 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
inb | 1781 | drivers/net/ewrk3.c | csr = inb(EWRK3_CSR); |
inb | 1810 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
inb | 1834 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
inb | 1836 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
inb | 1861 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CMR); |
inb | 173 | drivers/net/fmv18x.c | if (fmv18x_probe_list[inb(ioaddr + FJ_CONFIG0) & 0x07] != ioaddr |
inb | 174 | drivers/net/fmv18x.c | || inb(ioaddr+FJ_MACADDR ) != 0x00 |
inb | 175 | drivers/net/fmv18x.c | || inb(ioaddr+FJ_MACADDR+1) != 0x00 |
inb | 176 | drivers/net/fmv18x.c | || inb(ioaddr+FJ_MACADDR+2) != 0x0e) |
inb | 179 | drivers/net/fmv18x.c | irq = irqmap[(inb(ioaddr + FJ_CONFIG0)>>6) & 0x03]; |
inb | 204 | drivers/net/fmv18x.c | unsigned char val = inb(ioaddr + FJ_MACADDR + i); |
inb | 217 | drivers/net/fmv18x.c | ushort setup_value = inb(ioaddr + FJ_STATUS0); |
inb | 323 | drivers/net/fmv18x.c | inb(ioaddr + TX_STATUS) & 0x80 |
inb | 431 | drivers/net/fmv18x.c | || (inb(ioaddr + RX_MODE) & 0x40) == 0) { /* Got a packet(s). */ |
inb | 471 | drivers/net/fmv18x.c | while ((inb(ioaddr + RX_MODE) & 0x40) == 0) { |
inb | 478 | drivers/net/fmv18x.c | dev->name, inb(ioaddr + RX_MODE), status); |
inb | 539 | drivers/net/fmv18x.c | if ((inb(ioaddr + RX_MODE) & 0x40) == 0x40) |
inb | 547 | drivers/net/fmv18x.c | dev->name, inb(ioaddr + RX_MODE), i); |
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 | 248 | drivers/net/ibmtr.c | segment = inb(PIOaddr); |
inb | 359 | drivers/net/ibmtr.c | ti->sram=((__u32)(inb(PIOaddr+ADAPTRESETREL) & 0xfe) << 12); |
inb | 355 | drivers/net/lance.c | char offset15, offset14 = inb(ioaddr + 14); |
inb | 358 | drivers/net/lance.c | ((offset15 = inb(ioaddr + 15)) == 0x57 || offset15 == 0x44)) |
inb | 389 | drivers/net/lance.c | if ((inb(hp_port) & 0xc0) == 0x80 |
inb | 390 | drivers/net/lance.c | && ioaddr_table[inb(hp_port) & 3] == ioaddr) |
inb | 394 | drivers/net/lance.c | hpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00 |
inb | 395 | drivers/net/lance.c | && inb(ioaddr+2) == 0x09); |
inb | 436 | drivers/net/lance.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
inb | 487 | drivers/net/lance.c | unsigned char port_val = inb(hp_builtin); |
inb | 513 | drivers/net/lance.c | dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 514 | drivers/net/lance.c | (inb(DMA2_STAT_REG) & 0xf0); |
inb | 196 | drivers/net/lance32.c | dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | |
inb | 197 | drivers/net/lance32.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 | 231 | drivers/net/plip.c | if (inb(PAR_DATA(dev)) != 0) |
inb | 391 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 409 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 456 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 459 | drivers/net/plip.c | c1 = inb(status_addr); |
inb | 474 | drivers/net/plip.c | c0 = inb(status_addr); |
inb | 477 | drivers/net/plip.c | c1 = inb(status_addr); |
inb | 629 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 644 | drivers/net/plip.c | c0 = inb(data_addr); |
inb | 678 | drivers/net/plip.c | if ((inb(PAR_STATUS(dev)) & 0xf8) != 0x80) |
inb | 695 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 785 | drivers/net/plip.c | status = inb(PAR_STATUS(dev)); |
inb | 820 | drivers/net/plip.c | c0 = inb(PAR_STATUS(dev)); |
inb | 1371 | drivers/net/sdla.c | if (inb(dev->base_addr + i) != 0xFF) |
inb | 1377 | drivers/net/sdla.c | if ((inb(dev->base_addr + SDLA_S502_STS) & 0x0F) == 0x08) |
inb | 1380 | drivers/net/sdla.c | if ((inb(dev->base_addr + SDLA_S502_STS) & 0x0F) == 0x0C) |
inb | 1390 | drivers/net/sdla.c | for(byte=inb(dev->base_addr),i=0;i<SDLA_IO_EXTENTS;i++) |
inb | 1391 | drivers/net/sdla.c | if (inb(dev->base_addr + i) != byte) |
inb | 1397 | drivers/net/sdla.c | if ((inb(dev->base_addr + SDLA_S502_STS) & 0x7E) == 0x30) |
inb | 1400 | drivers/net/sdla.c | if ((inb(dev->base_addr + SDLA_S502_STS) & 0x7E) == 0x32) |
inb | 1412 | drivers/net/sdla.c | if ((inb(dev->base_addr + SDLA_S508_STS) & 0x3F) == 0x00) |
inb | 1415 | drivers/net/sdla.c | if ((inb(dev->base_addr + SDLA_S508_STS) & 0x3F) == 0x10) |
inb | 1426 | drivers/net/sdla.c | if (inb(dev->base_addr + SDLA_S502_STS) == 0x40) |
inb | 1429 | drivers/net/sdla.c | if (inb(dev->base_addr + SDLA_S502_STS) == 0x40) |
inb | 1432 | drivers/net/sdla.c | if (inb(dev->base_addr + SDLA_S502_STS) == 0x44) |
inb | 671 | drivers/net/seeq8005.c | printk("%02x ",inb(SEEQ_BUFFER)); |
inb | 201 | drivers/net/sk_g16.c | #define SK_ROM_ON (inb(SK_POS2) & POS2_CARD) |
inb | 202 | drivers/net/sk_g16.c | #define SK_ROM_OFF (inb(SK_POS2) | POS2_EPROM) |
inb | 203 | drivers/net/sk_g16.c | #define SK_RAM_ON (inb(SK_POS2) | POS2_CARD) |
inb | 204 | drivers/net/sk_g16.c | #define SK_RAM_OFF (inb(SK_POS2) & POS2_EPROM) |
inb | 564 | drivers/net/sk_g16.c | if ( (inb(SK_POS0) == SK_IDLOW) || |
inb | 565 | drivers/net/sk_g16.c | (inb(SK_POS1) == SK_IDHIGH) ) |
inb | 592 | drivers/net/sk_g16.c | if ( !(inb(SK_POS0) == SK_IDLOW) || |
inb | 593 | drivers/net/sk_g16.c | !(inb(SK_POS1) == SK_IDHIGH) ) |
inb | 1999 | drivers/net/sk_g16.c | unsigned char pos0 = inb(SK_POS0), |
inb | 2000 | drivers/net/sk_g16.c | pos1 = inb(SK_POS1), |
inb | 2001 | drivers/net/sk_g16.c | pos2 = inb(SK_POS2), |
inb | 2002 | drivers/net/sk_g16.c | pos3 = inb(SK_POS3), |
inb | 2003 | 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 | 602 | drivers/net/smc9194.c | status = inb( ioaddr + INTERRUPT ); |
inb | 660 | drivers/net/smc9194.c | packet_no = inb( ioaddr + PNR_ARR + 1 ); |
inb | 833 | drivers/net/smc9194.c | int_status = inb( ioaddr + INTERRUPT ); |
inb | 1319 | drivers/net/smc9194.c | mask = inb( ioaddr + INT_MASK ); |
inb | 1330 | drivers/net/smc9194.c | status = inb( ioaddr + INTERRUPT ) & mask; |
inb | 1517 | drivers/net/smc9194.c | *(data++) = inb( ioaddr + DATA_1 ); |
inb | 1521 | drivers/net/smc9194.c | *((data++) = inb( ioaddr + DATA_1 ); |
inb | 1576 | drivers/net/smc9194.c | saved_packet = inb( ioaddr + PNR_ARR ); |
inb | 214 | drivers/net/smc9194.h | mask = inb( ioaddr + INT_MASK );\ |
inb | 224 | drivers/net/smc9194.h | mask = inb( ioaddr + INT_MASK );\ |
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 | 177 | drivers/net/wic.c | if (inb(PAR_DATA(dev)) != 0) |
inb | 399 | drivers/net/wic.c | c0 = inb(PAR_STATUS(dev)); |
inb | 417 | drivers/net/wic.c | c0 = inb(PAR_STATUS(dev)); |
inb | 464 | drivers/net/wic.c | while ((inb(status_addr) & 0x08) != ((tog<<3) & 0x08)) { |
inb | 469 | drivers/net/wic.c | *data_p = inb(status_addr-1); |
inb | 646 | drivers/net/wic.c | while ((inb(data_addr+1) & 0x80) == ((tog<<7) & 0x80)) { |
inb | 705 | drivers/net/wic.c | while ((inb(PAR_STATUS(dev)) & 0xe8) != 0xc0) { |
inb | 845 | drivers/net/wic.c | status = inb(PAR_STATUS(dev)); |
inb | 1184 | drivers/net/wic.c | while ((inb(PAR_STATUS(dev)) & 0x08) != ((tog << 3)&0x08)) { |
inb | 1190 | drivers/net/wic.c | *c = inb(PAR_DATA(dev)); |
inb | 1206 | drivers/net/wic.c | while ((inb(PAR_STATUS(dev)) & 0xc0) != 0x80) { |
inb | 1214 | drivers/net/wic.c | while ((inb(PAR_STATUS(dev)) & 0x08) == 0x08) { |
inb | 1229 | drivers/net/wic.c | stat = inb(PAR_CONTROL(dev)); |
inb | 1245 | drivers/net/wic.c | if ((inb(PAR_STATUS(dev)) & 0xc8) == 0x48) { |
inb | 1275 | drivers/net/wic.c | while ((inb(PAR_STATUS(dev)) & 0xc8) != 0x48) { |
inb | 1329 | drivers/net/wic.c | while ((inb(PAR_STATUS(dev)) & 0x80) == ((tog<<7) & 0x80)) { |
inb | 1352 | drivers/net/wic.c | while ((inb(PAR_STATUS(dev)) & 0xe8) != 0xc0) { |
inb | 1379 | drivers/net/wic.c | while ((inb(PAR_STATUS(dev)) & 0x80) == ((tog <<7)&0x80)) { |
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 | 998 | drivers/scsi/BusLogic.h | return inb(HostAdapter->IO_Address + BusLogic_StatusRegister); |
inb | 1011 | drivers/scsi/BusLogic.h | return inb(HostAdapter->IO_Address + BusLogic_DataInRegister); |
inb | 1018 | drivers/scsi/BusLogic.h | return inb(HostAdapter->IO_Address + BusLogic_InterruptRegister); |
inb | 1024 | 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 | 405 | drivers/scsi/aic7xxx.c | while ((inb(HCNTRL + p->base) & PAUSE) == 0) \ |
inb | 421 | drivers/scsi/aic7xxx.c | } while (inb(SEQADDR0 + p->base) != 0 && \ |
inb | 422 | drivers/scsi/aic7xxx.c | inb(SEQADDR1 + p->base) != 0); \ |
inb | 700 | drivers/scsi/aic7xxx.c | scsi_conf = inb(SCSICONF + p->base); |
inb | 932 | drivers/scsi/aic7xxx.c | } while ((inb(SEQADDR0 + base) != 0) && (inb(SEQADDR1 + base) != 0)); |
inb | 1140 | drivers/scsi/aic7xxx.c | curscb = inb(SCBPTR + base); |
inb | 1236 | drivers/scsi/aic7xxx.c | active = inb(active_port); |
inb | 1266 | drivers/scsi/aic7xxx.c | active = inb(active_port); |
inb | 1376 | drivers/scsi/aic7xxx.c | curscb = inb(SCBPTR + base); |
inb | 1377 | drivers/scsi/aic7xxx.c | next = inb(WAITING_SCBH + base); |
inb | 1406 | drivers/scsi/aic7xxx.c | curscb = inb(SCBPTR + base); |
inb | 1408 | drivers/scsi/aic7xxx.c | next = inb(SCB_NEXT_WAITING + base); |
inb | 1471 | drivers/scsi/aic7xxx.c | active_scb = inb(SCBPTR + base); |
inb | 1482 | drivers/scsi/aic7xxx.c | int queued = inb(QINCNT + base); |
inb | 1490 | drivers/scsi/aic7xxx.c | saved_queue[i] = inb(QINFIFO + base); |
inb | 1523 | drivers/scsi/aic7xxx.c | next = inb(WAITING_SCBH + base); /* Start at head of list. */ |
inb | 1544 | drivers/scsi/aic7xxx.c | next = inb(SCB_NEXT_WAITING + base); |
inb | 1660 | drivers/scsi/aic7xxx.c | targ_scratch = inb(offset); |
inb | 1673 | drivers/scsi/aic7xxx.c | sblkctl = inb(SBLKCTL + base); |
inb | 1759 | drivers/scsi/aic7xxx.c | while ((p != NULL) && !(inb(INTSTAT + p->base) & INT_PEND)) |
inb | 1811 | drivers/scsi/aic7xxx.c | intstat = inb(INTSTAT + base); |
inb | 1816 | drivers/scsi/aic7xxx.c | unsigned char errno = inb(ERROR + base); |
inb | 1827 | drivers/scsi/aic7xxx.c | inb(ERROR + base), (inb(SEQADDR1 + base) << 8) | inb(SEQADDR0 + base)); |
inb | 1839 | drivers/scsi/aic7xxx.c | scsi_id = (inb(SCSIID + base) >> 4) & 0x0F; |
inb | 1842 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL + base) & SELBUSB) |
inb | 1856 | drivers/scsi/aic7xxx.c | rej_byte = inb(REJBYTE + base); |
inb | 1859 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 1877 | drivers/scsi/aic7xxx.c | scsi_id, channel, inb(SAVED_TCL + base)); |
inb | 1883 | drivers/scsi/aic7xxx.c | scsi_id, channel, inb(SAVED_TCL + base)); |
inb | 1897 | drivers/scsi/aic7xxx.c | transfer = (inb(ARG_1 + base) << 2); |
inb | 1898 | drivers/scsi/aic7xxx.c | offset = inb(ACCUM + base); |
inb | 1899 | drivers/scsi/aic7xxx.c | scratch = inb(TARG_SCRATCH + base + scratch_offset); |
inb | 1959 | drivers/scsi/aic7xxx.c | bus_width = inb(ARG_1 + base); |
inb | 1962 | drivers/scsi/aic7xxx.c | scratch = inb(TARG_SCRATCH + base + scratch_offset); |
inb | 2032 | drivers/scsi/aic7xxx.c | scratch = inb(TARG_SCRATCH + base + scratch_offset); |
inb | 2069 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2180 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2205 | drivers/scsi/aic7xxx.c | actual -= (inb(SCB_RESID_DCNT2 + base) << 16) | |
inb | 2206 | drivers/scsi/aic7xxx.c | (inb(SCB_RESID_DCNT1 + base) << 8) | |
inb | 2207 | drivers/scsi/aic7xxx.c | inb(SCB_RESID_DCNT0 + base); |
inb | 2214 | drivers/scsi/aic7xxx.c | inb(SCB_RESID_SGCNT + base)); |
inb | 2223 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2248 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2281 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2299 | drivers/scsi/aic7xxx.c | scratch = inb(TARG_SCRATCH + base + scratch_offset); |
inb | 2321 | drivers/scsi/aic7xxx.c | intstat, inb(SCSISIGI + base)); |
inb | 2334 | drivers/scsi/aic7xxx.c | int status = inb(SSTAT1 + base); |
inb | 2335 | drivers/scsi/aic7xxx.c | scsi_id = (inb(SCSIID + base) >> 4) & 0x0F; |
inb | 2337 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL + base) & SELBUSB) |
inb | 2342 | drivers/scsi/aic7xxx.c | scb_index = inb(SCBPTR + base); |
inb | 2370 | drivers/scsi/aic7xxx.c | unsigned char lastphase = inb(LASTPHASE + base); |
inb | 2446 | drivers/scsi/aic7xxx.c | ha_flags = inb(FLAGS + base); |
inb | 2474 | drivers/scsi/aic7xxx.c | waiting = inb(WAITING_SCBH + base); |
inb | 2476 | drivers/scsi/aic7xxx.c | waiting = inb(SCB_NEXT_WAITING + base); |
inb | 2509 | drivers/scsi/aic7xxx.c | complete = inb(QOUTFIFO + base); |
inb | 2517 | drivers/scsi/aic7xxx.c | complete, inb(QOUTCNT + base), inb(QINCNT + base), |
inb | 2598 | drivers/scsi/aic7xxx.c | } while (inb(QOUTCNT + base) & p->qcntmask); |
inb | 2649 | drivers/scsi/aic7xxx.c | buf[i] = inb(base + i); |
inb | 2659 | drivers/scsi/aic7xxx.c | if (inb(base + 4) & 1) |
inb | 2715 | drivers/scsi/aic7xxx.c | while ((inb(STATUS_2840 + base) & EEPROM_TF) == 0) \ |
inb | 2719 | drivers/scsi/aic7xxx.c | (void) inb(SEECTL_2840 + base); |
inb | 2775 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(STATUS_2840 + base) & DI_2840); |
inb | 2889 | drivers/scsi/aic7xxx.c | while ((inb(SEECTL + base) & SEERDY) == 0) \ |
inb | 2903 | drivers/scsi/aic7xxx.c | while ((jiffies < timeout) && ((inb(SEECTL + base) & SEERDY) == 0)) |
inb | 2907 | drivers/scsi/aic7xxx.c | if ((inb(SEECTL + base) & SEERDY) == 0) |
inb | 2967 | drivers/scsi/aic7xxx.c | seeprom[k] = (seeprom[k] << 1) | (inb(SEECTL + base) & SEEDI); |
inb | 3051 | drivers/scsi/aic7xxx.c | sblkctl_reg = inb(SBLKCTL + base) ^ AUTOFLUSHDIS; |
inb | 3053 | drivers/scsi/aic7xxx.c | if (inb(SBLKCTL + base) == sblkctl_reg) |
inb | 3083 | drivers/scsi/aic7xxx.c | if (inb(SCBARRAY + base) != i) |
inb | 3086 | drivers/scsi/aic7xxx.c | if (inb(SCBARRAY + base) != 0) |
inb | 3151 | drivers/scsi/aic7xxx.c | config->unpause = (inb(HCNTRL + base) & IRQMS) | INTEN; |
inb | 3157 | drivers/scsi/aic7xxx.c | if (inb(HCNTRL + base) & CHIPRST) |
inb | 3167 | drivers/scsi/aic7xxx.c | config->irq = inb(INTDEF + base) & 0x0F; |
inb | 3169 | drivers/scsi/aic7xxx.c | (inb(HA_274_BIOSCTRL + base) & BIOSMODE) == BIOSDISABLED) |
inb | 3176 | drivers/scsi/aic7xxx.c | host_conf = inb(HOSTCONF + base); |
inb | 3203 | drivers/scsi/aic7xxx.c | config->irq = inb(INTDEF + base) & 0x0F; |
inb | 3204 | drivers/scsi/aic7xxx.c | host_conf = inb(HOSTCONF + base); |
inb | 3239 | drivers/scsi/aic7xxx.c | host_conf = inb(HOSTCONF + base); |
inb | 3363 | drivers/scsi/aic7xxx.c | sblkctl = inb(SBLKCTL + base); |
inb | 3367 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base) & 0x07; |
inb | 3373 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base + 1) & 0x0F; |
inb | 3381 | drivers/scsi/aic7xxx.c | config->scsi_id = inb(SCSICONF + base) & 0x07; |
inb | 3383 | drivers/scsi/aic7xxx.c | config->scsi_id_b = inb(SCSICONF + base + 1) & 0x07; |
inb | 3398 | drivers/scsi/aic7xxx.c | "mail deang@teleport.com\n", inb(SBLKCTL + base)); |
inb | 3579 | drivers/scsi/aic7xxx.c | scsi_conf = inb(SCSICONF + base + 1) & (ENSPCHK | STIMESEL); |
inb | 3597 | drivers/scsi/aic7xxx.c | scsi_conf = inb(SCSICONF + base) & (ENSPCHK | STIMESEL); |
inb | 3647 | drivers/scsi/aic7xxx.c | p->discenable = ~((inb(DISC_DSB + base + 1) << 8) | |
inb | 3648 | drivers/scsi/aic7xxx.c | inb(DISC_DSB + base)); |
inb | 3680 | drivers/scsi/aic7xxx.c | target_settings = inb(TARG_SCRATCH + base + i); |
inb | 4408 | drivers/scsi/aic7xxx.c | bus_state = inb(LASTPHASE + p->base); |
inb | 4438 | drivers/scsi/aic7xxx.c | printk ("SCSISIGI = 0x%x\n", inb (p->base + SCSISIGI)); |
inb | 4471 | drivers/scsi/aic7xxx.c | active_scb = inb(SCBPTR + base); |
inb | 4473 | drivers/scsi/aic7xxx.c | control = inb(SCB_CONTROL + base); |
inb | 4479 | drivers/scsi/aic7xxx.c | if (inb(SCB_CONTROL + base) & DISCONNECTED) |
inb | 69 | drivers/scsi/dtc.c | #define rtrc(i) {inb(0x3da); outb(0x31, 0x3c0); outb((i), 0x3c0);} |
inb | 334 | drivers/scsi/eata.c | while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) |
inb | 361 | drivers/scsi/eata.c | while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) |
inb | 917 | drivers/scsi/eata.c | while (inb(sh[j]->io_port + REG_AUX_STATUS) & IRQ_ASSERTED) { |
inb | 925 | 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 | 562 | drivers/scsi/fdomain.c | inb( port + MSB_ID_Code ), inb( port + LSB_ID_Code ) ); |
inb | 571 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0xe9) { /* test for 0x6127 id */ |
inb | 572 | drivers/scsi/fdomain.c | if (inb( port + LSB_ID_Code ) != 0x27) return 0; |
inb | 573 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x61) return 0; |
inb | 576 | drivers/scsi/fdomain.c | if (inb( port + MSB_ID_Code ) != 0x60) return 0; |
inb | 587 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x80) { |
inb | 589 | drivers/scsi/fdomain.c | if ((inb( port + Configuration2 ) & 0x80) == 0x00) { |
inb | 600 | drivers/scsi/fdomain.c | if (inb( port + Configuration2 ) & 0x02) { |
inb | 618 | drivers/scsi/fdomain.c | result = inb( port_base + Read_Loopback ); |
inb | 641 | drivers/scsi/fdomain.c | int options = inb( base + Configuration1 ); |
inb | 1200 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 1235 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); /* Read adapter status */ |
inb | 1315 | drivers/scsi/fdomain.c | status = inb( TMC_Status_port ); /* Read adapter status */ |
inb | 1337 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1365 | drivers/scsi/fdomain.c | status = inb( SCSI_Status_port ); |
inb | 1392 | drivers/scsi/fdomain.c | current_SC->SCp.Status = inb( Read_SCSI_Data_port ); |
inb | 1409 | drivers/scsi/fdomain.c | current_SC->SCp.Message = inb( Read_SCSI_Data_port ); |
inb | 1632 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
inb | 1815 | drivers/scsi/fdomain.c | imr = (inb( 0x0a1 ) << 8) + inb( 0x21 ); |
inb | 1817 | drivers/scsi/fdomain.c | irr = inb( 0xa0 ) << 8; |
inb | 1819 | drivers/scsi/fdomain.c | irr += inb( 0x20 ); |
inb | 1821 | drivers/scsi/fdomain.c | isr = inb( 0xa0 ) << 8; |
inb | 1823 | drivers/scsi/fdomain.c | isr += inb( 0x20 ); |
inb | 1831 | drivers/scsi/fdomain.c | printk( "SCSI Status = 0x%02x\n", inb( SCSI_Status_port ) ); |
inb | 1832 | drivers/scsi/fdomain.c | printk( "TMC Status = 0x%02x", inb( TMC_Status_port ) ); |
inb | 1833 | drivers/scsi/fdomain.c | if (inb( TMC_Status_port & 1)) |
inb | 1836 | drivers/scsi/fdomain.c | printk( "Interrupt Status = 0x%02x", inb( Interrupt_Status_port ) ); |
inb | 1837 | drivers/scsi/fdomain.c | if (inb( Interrupt_Status_port ) & 0x08) |
inb | 1841 | drivers/scsi/fdomain.c | printk( "FIFO Status = 0x%02x\n", inb( port_base + FIFO_Status ) ); |
inb | 1843 | drivers/scsi/fdomain.c | inb( port_base + Interrupt_Cond ) ); |
inb | 1845 | drivers/scsi/fdomain.c | printk( "Configuration 1 = 0x%02x\n", inb( port_base + Configuration1 ) ); |
inb | 1848 | drivers/scsi/fdomain.c | inb( port_base + Configuration2 ) ); |
inb | 111 | 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 | 198 | drivers/scsi/pas16.c | #define rtrc(i) {inb(0x3da); outb(0x31, 0x3c0); outb((i), 0x3c0);} |
inb | 249 | drivers/scsi/pas16.c | tmp = inb( io_port + IO_CONFIG_3 ); |
inb | 295 | drivers/scsi/pas16.c | board_rev = inb( io_port + PCB_CONFIG ); |
inb | 303 | drivers/scsi/pas16.c | tmp = inb( io_port + PCB_CONFIG ); |
inb | 309 | drivers/scsi/pas16.c | if( ( inb( io_port + OPERATION_MODE_1 ) & 0x03 ) != 0x03 ) |
inb | 434 | drivers/scsi/pas16.c | outb( (inb(io_port + IO_CONFIG_3) & 0x0f), io_port + IO_CONFIG_3 ); |
inb | 516 | drivers/scsi/pas16.c | while ( !(inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY) ) |
inb | 521 | drivers/scsi/pas16.c | if ( inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
inb | 552 | drivers/scsi/pas16.c | while ( !((inb(instance->io_port + P_STATUS_REG_OFFSET)) & P_ST_RDY) ) |
inb | 557 | drivers/scsi/pas16.c | if (inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
inb | 168 | drivers/scsi/pas16.h | #define NCR5380_read(reg) ( inb(PAS16_io_port(reg)) ) |
inb | 173 | drivers/scsi/pas16.h | , instance->hostno, (reg), PAS16_io_port(reg))), inb( PAS16_io_port(reg)) ) |
inb | 81 | drivers/scsi/ppa.c | { return inb(ppa_base+port); |
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 | 304 | drivers/scsi/u14-34f.c | while (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED) |
inb | 403 | drivers/scsi/u14-34f.c | if (inb(*port_base + REG_PRODUCT_ID1) != PRODUCT_ID1) return FALSE; |
inb | 405 | drivers/scsi/u14-34f.c | in_byte = inb(*port_base + REG_PRODUCT_ID2); |
inb | 409 | drivers/scsi/u14-34f.c | *(char *)&config_1 = inb(*port_base + REG_CONFIG1); |
inb | 410 | drivers/scsi/u14-34f.c | *(char *)&config_2 = inb(*port_base + REG_CONFIG2); |
inb | 455 | drivers/scsi/u14-34f.c | sys_mask = inb(sh[j]->io_port + REG_SYS_MASK); |
inb | 456 | drivers/scsi/u14-34f.c | lcl_mask = inb(sh[j]->io_port + REG_LCL_MASK); |
inb | 888 | 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 | 241 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) /*Are we initializing */ |
inb | 248 | drivers/sound/ad1848.c | prev = inb (io_Index_Addr (devc)); |
inb | 266 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) /*Are we initializing */ |
inb | 273 | drivers/sound/ad1848.c | prev = inb (io_Index_Addr (devc)); |
inb | 998 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) |
inb | 1012 | drivers/sound/ad1848.c | while (timeout > 0 && inb (devc->base) == 0x80) |
inb | 1197 | drivers/sound/ad1848.c | if ((inb (devc->base) & 0x80) != 0x00) /* Not a AD1848 */ |
inb | 1200 | drivers/sound/ad1848.c | inb (devc->base))); |
inb | 1628 | drivers/sound/ad1848.c | status = inb (io_Status (devc)); |
inb | 1714 | drivers/sound/ad1848.c | if ((tmp = inb (hw_config->io_base + 3)) == 0xff) /* Bus float */ |
inb | 1730 | drivers/sound/ad1848.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
inb | 1754 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
inb | 1760 | drivers/sound/ad1848.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
inb | 1808 | 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 | 194 | 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 | 221 | drivers/sound/gus_wave.c | inb (u_DRAMIO); |
inb | 255 | drivers/sound/gus_wave.c | tmp = inb (u_DRAMIO); |
inb | 284 | drivers/sound/gus_wave.c | val = inb (u_DataHi); |
inb | 299 | drivers/sound/gus_wave.c | val = inb (u_DataHi); |
inb | 332 | drivers/sound/gus_wave.c | lo = inb (u_DataLo); |
inb | 333 | drivers/sound/gus_wave.c | hi = inb (u_DataHi); |
inb | 691 | drivers/sound/gus_wave.c | inb (u_Status); /* Touch the status register */ |
inb | 732 | drivers/sound/gus_wave.c | inb (u_Status); /* Touch the status register */ |
inb | 3024 | drivers/sound/gus_wave.c | val = inb (gus_base + 0x0f); |
inb | 3041 | drivers/sound/gus_wave.c | val = inb (u_MixSelect); |
inb | 3472 | drivers/sound/gus_wave.c | inb (select_addr); |
inb | 3477 | drivers/sound/gus_wave.c | inb (select_addr); |
inb | 243 | drivers/sound/ics2101.c | if (inb (u_MixSelect) != 5) |
inb | 141 | drivers/sound/mad16.c | tmp = inb (port); |
inb | 198 | drivers/sound/mad16.c | if ((tmp2 = inb (MC1_PORT)) == tmp) /* It didn't close */ |
inb | 240 | drivers/sound/mad16.c | if ((inb (hw_config->io_base + 3) & 0x3f) != 0x04 && |
inb | 241 | drivers/sound/mad16.c | (inb (hw_config->io_base + 3) & 0x3f) != 0x00) |
inb | 244 | drivers/sound/mad16.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
inb | 264 | drivers/sound/mad16.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
inb | 270 | drivers/sound/mad16.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
inb | 444 | 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 | 77 | drivers/sound/maui.c | if (inb (HOST_STAT_PORT) & mask) |
inb | 89 | drivers/sound/maui.c | if (inb (HOST_STAT_PORT) & mask) |
inb | 122 | drivers/sound/maui.c | return inb (HOST_DATA_PORT); |
inb | 190 | drivers/sound/maui.c | c = inb (HOST_DATA_PORT); |
inb | 290 | drivers/sound/maui.c | if (inb (HOST_STAT_PORT) & mask) |
inb | 387 | drivers/sound/maui.c | if (!(inb (HOST_STAT_PORT) & STAT_TX_AVAIL) || |
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 | 352 | 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 | 832 | 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 | 623 | 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 | 140 | drivers/sound/sb_dsp.c | if ((inb (DSP_STATUS) & 0x80) == 0) |
inb | 177 | drivers/sound/sb_dsp.c | if (inb (DSP_DATA_AVAIL) & 0x80) |
inb | 178 | drivers/sound/sb_dsp.c | return inb (DSP_READ); |
inb | 209 | drivers/sound/sb_dsp.c | status = inb (DSP_DATA_AVAIL); /* |
inb | 270 | drivers/sound/sb_dsp.c | for (loopc = 0; loopc < 1000 && !(inb (DSP_DATA_AVAIL) & 0x80); loopc++); |
inb | 272 | drivers/sound/sb_dsp.c | if (inb (DSP_READ) != 0xAA) |
inb | 1030 | drivers/sound/sb_dsp.c | if (inb (DSP_DATA_AVAIL) & 0x80) |
inb | 1032 | drivers/sound/sb_dsp.c | return inb (DSP_READ); |
inb | 1074 | drivers/sound/sb_dsp.c | val = inb (base); /* Data */ |
inb | 1101 | drivers/sound/sb_dsp.c | control = inb (mpu_base + 7); |
inb | 1461 | drivers/sound/sb_dsp.c | if (inb (DSP_DATA_AVAIL) & 0x80) |
inb | 1464 | drivers/sound/sb_dsp.c | sbc_major = inb (DSP_READ); |
inb | 1467 | drivers/sound/sb_dsp.c | sbc_minor = inb (DSP_READ); |
inb | 1495 | drivers/sound/sb_dsp.c | inb (DSP_DATA_AVAIL)); |
inb | 1518 | drivers/sound/sb_dsp.c | if (inb (DSP_DATA_AVAIL) & 0x80) |
inb | 1523 | drivers/sound/sb_dsp.c | ess_major = inb (DSP_READ); |
inb | 1526 | 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 | 477 | 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 | 26 | include/asm-alpha/dma.h | #define dma_inb inb |
inb | 109 | include/asm-alpha/io.h | #ifndef inb |
inb | 129 | include/asm-alpha/io.h | # define inb_p inb |
inb | 20 | include/asm-i386/dma.h | #define dma_inb inb |
inb | 104 | include/asm-i386/floppy.h | st=inb(virtual_dma_port+4) & 0xa0 ; |
inb | 111 | include/asm-i386/floppy.h | st = inb(virtual_dma_port+4); |
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) |