Lines Matching defs:conf
682 static struct msi_ec_conf conf; // current configuration
727 result = ec_read(conf.charge_control.address, &rdata);
747 if (wdata < conf.charge_control.range_min ||
748 wdata > conf.charge_control.range_max)
751 result = ec_write(conf.charge_control.address, wdata);
762 return charge_control_threshold_show(conf.charge_control.offset_start,
770 return charge_control_threshold_store(conf.charge_control.offset_start,
778 return charge_control_threshold_show(conf.charge_control.offset_end,
786 return charge_control_threshold_store(conf.charge_control.offset_end,
853 conf = *CONFIGS[i];
854 conf.allowed_fw = NULL;