Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/power/supply/
Dpower_supply_sysfs.c463 const enum power_supply_property *battery_props = in power_supply_uevent() local
503 if (test_bit(battery_props[j], psy_drv_properties)) in power_supply_uevent()
506 battery_props[j])) in power_supply_uevent()
508 ret = add_prop_uevent(dev, env, battery_props[j], in power_supply_uevent()
/linux-6.12.1/drivers/hid/
Dhid-logitech-hidpp.c4035 enum power_supply_property *battery_props; in hidpp_initialize_battery() local
4081 battery_props = devm_kmemdup(&hidpp->hid_dev->dev, in hidpp_initialize_battery()
4085 if (!battery_props) in hidpp_initialize_battery()
4094 battery_props[num_battery_props++] = in hidpp_initialize_battery()
4098 battery_props[num_battery_props++] = in hidpp_initialize_battery()
4103 battery_props[num_battery_props++] = in hidpp_initialize_battery()
4109 desc->properties = battery_props; in hidpp_initialize_battery()