Lines Matching refs:fg_psy
227 struct power_supply *fg_psy; member
1399 power_supply_changed(di->fg_psy); in ab8500_fg_check_capacity_limits()
1859 power_supply_changed(di->fg_psy); in ab8500_fg_check_hw_failure_work()
1867 power_supply_changed(di->fg_psy); in ab8500_fg_check_hw_failure_work()
2940 if (device_create_file(&di->fg_psy->dev, in ab8500_fg_sysfs_psy_create_attrs()
2946 dev_err(&di->fg_psy->dev, "Failed creating sysfs psy attrs for ab8505.\n"); in ab8500_fg_sysfs_psy_create_attrs()
2948 device_remove_file(&di->fg_psy->dev, in ab8500_fg_sysfs_psy_create_attrs()
2960 (void)device_remove_file(&di->fg_psy->dev, in ab8500_fg_sysfs_psy_remove_attrs()
3152 di->fg_psy = devm_power_supply_register(dev, &ab8500_fg_desc, &psy_cfg); in ab8500_fg_probe()
3153 if (IS_ERR(di->fg_psy)) { in ab8500_fg_probe()
3156 return PTR_ERR(di->fg_psy); in ab8500_fg_probe()