Lines Matching defs:battery
532 u8 bat_con; /* battery and connection info */
610 struct power_supply *battery;
1636 hid_warn(ctlr->hdev, "Invalid battery status\n");
2413 /* Configure the battery's description */
2426 ctlr->battery = devm_power_supply_register(&hdev->dev,
2429 if (IS_ERR(ctlr->battery)) {
2430 ret = PTR_ERR(ctlr->battery);
2431 hid_err(hdev, "Failed to register battery; ret=%d\n", ret);
2435 return power_supply_powers(ctlr->battery, &hdev->dev);
2724 /* Initialize the battery power supply */