psyhw             124 drivers/power/supply/power_supply_hwmon.c 	const struct power_supply_hwmon *psyhw = data;
psyhw             132 drivers/power/supply/power_supply_hwmon.c 	if (prop < 0 || !test_bit(prop, psyhw->props))
psyhw             135 drivers/power/supply/power_supply_hwmon.c 	if (power_supply_property_is_writeable(psyhw->psy, prop) > 0 &&
psyhw             155 drivers/power/supply/power_supply_hwmon.c 	struct power_supply_hwmon *psyhw = dev_get_drvdata(dev);
psyhw             156 drivers/power/supply/power_supply_hwmon.c 	struct power_supply *psy = psyhw->psy;
psyhw             199 drivers/power/supply/power_supply_hwmon.c 	struct power_supply_hwmon *psyhw = dev_get_drvdata(dev);
psyhw             200 drivers/power/supply/power_supply_hwmon.c 	struct power_supply *psy = psyhw->psy;
psyhw             283 drivers/power/supply/power_supply_hwmon.c 	struct power_supply_hwmon *psyhw;
psyhw             293 drivers/power/supply/power_supply_hwmon.c 	psyhw = devm_kzalloc(dev, sizeof(*psyhw), GFP_KERNEL);
psyhw             294 drivers/power/supply/power_supply_hwmon.c 	if (!psyhw) {
psyhw             299 drivers/power/supply/power_supply_hwmon.c 	psyhw->psy = psy;
psyhw             300 drivers/power/supply/power_supply_hwmon.c 	psyhw->props = bitmap_zalloc(POWER_SUPPLY_PROP_TIME_TO_FULL_AVG + 1,
psyhw             302 drivers/power/supply/power_supply_hwmon.c 	if (!psyhw->props) {
psyhw             308 drivers/power/supply/power_supply_hwmon.c 			      psyhw->props);
psyhw             331 drivers/power/supply/power_supply_hwmon.c 			set_bit(prop, psyhw->props);
psyhw             351 drivers/power/supply/power_supply_hwmon.c 						psyhw,