Lines Matching defs:switches
1773 static int probe_bios(u32 addr, u32 *s1, uchar *switches)
1781 *switches = ~readb(p + 0x20);
1797 uchar switches;
1823 switches = ~inb(base + IO_SWITCHES) & 0xff;
1832 else if (probe_bios(bios_tab[bios], &s1, &switches)) {
1837 x = switches & (SW_ADDR0 | SW_ADDR1);
1843 if (x != switches) {
1844 printk("Bad IO signature: %02x vs %02x.\n", x, switches);
1852 if (!(switches & SW_BIT7)) { /* I _think_ all cards do this */
1865 if (switches & SW_DISINT) {
1883 hostdata->dip_switch = switches;
1889 x = int_tab[(switches & (SW_INT0 | SW_INT1)) >> SW_INT_SHIFT];
1924 if (s1 == 0x41564f4e && (switches & SW_SYNC_DOS5))
1977 printk("dip_switch=%02x irq=%d ioport=%02x floppy=%s sync/DOS5=%s ", (switches & 0x7f), instance->irq, hostdata->io_base, (switches & SW_FLOPPY) ? "Yes" : "No", (switches & SW_SYNC_DOS5) ? "Yes" : "No");