Lines Matching refs:bat_desc
1733 struct power_supply_desc *bat_desc = &battery->bat_desc; in __wacom_initialize_battery() local
1737 if (!devres_open_group(dev, bat_desc, GFP_KERNEL)) in __wacom_initialize_battery()
1744 bat_desc->properties = wacom_battery_props; in __wacom_initialize_battery()
1745 bat_desc->num_properties = ARRAY_SIZE(wacom_battery_props); in __wacom_initialize_battery()
1746 bat_desc->get_property = wacom_battery_get_property; in __wacom_initialize_battery()
1748 bat_desc->name = battery->bat_name; in __wacom_initialize_battery()
1749 bat_desc->type = POWER_SUPPLY_TYPE_USB; in __wacom_initialize_battery()
1750 bat_desc->use_for_apm = 0; in __wacom_initialize_battery()
1752 ps_bat = devm_power_supply_register(dev, bat_desc, &psy_cfg); in __wacom_initialize_battery()
1762 devres_close_group(dev, bat_desc); in __wacom_initialize_battery()
1766 devres_release_group(dev, bat_desc); in __wacom_initialize_battery()
1782 &wacom->battery.bat_desc); in wacom_destroy_battery()
2503 &remote->remotes[i].battery.bat_desc); in wacom_remote_destroy_one()