Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dpower_supply_sysfs.c469 const enum power_supply_property *battery_props = in power_supply_uevent() local
509 if (test_bit(battery_props[j], psy_drv_properties)) in power_supply_uevent()
512 battery_props[j])) in power_supply_uevent()
514 ret = add_prop_uevent(dev, env, battery_props[j], in power_supply_uevent()
/openbmc/linux/drivers/hid/
H A Dhid-logitech-hidpp.c4040 enum power_supply_property *battery_props; in hidpp_initialize_battery() local
4086 battery_props = devm_kmemdup(&hidpp->hid_dev->dev, in hidpp_initialize_battery()
4090 if (!battery_props) in hidpp_initialize_battery()
4099 battery_props[num_battery_props++] = in hidpp_initialize_battery()
4103 battery_props[num_battery_props++] = in hidpp_initialize_battery()
4108 battery_props[num_battery_props++] = in hidpp_initialize_battery()
4114 desc->properties = battery_props; in hidpp_initialize_battery()