Home
last modified time | relevance | path

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

/Linux-v5.15/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>
42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
46 if (supply->supplied_from) { in __power_supply_is_supplied_by()
47 if (!supplier->desc->name) in __power_supply_is_supplied_by()
49 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
53 if (!supply->desc->name) in __power_supply_is_supplied_by()
55 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
56 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
[all …]
/Linux-v5.15/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-v5.15/Documentation/devicetree/bindings/power/supply/
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 …]