Home
last modified time | relevance | path

Searched +full:device +full:- +full:chemistry (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/drivers/power/supply/
Dipaq_micro_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/mfd/ipaq-micro.h>
43 u8 chemistry; member
61 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); in micro_battery_work()
69 * byte 1: chemistry in micro_battery_work()
73 * byte 5-9: same for battery 2 in micro_battery_work()
75 mb->ac = msg_battery.rx_data[0]; in micro_battery_work()
76 mb->chemistry = msg_battery.rx_data[1]; in micro_battery_work()
77 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + in micro_battery_work()
79 mb->flag = msg_battery.rx_data[4]; in micro_battery_work()
[all …]
Dsbs-battery.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/devm-helpers.h>
20 #include <linux/power/sbs-battery.h>
102 SBS_DATA(-1, 0x03, 0, 65535),
108 SBS_DATA(POWER_SUPPLY_PROP_CURRENT_NOW, 0x0A, -32768, 32767),
110 SBS_DATA(POWER_SUPPLY_PROP_CURRENT_AVG, 0x0B, -32768, 32767),
228 return chip->strings[i]; in sbs_get_string_buf()
230 return ERR_PTR(-EINVAL); in sbs_get_string_buf()
237 chip->technology = -1; in sbs_invalidate_cached_props()
240 chip->strings[i][0] = 0; in sbs_invalidate_cached_props()
[all …]
Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <linux/device.h>
24 #include <linux/fixp-arith.h>
26 #include "samsung-sdi-battery.h"
44 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
48 if (supply->supplied_from) { in __power_supply_is_supplied_by()
49 if (!supplier->desc->name) in __power_supply_is_supplied_by()
51 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
52 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
55 if (!supply->desc->name) in __power_supply_is_supplied_by()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dsamsung,battery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
14 of lithium ion chemistry devices used for mobile phones, laptops and other
17 product, so product device trees can specify these batteries. Operating
24 - const: samsung,eb-l1m7flu
25 description: 3.8V 1500 mAh battery used in Samsung GT-I8190
26 - const: samsung,eb425161la
27 description: 3.8V 1500 mAh battery used in Samsung SGH-T599 and SGH-I407
[all …]
Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 device-chemistry:
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dcolorspaces.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
9 'Color' is a very complex concept and depends on physics, chemistry and
97 the non-linear component value, which is a closer match to the
98 non-linear performance of both the eye and displays. Linear component
99 values are denoted RGB, non-linear are denoted as R'G'B'. In general
102 provide linear RGB colors or to use the built-in openGL support to apply
106 non-linear R'G'B' to non-linear Y'CbCr. This function is determined by
107 the so-called luma coefficients. There may be multiple possible Y'CbCr
142 your display device uses.
157 describes many more aspects of color (physics, chemistry, biology,
/Linux-v6.1/include/linux/
Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #include <linux/device.h>
226 /* Run-time specific power supply configuration */
234 /* Device specific sysfs attributes */
264 * of power supply. If this happens during device probe then it must
265 * not access internal data of device (because probe did not end).
296 struct device dev;
358 * struct power_supply_maintenance_charge_table - setting for maintenace charging
378 * below charge_term_current_ua, and then restart it (if the device is still
391 * +-------------------------------------------------------------------> t
[all …]
/Linux-v6.1/drivers/platform/x86/
Dx86-android-tablets.c1 // SPDX-License-Identifier: GPL-2.0+
38 #include "../../gpio/gpiolib-acpi.h"
42 * (either IOAPIC index, or GPIO chip name + pin-number).
62 return gc->label && !strcmp(gc->label, data); in gpiochip_find_match_label()
73 return -ENODEV; in x86_android_tablet_get_gpiod()
97 switch (data->type) { in x86_acpi_irq_helper_get()
100 * The DSDT may already reference the GSI in a device skipped by in x86_acpi_irq_helper_get()
104 acpi_unregister_gsi(data->index); in x86_acpi_irq_helper_get()
105 irq = acpi_register_gsi(NULL, data->index, data->trigger, data->polarity); in x86_acpi_irq_helper_get()
107 pr_err("error %d getting APIC IRQ %d\n", irq, data->index); in x86_acpi_irq_helper_get()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dexynos4412-p4note.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4412 based p4note device family base DT.
4 * Based on exynos4412-midas.dtsi.
10 /dts-v1/;
12 #include "exynos4412-ppmu-common.dtsi"
14 #include <dt-bindings/clock/maxim,max77686.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
18 #include <dt-bindings/power/summit,smb347-charger.h>
[all …]