Lines Matching refs:psy
52 to_ds2781_device_info(struct power_supply *psy) in to_ds2781_device_info() argument
54 return power_supply_get_drvdata(psy); in to_ds2781_device_info()
386 static int ds2781_battery_get_property(struct power_supply *psy, in ds2781_battery_get_property() argument
391 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_battery_get_property()
460 struct power_supply *psy = to_power_supply(dev); in ds2781_get_pmod_enabled() local
461 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_get_pmod_enabled()
479 struct power_supply *psy = to_power_supply(dev); in ds2781_set_pmod_enabled() local
480 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_set_pmod_enabled()
514 struct power_supply *psy = to_power_supply(dev); in ds2781_get_sense_resistor_value() local
515 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_get_sense_resistor_value()
532 struct power_supply *psy = to_power_supply(dev); in ds2781_set_sense_resistor_value() local
533 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_set_sense_resistor_value()
552 struct power_supply *psy = to_power_supply(dev); in ds2781_get_rsgain_setting() local
553 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_get_rsgain_setting()
569 struct power_supply *psy = to_power_supply(dev); in ds2781_set_rsgain_setting() local
570 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_set_rsgain_setting()
595 struct power_supply *psy = to_power_supply(dev); in ds2781_get_pio_pin() local
596 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_get_pio_pin()
613 struct power_supply *psy = to_power_supply(dev); in ds2781_set_pio_pin() local
614 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_set_pio_pin()
639 struct power_supply *psy = to_power_supply(dev); in ds2781_read_param_eeprom_bin() local
640 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_read_param_eeprom_bin()
654 struct power_supply *psy = to_power_supply(dev); in ds2781_write_param_eeprom_bin() local
655 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_write_param_eeprom_bin()
688 struct power_supply *psy = to_power_supply(dev); in ds2781_read_user_eeprom_bin() local
689 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_read_user_eeprom_bin()
704 struct power_supply *psy = to_power_supply(dev); in ds2781_write_user_eeprom_bin() local
705 struct ds2781_device_info *dev_info = to_ds2781_device_info(psy); in ds2781_write_user_eeprom_bin()