Lines Matching refs:bat_desc
1735 struct power_supply_desc *bat_desc = &battery->bat_desc; in __wacom_initialize_battery() local
1739 if (!devres_open_group(dev, bat_desc, GFP_KERNEL)) in __wacom_initialize_battery()
1746 bat_desc->properties = wacom_battery_props; in __wacom_initialize_battery()
1747 bat_desc->num_properties = ARRAY_SIZE(wacom_battery_props); in __wacom_initialize_battery()
1748 bat_desc->get_property = wacom_battery_get_property; in __wacom_initialize_battery()
1750 bat_desc->name = battery->bat_name; in __wacom_initialize_battery()
1751 bat_desc->type = POWER_SUPPLY_TYPE_USB; in __wacom_initialize_battery()
1752 bat_desc->use_for_apm = 0; in __wacom_initialize_battery()
1754 ps_bat = devm_power_supply_register(dev, bat_desc, &psy_cfg); in __wacom_initialize_battery()
1764 devres_close_group(dev, bat_desc); in __wacom_initialize_battery()
1768 devres_release_group(dev, bat_desc); in __wacom_initialize_battery()
1784 &wacom->battery.bat_desc); in wacom_destroy_battery()
2505 &remote->remotes[i].battery.bat_desc); in wacom_remote_destroy_one()