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()
384 static int ds2780_battery_get_property(struct power_supply *psy, in ds2780_battery_get_property() argument
389 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_battery_get_property()
458 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pmod_enabled() local
459 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_pmod_enabled()
477 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pmod_enabled() local
478 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_pmod_enabled()
512 struct power_supply *psy = to_power_supply(dev); in ds2780_get_sense_resistor_value() local
513 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_sense_resistor_value()
530 struct power_supply *psy = to_power_supply(dev); in ds2780_set_sense_resistor_value() local
531 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_sense_resistor_value()
550 struct power_supply *psy = to_power_supply(dev); in ds2780_get_rsgain_setting() local
551 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_rsgain_setting()
567 struct power_supply *psy = to_power_supply(dev); in ds2780_set_rsgain_setting() local
568 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_rsgain_setting()
593 struct power_supply *psy = to_power_supply(dev); in ds2780_get_pio_pin() local
594 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_get_pio_pin()
611 struct power_supply *psy = to_power_supply(dev); in ds2780_set_pio_pin() local
612 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_set_pio_pin()
637 struct power_supply *psy = to_power_supply(dev); in ds2780_read_param_eeprom_bin() local
638 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_read_param_eeprom_bin()
654 struct power_supply *psy = to_power_supply(dev); in ds2780_write_param_eeprom_bin() local
655 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_write_param_eeprom_bin()
690 struct power_supply *psy = to_power_supply(dev); in ds2780_read_user_eeprom_bin() local
691 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_read_user_eeprom_bin()
707 struct power_supply *psy = to_power_supply(dev); in ds2780_write_user_eeprom_bin() local
708 struct ds2780_device_info *dev_info = to_ds2780_device_info(psy); in ds2780_write_user_eeprom_bin()