Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dpower_supply_hwmon.c122 const struct power_supply_hwmon *psyhw, in power_supply_hwmon_has_input() argument
132 if (prop >= 0 && test_bit(prop, psyhw->props)) in power_supply_hwmon_has_input()
162 const struct power_supply_hwmon *psyhw = data; in power_supply_hwmon_is_visible() local
166 if (power_supply_hwmon_has_input(psyhw, type, channel)) in power_supply_hwmon_is_visible()
173 if (prop < 0 || !test_bit(prop, psyhw->props)) in power_supply_hwmon_is_visible()
176 if (power_supply_property_is_writeable(psyhw->psy, prop) > 0 && in power_supply_hwmon_is_visible()
209 struct power_supply_hwmon *psyhw = dev_get_drvdata(dev); in power_supply_hwmon_read() local
210 struct power_supply *psy = psyhw->psy; in power_supply_hwmon_read()
253 struct power_supply_hwmon *psyhw = dev_get_drvdata(dev); in power_supply_hwmon_write() local
254 struct power_supply *psy = psyhw->psy; in power_supply_hwmon_write()
[all …]