Home
last modified time | relevance | path

Searched refs:current_start_threshold (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/power/supply/
H A Dcros_charge-control.c56 u8 current_start_threshold, current_end_threshold; member
110 !(priv->current_start_threshold == 0 && priv->current_end_threshold == 100)) { in cros_chctl_configure_ec()
111 req.sustain_soc.lower = priv->current_start_threshold; in cros_chctl_configure_ec()
144 priv->current_start_threshold = val == 100 ? 0 : val; in cros_chctl_store_threshold()
146 if (val < priv->current_start_threshold) in cros_chctl_store_threshold()
152 priv->current_start_threshold = val; in cros_chctl_store_threshold()
172 return sysfs_emit(buf, "%u\n", (unsigned int)priv->current_start_threshold); in charge_control_start_threshold_show()
343 priv->current_start_threshold = 0; in cros_chctl_probe()