Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dpower_supply_hwmon.c136 const struct power_supply_hwmon *psyhw, in power_supply_hwmon_has_input() argument
146 if (prop >= 0 && test_bit(prop, psyhw->props)) in power_supply_hwmon_has_input()
176 const struct power_supply_hwmon *psyhw = data; in power_supply_hwmon_is_visible() local
180 if (power_supply_hwmon_has_input(psyhw, type, channel)) in power_supply_hwmon_is_visible()
187 if (prop < 0 || !test_bit(prop, psyhw->props)) in power_supply_hwmon_is_visible()
190 if (power_supply_property_is_writeable(psyhw->psy, prop) > 0 && in power_supply_hwmon_is_visible()
223 struct power_supply_hwmon *psyhw = dev_get_drvdata(dev); in power_supply_hwmon_read() local
224 struct power_supply *psy = psyhw->psy; in power_supply_hwmon_read()
272 struct power_supply_hwmon *psyhw = dev_get_drvdata(dev); in power_supply_hwmon_write() local
273 struct power_supply *psy = psyhw->psy; in power_supply_hwmon_write()
[all …]