Lines Matching refs:to_power_supply
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()
675 struct power_supply *psy = to_power_supply(dev); in ds2781_read_user_eeprom_bin()
689 struct power_supply *psy = to_power_supply(dev); in ds2781_write_user_eeprom_bin()