Lines Matching refs:switches
1901 static int probe_bios(u32 addr, u32 *s1, uchar *switches) in probe_bios() argument
1909 *switches = ~readb(p + 0x20); in probe_bios()
1925 uchar switches; in in2000_detect() local
1951 switches = ~inb(base + IO_SWITCHES) & 0xff; in in2000_detect()
1960 else if (probe_bios(bios_tab[bios], &s1, &switches)) { in in2000_detect()
1965 x = switches & (SW_ADDR0 | SW_ADDR1); in in2000_detect()
1971 if (x != switches) { in in2000_detect()
1972 printk("Bad IO signature: %02x vs %02x.\n", x, switches); in in2000_detect()
1980 if (!(switches & SW_BIT7)) { /* I _think_ all cards do this */ in in2000_detect()
1993 if (switches & SW_DISINT) { in in2000_detect()
2011 hostdata->dip_switch = switches; in in2000_detect()
2017 x = int_tab[(switches & (SW_INT0 | SW_INT1)) >> SW_INT_SHIFT]; in in2000_detect()
2052 if (s1 == 0x41564f4e && (switches & SW_SYNC_DOS5)) in in2000_detect()
2107 …loppy=%s sync/DOS5=%s ", (switches & 0x7f), instance->irq, hostdata->io_base, (switches & SW_FLOPP… in in2000_detect()