Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
Dltc4162-l-charger.c507 struct power_supply *psy = to_power_supply(dev); in charge_status_show()
535 struct power_supply *psy = to_power_supply(dev); in vbat_show()
551 struct power_supply *psy = to_power_supply(dev); in vbat_avg_show()
567 struct power_supply *psy = to_power_supply(dev); in ibat_show()
583 struct power_supply *psy = to_power_supply(dev); in force_telemetry_show()
600 struct power_supply *psy = to_power_supply(dev); in force_telemetry_store()
622 struct power_supply *psy = to_power_supply(dev); in arm_ship_mode_show()
640 struct power_supply *psy = to_power_supply(dev); in arm_ship_mode_store()
Drt9471.c632 return power_supply_get_drvdata(to_power_supply(dev)); in psy_device_to_chip()
Drt9467-charger.c788 return power_supply_get_drvdata(to_power_supply(dev)); in psy_device_to_chip()
Dpower_supply_core.c1258 struct power_supply *psy = to_power_supply(dev); in power_supply_dev_release()
/linux-6.6.21/include/linux/
Dpower_supply.h895 #define to_power_supply(device) container_of(device, struct power_supply, dev) macro
/linux-6.6.21/drivers/platform/x86/
Dthinkpad_acpi.c9633 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_store()
9701 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_show()
9743 struct power_supply *supply = to_power_supply(dev); in charge_behaviour_show()
9790 struct power_supply *supply = to_power_supply(dev); in charge_behaviour_store()