Lines Matching refs:power_supply
36 struct power_supply *bat;
50 to_ds2780_device_info(struct power_supply *psy) in to_ds2780_device_info()
375 static int ds2780_battery_get_property(struct power_supply *psy, in ds2780_battery_get_property()
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()
673 struct power_supply *psy = to_power_supply(dev); in ds2780_read_user_eeprom_bin()
686 struct power_supply *psy = to_power_supply(dev); in ds2780_write_user_eeprom_bin()