Searched refs:to_power_supply (Results 1 – 5 of 5) sorted by relevance
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 …]
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 …]
918 struct power_supply *psy = to_power_supply(dev); in power_supply_dev_release()
455 #define to_power_supply(device) container_of(device, struct power_supply, dev) macro
9535 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_store()9603 struct power_supply *supply = to_power_supply(dev); in tpacpi_battery_show()