Lines Matching refs:config
349 void __init qd_setup (int unit, int base, int config, unsigned int data0, unsigned int data1, void … in qd_setup() argument
356 hwif->config_data = config; in qd_setup()
375 u8 config = hwif->config_data; in qd_unsetup() local
411 u8 config; in qd_probe() local
414 config = qd_read_reg(QD_CONFIG_PORT); in qd_probe()
416 if (! ((config & QD_CONFIG_BASEPORT) >> 1 == (base == 0xb0)) ) in qd_probe()
419 unit = ! (config & QD_CONFIG_IDE_BASEPORT); in qd_probe()
421 if ((config & 0xf0) == QD_CONFIG_QD6500) { in qd_probe()
431 config, QD_ID3); in qd_probe()
433 if (config & QD_CONFIG_DISABLED) { in qd_probe()
438 qd_setup(unit, base, config, QD6500_DEF_DATA, in qd_probe()
443 if (((config & 0xf0) == QD_CONFIG_QD6580_A) || in qd_probe()
444 ((config & 0xf0) == QD_CONFIG_QD6580_B)) { in qd_probe()
457 config, control, QD_ID3); in qd_probe()
463 qd_setup(unit, base, config | (control << 8), in qd_probe()
474 qd_setup(0, base, config | (control << 8), in qd_probe()
477 qd_setup(1, base, config | (control << 8), in qd_probe()