battery_desc      115 drivers/hid/hid-asus.c 	struct power_supply_desc battery_desc;
battery_desc      580 drivers/hid/hid-asus.c 	drvdata->battery_desc.properties = asus_battery_props;
battery_desc      581 drivers/hid/hid-asus.c 	drvdata->battery_desc.num_properties = ARRAY_SIZE(asus_battery_props);
battery_desc      582 drivers/hid/hid-asus.c 	drvdata->battery_desc.get_property = asus_battery_get_property;
battery_desc      583 drivers/hid/hid-asus.c 	drvdata->battery_desc.type = POWER_SUPPLY_TYPE_BATTERY;
battery_desc      584 drivers/hid/hid-asus.c 	drvdata->battery_desc.use_for_apm = 0;
battery_desc      585 drivers/hid/hid-asus.c 	drvdata->battery_desc.name = devm_kasprintf(&hdev->dev, GFP_KERNEL,
battery_desc      589 drivers/hid/hid-asus.c 	if (!drvdata->battery_desc.name)
battery_desc      595 drivers/hid/hid-asus.c 				&(drvdata->battery_desc), &pscfg);
battery_desc      550 drivers/hid/hid-sony.c 	struct power_supply_desc battery_desc;
battery_desc     2352 drivers/hid/hid-sony.c 	sc->battery_desc.properties = sony_battery_props;
battery_desc     2353 drivers/hid/hid-sony.c 	sc->battery_desc.num_properties = ARRAY_SIZE(sony_battery_props);
battery_desc     2354 drivers/hid/hid-sony.c 	sc->battery_desc.get_property = sony_battery_get_property;
battery_desc     2355 drivers/hid/hid-sony.c 	sc->battery_desc.type = POWER_SUPPLY_TYPE_BATTERY;
battery_desc     2356 drivers/hid/hid-sony.c 	sc->battery_desc.use_for_apm = 0;
battery_desc     2357 drivers/hid/hid-sony.c 	sc->battery_desc.name = devm_kasprintf(&hdev->dev, GFP_KERNEL,
battery_desc     2359 drivers/hid/hid-sony.c 	if (!sc->battery_desc.name)
battery_desc     2362 drivers/hid/hid-sony.c 	sc->battery = devm_power_supply_register(&hdev->dev, &sc->battery_desc,
battery_desc      123 drivers/hid/hid-steam.c 	struct power_supply_desc battery_desc;
battery_desc      353 drivers/hid/hid-steam.c 	steam->battery_desc.type = POWER_SUPPLY_TYPE_BATTERY;
battery_desc      354 drivers/hid/hid-steam.c 	steam->battery_desc.properties = steam_battery_props;
battery_desc      355 drivers/hid/hid-steam.c 	steam->battery_desc.num_properties = ARRAY_SIZE(steam_battery_props);
battery_desc      356 drivers/hid/hid-steam.c 	steam->battery_desc.get_property = steam_battery_get_property;
battery_desc      357 drivers/hid/hid-steam.c 	steam->battery_desc.name = devm_kasprintf(&steam->hdev->dev,
battery_desc      360 drivers/hid/hid-steam.c 	if (!steam->battery_desc.name)
battery_desc      370 drivers/hid/hid-steam.c 			&steam->battery_desc, &battery_cfg);
battery_desc      240 drivers/hid/hid-wiimote-modules.c 	wdata->battery_desc.properties = wiimod_battery_props;
battery_desc      241 drivers/hid/hid-wiimote-modules.c 	wdata->battery_desc.num_properties = ARRAY_SIZE(wiimod_battery_props);
battery_desc      242 drivers/hid/hid-wiimote-modules.c 	wdata->battery_desc.get_property = wiimod_battery_get_property;
battery_desc      243 drivers/hid/hid-wiimote-modules.c 	wdata->battery_desc.type = POWER_SUPPLY_TYPE_BATTERY;
battery_desc      244 drivers/hid/hid-wiimote-modules.c 	wdata->battery_desc.use_for_apm = 0;
battery_desc      245 drivers/hid/hid-wiimote-modules.c 	wdata->battery_desc.name = kasprintf(GFP_KERNEL, "wiimote_battery_%s",
battery_desc      247 drivers/hid/hid-wiimote-modules.c 	if (!wdata->battery_desc.name)
battery_desc      251 drivers/hid/hid-wiimote-modules.c 					       &wdata->battery_desc,
battery_desc      263 drivers/hid/hid-wiimote-modules.c 	kfree(wdata->battery_desc.name);
battery_desc      264 drivers/hid/hid-wiimote-modules.c 	wdata->battery_desc.name = NULL;
battery_desc      271 drivers/hid/hid-wiimote-modules.c 	if (!wdata->battery_desc.name)
battery_desc      275 drivers/hid/hid-wiimote-modules.c 	kfree(wdata->battery_desc.name);
battery_desc      276 drivers/hid/hid-wiimote-modules.c 	wdata->battery_desc.name = NULL;
battery_desc      151 drivers/hid/hid-wiimote.h 	struct power_supply_desc battery_desc;
battery_desc      506 drivers/power/supply/da9150-charger.c static const struct power_supply_desc battery_desc = {
battery_desc      562 drivers/power/supply/da9150-charger.c 	charger->battery = power_supply_register(dev, &battery_desc, NULL);
battery_desc       57 drivers/power/supply/ds2782_battery.c 	struct power_supply_desc	battery_desc;
battery_desc      322 drivers/power/supply/ds2782_battery.c 	kfree(info->battery_desc.name);
battery_desc      405 drivers/power/supply/ds2782_battery.c 	info->battery_desc.name = kasprintf(GFP_KERNEL, "%s-%d",
battery_desc      407 drivers/power/supply/ds2782_battery.c 	if (!info->battery_desc.name) {
battery_desc      419 drivers/power/supply/ds2782_battery.c 	ds278x_power_supply_init(&info->battery_desc);
battery_desc      428 drivers/power/supply/ds2782_battery.c 					      &info->battery_desc, &psy_cfg);
battery_desc      440 drivers/power/supply/ds2782_battery.c 	kfree(info->battery_desc.name);
battery_desc      182 drivers/power/supply/goldfish_battery.c static const struct power_supply_desc battery_desc = {
battery_desc      241 drivers/power/supply/goldfish_battery.c 	data->battery = power_supply_register(&pdev->dev, &battery_desc,
battery_desc      364 drivers/power/supply/max8925_power.c static const struct power_supply_desc battery_desc = {
battery_desc      545 drivers/power/supply/max8925_power.c 	info->battery = power_supply_register(&pdev->dev, &battery_desc, NULL);
battery_desc       27 drivers/power/supply/wm831x_power.c 	struct power_supply_desc battery_desc;
battery_desc      597 drivers/power/supply/wm831x_power.c 		power->battery_desc.name = power->battery_name;
battery_desc      598 drivers/power/supply/wm831x_power.c 		power->battery_desc.properties = wm831x_bat_props;
battery_desc      599 drivers/power/supply/wm831x_power.c 		power->battery_desc.num_properties = ARRAY_SIZE(wm831x_bat_props);
battery_desc      600 drivers/power/supply/wm831x_power.c 		power->battery_desc.get_property = wm831x_bat_get_prop;
battery_desc      601 drivers/power/supply/wm831x_power.c 		power->battery_desc.use_for_apm = 1;
battery_desc      603 drivers/power/supply/wm831x_power.c 						       &power->battery_desc,