Lines Matching refs:bat_desc
1762 struct power_supply_desc *bat_desc = &battery->bat_desc; in __wacom_initialize_battery() local
1766 if (!devres_open_group(dev, bat_desc, GFP_KERNEL)) in __wacom_initialize_battery()
1773 bat_desc->properties = wacom_battery_props; in __wacom_initialize_battery()
1774 bat_desc->num_properties = ARRAY_SIZE(wacom_battery_props); in __wacom_initialize_battery()
1775 bat_desc->get_property = wacom_battery_get_property; in __wacom_initialize_battery()
1777 bat_desc->name = battery->bat_name; in __wacom_initialize_battery()
1778 bat_desc->type = POWER_SUPPLY_TYPE_BATTERY; in __wacom_initialize_battery()
1779 bat_desc->use_for_apm = 0; in __wacom_initialize_battery()
1781 ps_bat = devm_power_supply_register(dev, bat_desc, &psy_cfg); in __wacom_initialize_battery()
1791 devres_close_group(dev, bat_desc); in __wacom_initialize_battery()
1795 devres_release_group(dev, bat_desc); in __wacom_initialize_battery()
1811 &wacom->battery.bat_desc); in wacom_destroy_battery()
2541 &remote->remotes[i].battery.bat_desc); in wacom_remote_destroy_one()