Lines Matching defs:value
158 #define DC395x_write8(acb,address,value) outb((value), acb->io_port_base + (address))
159 #define DC395x_write16(acb,address,value) outw((value), acb->io_port_base + (address))
160 #define DC395x_write32(acb,address,value) outl((value), acb->io_port_base + (address))
478 * hasn't been used to modify the value.
487 int value; /* value of this setting */
488 int min; /* minimum value */
489 int max; /* maximum value */
490 int def; /* default value */
491 int safe; /* safe value */
553 module_param_named(adapter_id, cfg_data[CFG_ADAPTER_ID].value, int, 0);
556 module_param_named(max_speed, cfg_data[CFG_MAX_SPEED].value, int, 0);
559 module_param_named(dev_mode, cfg_data[CFG_DEV_MODE].value, int, 0);
562 module_param_named(adapter_mode, cfg_data[CFG_ADAPTER_MODE].value, int, 0);
565 module_param_named(tags, cfg_data[CFG_TAGS].value, int, 0);
568 module_param_named(reset_delay, cfg_data[CFG_RESET_DELAY].value, int, 0);
585 cfg_data[i].value = cfg_data[i].safe;
602 cfg_data[CFG_ADAPTER_ID].value,
603 cfg_data[CFG_MAX_SPEED].value,
604 cfg_data[CFG_DEV_MODE].value,
605 cfg_data[CFG_ADAPTER_MODE].value,
606 cfg_data[CFG_TAGS].value,
607 cfg_data[CFG_RESET_DELAY].value);
610 if (cfg_data[i].value < cfg_data[i].min
611 || cfg_data[i].value > cfg_data[i].max)
612 cfg_data[i].value = cfg_data[i].def;
619 * Mapping from the eeprom delay index value (index into this array)
666 if (cfg_data[CFG_ADAPTER_ID].value != CFG_PARAM_UNSET)
667 eeprom->scsi_id = (u8)cfg_data[CFG_ADAPTER_ID].value;
669 if (cfg_data[CFG_ADAPTER_MODE].value != CFG_PARAM_UNSET)
670 eeprom->channel_cfg = (u8)cfg_data[CFG_ADAPTER_MODE].value;
672 if (cfg_data[CFG_RESET_DELAY].value != CFG_PARAM_UNSET)
674 cfg_data[CFG_RESET_DELAY].value);
676 if (cfg_data[CFG_TAGS].value != CFG_PARAM_UNSET)
677 eeprom->max_tag = (u8)cfg_data[CFG_TAGS].value;
681 if (cfg_data[CFG_DEV_MODE].value != CFG_PARAM_UNSET)
683 (u8)cfg_data[CFG_DEV_MODE].value;
685 if (cfg_data[CFG_MAX_SPEED].value != CFG_PARAM_UNSET)
687 (u8)cfg_data[CFG_MAX_SPEED].value;
2320 /* load total transfer length (24bits) max value 16Mbyte */
2342 /* load total transfer length (24bits) max value 16Mbyte */
4087 eeprom->delay_time = cfg_data[CFG_RESET_DELAY].value;
4368 * Returns 0 if the initialization succeeds, any other value on