Lines Matching refs:psy
425 struct power_supply *psy = dev_get_drvdata(dev); in bq24190_sysfs_show() local
426 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_sysfs_show()
445 struct power_supply *psy = dev_get_drvdata(dev); in bq24190_sysfs_store() local
446 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_sysfs_store()
805 static int bq24190_charger_get_property(struct power_supply *psy, in bq24190_charger_get_property() argument
808 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_charger_get_property()
857 static int bq24190_charger_set_property(struct power_supply *psy, in bq24190_charger_set_property() argument
861 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_charger_set_property()
886 static int bq24190_charger_property_is_writeable(struct power_supply *psy, in bq24190_charger_property_is_writeable() argument
1095 static int bq24190_battery_get_property(struct power_supply *psy, in bq24190_battery_get_property() argument
1098 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_battery_get_property()
1135 static int bq24190_battery_set_property(struct power_supply *psy, in bq24190_battery_set_property() argument
1139 struct bq24190_dev_info *bdi = power_supply_get_drvdata(psy); in bq24190_battery_set_property()
1161 static int bq24190_battery_property_is_writeable(struct power_supply *psy, in bq24190_battery_property_is_writeable() argument