Lines Matching refs:inb
177 checksum += inb(ioaddr + 8 + i); in wd_probe1()
178 if (inb(ioaddr + 8) == 0xff /* Extra check to avoid soundcard. */ in wd_probe1()
179 || inb(ioaddr + 9) == 0xff in wd_probe1()
195 addr[i] = inb(ioaddr + 8 + i); in wd_probe1()
205 if (inb(ioaddr+0) == 'P' && inb(ioaddr+1) == 'D') { in wd_probe1()
206 unsigned char reg5 = inb(ioaddr+5); in wd_probe1()
208 switch (inb(ioaddr+2)) { in wd_probe1()
225 if (inb(ioaddr+i) != inb(ioaddr+8+i)) in wd_probe1()
232 int tmp = inb(ioaddr+1); /* fiddle with 16bit bit */ in wd_probe1()
234 if (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card */ in wd_probe1()
236 int asic_reg5 = inb(ioaddr+WD_CMDREG5); in wd_probe1()
249 if ( !ancient && (inb(ioaddr+1) & 0x01) != (word16 & 0x01)) in wd_probe1()
252 (inb(ioaddr+1) & 0x01) ? 16 : 8); in wd_probe1()
262 int reg0 = inb(ioaddr); in wd_probe1()
268 int high_addr_bits = inb(ioaddr+WD_CMDREG5) & 0x1f; in wd_probe1()
282 int reg1 = inb(ioaddr+1); in wd_probe1()
283 int reg4 = inb(ioaddr+4); in wd_probe1()
360 if (inb(ioaddr+14) & 0x20) in wd_probe1()
361 outb(inb(ioaddr+4)|0x80, ioaddr+4); in wd_probe1()