Lines Matching defs:value
241 union power_supply_propval *value,
252 if (value->intval == usb_type) {
280 union power_supply_propval value;
283 value.intval = psy->desc->type;
285 ret = power_supply_get_property(psy, psp, &value);
301 value.intval < ps_attr->text_values_len && value.intval >= 0) {
302 return sysfs_emit(buf, "%s\n", ps_attr->text_values[value.intval]);
308 &value, buf);
311 ret = sysfs_emit(buf, "%s\n", value.strval);
314 ret = sysfs_emit(buf, "%d\n", value.intval);
327 union power_supply_propval value;
337 * Integer values are valid for enums in addition to the text value.
349 value.intval = ret;
351 ret = power_supply_set_property(psy, psp, &value);