Lines Matching refs:inb
176 checksum += inb(ioaddr + 8 + i); in wd_probe1()
177 if (inb(ioaddr + 8) == 0xff /* Extra check to avoid soundcard. */ in wd_probe1()
178 || inb(ioaddr + 9) == 0xff in wd_probe1()
194 dev->dev_addr[i] = inb(ioaddr + 8 + i); in wd_probe1()
203 if (inb(ioaddr+0) == 'P' && inb(ioaddr+1) == 'D') { in wd_probe1()
204 unsigned char reg5 = inb(ioaddr+5); in wd_probe1()
206 switch (inb(ioaddr+2)) { in wd_probe1()
223 if (inb(ioaddr+i) != inb(ioaddr+8+i)) in wd_probe1()
230 int tmp = inb(ioaddr+1); /* fiddle with 16bit bit */ in wd_probe1()
232 if (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card */ in wd_probe1()
234 int asic_reg5 = inb(ioaddr+WD_CMDREG5); in wd_probe1()
247 if ( !ancient && (inb(ioaddr+1) & 0x01) != (word16 & 0x01)) in wd_probe1()
250 (inb(ioaddr+1) & 0x01) ? 16 : 8); in wd_probe1()
260 int reg0 = inb(ioaddr); in wd_probe1()
266 int high_addr_bits = inb(ioaddr+WD_CMDREG5) & 0x1f; in wd_probe1()
280 int reg1 = inb(ioaddr+1); in wd_probe1()
281 int reg4 = inb(ioaddr+4); in wd_probe1()
358 if (inb(ioaddr+14) & 0x20) in wd_probe1()
359 outb(inb(ioaddr+4)|0x80, ioaddr+4); in wd_probe1()