Lines Matching refs:psy
54 to_ds2780_device_info(struct power_supply *psy) in to_ds2780_device_info() argument
56 return power_supply_get_drvdata(psy); in to_ds2780_device_info()
379 static int ds2780_battery_get_property(struct power_supply *psy, in ds2780_battery_get_property() argument
384 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_battery_get_property()
453 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pmod_enabled() local
454 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_pmod_enabled()
472 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pmod_enabled() local
473 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_pmod_enabled()
507 struct power_supply *psy = to_power_supply(dev); in ds2780_get_sense_resistor_value() local
508 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_sense_resistor_value()
525 struct power_supply *psy = to_power_supply(dev); in ds2780_set_sense_resistor_value() local
526 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_sense_resistor_value()
545 struct power_supply *psy = to_power_supply(dev); in ds2780_get_rsgain_setting() local
546 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_rsgain_setting()
562 struct power_supply *psy = to_power_supply(dev); in ds2780_set_rsgain_setting() local
563 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_rsgain_setting()
588 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pio_pin() local
589 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_pio_pin()
606 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pio_pin() local
607 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_pio_pin()
632 struct power_supply *psy = to_power_supply(dev); in ds2780_read_param_eeprom_bin() local
633 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_read_param_eeprom_bin()
645 struct power_supply *psy = to_power_supply(dev); in ds2780_write_param_eeprom_bin() local
646 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_write_param_eeprom_bin()
677 struct power_supply *psy = to_power_supply(dev); in ds2780_read_user_eeprom_bin() local
678 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_read_user_eeprom_bin()
690 struct power_supply *psy = to_power_supply(dev); in ds2780_write_user_eeprom_bin() local
691 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_write_user_eeprom_bin()