Searched refs:batt (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/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 | 101 int (*get_max_voltage)(struct axp20x_batt_ps *batt, int *val); 102 int (*set_max_voltage)(struct axp20x_batt_ps *batt, int val); 112 struct power_supply *batt; member 1101 axp20x_batt->batt = devm_power_supply_register(&pdev->dev, in axp20x_power_probe() 1104 if (IS_ERR(axp20x_batt->batt)) { in axp20x_power_probe() 1106 PTR_ERR(axp20x_batt->batt)); in axp20x_power_probe() 1107 return PTR_ERR(axp20x_batt->batt); in axp20x_power_probe() 1110 if (!power_supply_get_battery_info(axp20x_batt->batt, &info)) { in axp20x_power_probe() 1112 power_supply_put_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 = devm_power_supply_register(pchg->dev, &lp8727_batt_desc, NULL); in lp8727_register_psy() 466 if (IS_ERR(psy->batt)) in lp8727_register_psy()
|
D | samsung-sdi-battery.c | 902 struct samsung_sdi_battery *batt; in samsung_sdi_battery_get_info() local 906 batt = &samsung_sdi_batteries[i]; in samsung_sdi_battery_get_info() 907 if (!strcmp(compatible, batt->compatible)) in samsung_sdi_battery_get_info() 914 *info = &batt->info; in samsung_sdi_battery_get_info() 916 batt->name, batt->info.charge_full_design_uah / 1000); in samsung_sdi_battery_get_info()
|
/linux-6.12.1/drivers/platform/x86/siemens/ |
D | Makefile | 8 obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT) += simatic-ipc-batt.o 9 obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_APOLLOLAKE) += simatic-ipc-batt-apollolake.o 10 obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_ELKHARTLAKE) += simatic-ipc-batt-elkhartlake.o 11 obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_F7188X) += simatic-ipc-batt-f7188x.o
|
D | Kconfig | 27 will be called simatic-ipc-batt. 39 will be called simatic-ipc-batt-apollolake. 51 will be called simatic-ipc-batt-elkhartlake. 64 will be called simatic-ipc-batt-f7188x.
|
/linux-6.12.1/drivers/hid/ |
D | hid-steam.c | 643 u8 batt; in steam_battery_get_property() local 648 batt = steam->battery_charge; in steam_battery_get_property() 662 val->intval = batt; in steam_battery_get_property() 1701 u8 batt = data[14]; in steam_do_battery_event() local 1709 steam->battery_charge = batt; in steam_do_battery_event()
|
/linux-6.12.1/arch/arm/boot/dts/marvell/ |
D | mmp2-brownstone.dts | 181 batt-detect = <0>;
|
/linux-6.12.1/Documentation/admin-guide/laptops/ |
D | thinkpad-acpi.rst | 835 "tpacpi::power", "tpacpi:orange:batt", "tpacpi:green:batt",
|