Lines Matching refs:psy
50 to_ds2780_device_info(struct power_supply *psy) in to_ds2780_device_info() argument
52 return power_supply_get_drvdata(psy); in to_ds2780_device_info()
375 static int ds2780_battery_get_property(struct power_supply *psy, in ds2780_battery_get_property() argument
380 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_battery_get_property()
449 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pmod_enabled() local
450 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_pmod_enabled()
468 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pmod_enabled() local
469 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_pmod_enabled()
503 struct power_supply *psy = to_power_supply(dev); in ds2780_get_sense_resistor_value() local
504 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_sense_resistor_value()
521 struct power_supply *psy = to_power_supply(dev); in ds2780_set_sense_resistor_value() local
522 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_sense_resistor_value()
541 struct power_supply *psy = to_power_supply(dev); in ds2780_get_rsgain_setting() local
542 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_rsgain_setting()
558 struct power_supply *psy = to_power_supply(dev); in ds2780_set_rsgain_setting() local
559 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_rsgain_setting()
584 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pio_pin() local
585 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_pio_pin()
602 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pio_pin() local
603 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_pio_pin()
628 struct power_supply *psy = to_power_supply(dev); in ds2780_read_param_eeprom_bin() local
629 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_read_param_eeprom_bin()
641 struct power_supply *psy = to_power_supply(dev); in ds2780_write_param_eeprom_bin() local
642 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_write_param_eeprom_bin()
673 struct power_supply *psy = to_power_supply(dev); in ds2780_read_user_eeprom_bin() local
674 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_read_user_eeprom_bin()
686 struct power_supply *psy = to_power_supply(dev); in ds2780_write_user_eeprom_bin() local
687 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_write_user_eeprom_bin()