Lines Matching full:prop
144 int prop = power_supply_hwmon_to_property(type,
147 if (prop >= 0 && test_bit(prop, psyhw->props))
178 int prop;
187 prop = power_supply_hwmon_to_property(type, attr, channel);
188 if (prop < 0 || !test_bit(prop, psyhw->props))
191 if (power_supply_property_is_writeable(psyhw->psy, prop) > 0 &&
227 int ret, prop;
229 prop = power_supply_hwmon_to_property(type, attr, channel);
230 if (prop < 0)
231 return prop;
233 ret = power_supply_get_property(psy, prop, &pspval);
276 int prop;
278 prop = power_supply_hwmon_to_property(type, attr, channel);
279 if (prop < 0)
280 return prop;
306 return power_supply_set_property(psy, prop, &pspval);
400 const enum power_supply_property prop = power_supply_hwmon_props[i];
402 if (power_supply_has_property(psy, prop))
403 set_bit(prop, psyhw->props);