Lines Matching refs:cfg_data
418 static struct ParameterData cfg_data[] = { variable
478 module_param_named(adapter_id, cfg_data[CFG_ADAPTER_ID].value, int, 0);
481 module_param_named(max_speed, cfg_data[CFG_MAX_SPEED].value, int, 0);
484 module_param_named(dev_mode, cfg_data[CFG_DEV_MODE].value, int, 0);
487 module_param_named(adapter_mode, cfg_data[CFG_ADAPTER_MODE].value, int, 0);
490 module_param_named(tags, cfg_data[CFG_TAGS].value, int, 0);
493 module_param_named(reset_delay, cfg_data[CFG_RESET_DELAY].value, int, 0);
509 cfg_data[i].value = cfg_data[i].safe; in set_safe_settings()
525 if (cfg_data[i].value < cfg_data[i].min in fix_settings()
526 || cfg_data[i].value > cfg_data[i].max) in fix_settings()
527 cfg_data[i].value = cfg_data[i].def; in fix_settings()
581 if (cfg_data[CFG_ADAPTER_ID].value != CFG_PARAM_UNSET) in eeprom_override()
582 eeprom->scsi_id = (u8)cfg_data[CFG_ADAPTER_ID].value; in eeprom_override()
584 if (cfg_data[CFG_ADAPTER_MODE].value != CFG_PARAM_UNSET) in eeprom_override()
585 eeprom->channel_cfg = (u8)cfg_data[CFG_ADAPTER_MODE].value; in eeprom_override()
587 if (cfg_data[CFG_RESET_DELAY].value != CFG_PARAM_UNSET) in eeprom_override()
589 cfg_data[CFG_RESET_DELAY].value); in eeprom_override()
591 if (cfg_data[CFG_TAGS].value != CFG_PARAM_UNSET) in eeprom_override()
592 eeprom->max_tag = (u8)cfg_data[CFG_TAGS].value; in eeprom_override()
596 if (cfg_data[CFG_DEV_MODE].value != CFG_PARAM_UNSET) in eeprom_override()
598 (u8)cfg_data[CFG_DEV_MODE].value; in eeprom_override()
600 if (cfg_data[CFG_MAX_SPEED].value != CFG_PARAM_UNSET) in eeprom_override()
602 (u8)cfg_data[CFG_MAX_SPEED].value; in eeprom_override()
3469 eeprom->delay_time = cfg_data[CFG_RESET_DELAY].value; in check_eeprom()