Searched refs:to_power_supply (Results 1 – 8 of 8) sorted by relevance
449 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 …]
451 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 …]
507 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()
624 return power_supply_get_drvdata(to_power_supply(dev)); in psy_device_to_chip()
780 return power_supply_get_drvdata(to_power_supply(dev)); in psy_device_to_chip()
1256 struct power_supply *psy = to_power_supply(dev); in power_supply_dev_release()
889 #define to_power_supply(device) container_of(device, struct power_supply, dev) macro
9702 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_store()9770 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_show()9812 struct power_supply *supply = to_power_supply(dev); in charge_behaviour_show()9859 struct power_supply *supply = to_power_supply(dev); in charge_behaviour_store()