Home
last modified time | relevance | path

Searched refs:to_power_supply (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/supply/
Dds2781_battery.c451 struct power_supply *psy = to_power_supply(dev); in ds2781_get_pmod_enabled()
470 struct power_supply *psy = to_power_supply(dev); in ds2781_set_pmod_enabled()
505 struct power_supply *psy = to_power_supply(dev); in ds2781_get_sense_resistor_value()
523 struct power_supply *psy = to_power_supply(dev); in ds2781_set_sense_resistor_value()
543 struct power_supply *psy = to_power_supply(dev); in ds2781_get_rsgain_setting()
560 struct power_supply *psy = to_power_supply(dev); in ds2781_set_rsgain_setting()
586 struct power_supply *psy = to_power_supply(dev); in ds2781_get_pio_pin()
604 struct power_supply *psy = to_power_supply(dev); in ds2781_set_pio_pin()
630 struct power_supply *psy = to_power_supply(dev); in ds2781_read_param_eeprom_bin()
643 struct power_supply *psy = to_power_supply(dev); in ds2781_write_param_eeprom_bin()
[all …]
Dds2780_battery.c449 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pmod_enabled()
468 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pmod_enabled()
503 struct power_supply *psy = to_power_supply(dev); in ds2780_get_sense_resistor_value()
521 struct power_supply *psy = to_power_supply(dev); in ds2780_set_sense_resistor_value()
541 struct power_supply *psy = to_power_supply(dev); in ds2780_get_rsgain_setting()
558 struct power_supply *psy = to_power_supply(dev); in ds2780_set_rsgain_setting()
584 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pio_pin()
602 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pio_pin()
628 struct power_supply *psy = to_power_supply(dev); in ds2780_read_param_eeprom_bin()
641 struct power_supply *psy = to_power_supply(dev); in ds2780_write_param_eeprom_bin()
[all …]
Dpower_supply_core.c922 struct power_supply *psy = to_power_supply(dev); in power_supply_dev_release()
/kernel/linux/linux-5.10/include/linux/
Dpower_supply.h455 #define to_power_supply(device) container_of(device, struct power_supply, dev) macro
/kernel/linux/linux-5.10/drivers/platform/x86/
Dthinkpad_acpi.c9545 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_store()
9613 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_show()