Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
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 …]
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 …]
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()
Dpower_supply_core.c1104 struct power_supply *psy = to_power_supply(dev); in power_supply_dev_release()
/linux-6.1.9/include/linux/
Dpower_supply.h887 #define to_power_supply(device) container_of(device, struct power_supply, dev) macro
/linux-6.1.9/drivers/platform/x86/
Dthinkpad_acpi.c9683 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_store()
9751 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_show()
9793 struct power_supply *supply = to_power_supply(dev); in charge_behaviour_show()
9840 struct power_supply *supply = to_power_supply(dev); in charge_behaviour_store()