Searched refs:batt (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | lego_ev3_battery.c | 41 struct lego_ev3_battery *batt = power_supply_get_drvdata(psy); in lego_ev3_battery_get_property() local 46 val->intval = batt->technology; in lego_ev3_battery_get_property() 50 ret = iio_read_channel_processed(batt->iio_v, &val->intval); in lego_ev3_battery_get_property() 58 ret = iio_read_channel_processed(batt->iio_i, &val2); in lego_ev3_battery_get_property() 67 val->intval = batt->v_max; in lego_ev3_battery_get_property() 70 val->intval = batt->v_min; in lego_ev3_battery_get_property() 74 ret = iio_read_channel_processed(batt->iio_i, &val->intval); in lego_ev3_battery_get_property() 95 struct lego_ev3_battery *batt = power_supply_get_drvdata(psy); in lego_ev3_battery_set_property() local 107 if (batt->technology != POWER_SUPPLY_TECHNOLOGY_UNKNOWN) in lego_ev3_battery_set_property() 111 batt->technology = POWER_SUPPLY_TECHNOLOGY_NiMH; in lego_ev3_battery_set_property() [all …]
|
D | axp20x_battery.c | 64 int (*get_max_voltage)(struct axp20x_batt_ps *batt, int *val); 65 int (*set_max_voltage)(struct axp20x_batt_ps *batt, int val); 70 struct power_supply *batt; member 595 axp20x_batt->batt = devm_power_supply_register(&pdev->dev, in axp20x_power_probe() 598 if (IS_ERR(axp20x_batt->batt)) { in axp20x_power_probe() 600 PTR_ERR(axp20x_batt->batt)); in axp20x_power_probe() 601 return PTR_ERR(axp20x_batt->batt); in axp20x_power_probe() 604 if (!power_supply_get_battery_info(axp20x_batt->batt, &info)) { in axp20x_power_probe()
|
D | lp8727_charger.c | 81 struct power_supply *batt; member 243 power_supply_changed(pchg->psy->batt); in lp8727_delayed_func() 465 psy->batt = power_supply_register(pchg->dev, &lp8727_batt_desc, NULL); in lp8727_register_psy() 466 if (IS_ERR(psy->batt)) in lp8727_register_psy() 488 power_supply_unregister(psy->batt); in lp8727_unregister_psy()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
D | max8925_battery.txt | 5 - batt-detect: whether support battery detect 13 batt-detect = <0>;
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-steam.c | 318 u8 batt; in steam_battery_get_property() local 323 batt = steam->battery_charge; in steam_battery_get_property() 337 val->intval = batt; in steam_battery_get_property() 1002 u8 batt = data[14]; in steam_do_battery_event() local 1010 steam->battery_charge = batt; in steam_do_battery_event()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
D | max8925.txt | 58 batt-detect = <0>;
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | mmp2-brownstone.dts | 181 batt-detect = <0>;
|
/kernel/linux/linux-5.10/Documentation/admin-guide/laptops/ |
D | thinkpad-acpi.rst | 827 "tpacpi::power", "tpacpi:orange:batt", "tpacpi:green:batt",
|