Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dcros_charge-control.c40 struct cros_chctl_priv { struct
87 static int cros_chctl_configure_ec(struct cros_chctl_priv *priv) in cros_chctl_configure_ec()
122 static struct cros_chctl_priv *cros_chctl_attr_to_priv(struct attribute *attr, in cros_chctl_attr_to_priv()
127 return container_of(dev_attr, struct cros_chctl_priv, device_attrs[idx]); in cros_chctl_attr_to_priv()
130 static ssize_t cros_chctl_store_threshold(struct device *dev, struct cros_chctl_priv *priv, in cros_chctl_store_threshold()
168 struct cros_chctl_priv *priv = cros_chctl_attr_to_priv(&attr->attr, in charge_control_start_threshold_show()
179 struct cros_chctl_priv *priv = cros_chctl_attr_to_priv(&attr->attr, in charge_control_start_threshold_store()
189 struct cros_chctl_priv *priv = cros_chctl_attr_to_priv(&attr->attr, in charge_control_end_threshold_show()
199 struct cros_chctl_priv *priv = cros_chctl_attr_to_priv(&attr->attr, in charge_control_end_threshold_store()
208 struct cros_chctl_priv *priv = cros_chctl_attr_to_priv(&attr->attr, in charge_behaviour_show()
[all …]