Home
last modified time | relevance | path

Searched +full:pmod +full:- +full:enabled (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dmaxim,ds2760.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 The ds2760 is a w1 slave device and must hence have its sub-node in
17 - $ref: power-supply.yaml#
23 maxim,pmod-enabled:
29 maxim,cache-time-ms:
35 rated-capacity-microamp-hours:
38 If not specified, the value stored in the non-volatile chip memory is used.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dmaxim,ds2760.txt4 The ds2760 is a w1 slave device and must hence have its sub-node in DT
11 - compatible: must be "maxim,ds2760"
14 - power-supplies: Refers to one or more power supplies connected to
16 - maxim,pmod-enabled: This boolean property enables the DS2760 to enter
20 - maxim,cache-time-ms: Time im milliseconds to cache the data for. When
23 - rated-capacity-microamp-hours:
26 non-volatile chip memory is used.
/kernel/linux/linux-6.6/include/linux/
Dlivepatch.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * livepatch.h - Kernel Live Patching Core
21 #define KLP_UNDEFINED -1
26 * struct klp_func - function structure for live patching
83 * struct klp_callbacks - pre/post live-(un)patch callback structure
88 * @post_unpatch_enabled: flag indicating if post-unpatch callback
91 * All callbacks are optional. Only the pre-patch callback, if provided,
93 * patch for any reason, including a non-zero error status returned from
94 * the pre-patch callback, no further callbacks will be executed.
105 * struct klp_object - kernel object structure for live patching
[all …]
/kernel/linux/linux-5.10/include/linux/
Dlivepatch.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * livepatch.h - Kernel Live Patching Core
22 #define KLP_UNDEFINED -1
27 * struct klp_func - function structure for live patching
84 * struct klp_callbacks - pre/post live-(un)patch callback structure
89 * @post_unpatch_enabled: flag indicating if post-unpatch callback
92 * All callbacks are optional. Only the pre-patch callback, if provided,
94 * patch for any reason, including a non-zero error status returned from
95 * the pre-patch callback, no further callbacks will be executed.
106 * struct klp_object - kernel object structure for live patching
[all …]
/kernel/linux/linux-6.6/kernel/livepatch/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * core.c - Kernel Live Patching Core
31 * accesses to klp-related variables and structures must have mutex protection,
34 * - klp_ftrace_handler()
35 * - klp_update_patch_state()
36 * - __klp_sched_try_switch()
41 * Actively used patches: enabled or in transition. Note that replaced
51 return obj->name; in klp_is_module()
54 /* sets obj->mod if object is not vmlinux and module is found */
68 mod = find_module(obj->name); in klp_find_object_module()
[all …]
/kernel/linux/linux-5.10/kernel/livepatch/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * core.c - Kernel Live Patching Core
30 * accesses to klp-related variables and structures must have mutex protection,
33 * - klp_ftrace_handler()
34 * - klp_update_patch_state()
39 * Actively used patches: enabled or in transition. Note that replaced
49 return obj->name; in klp_is_module()
52 /* sets obj->mod if object is not vmlinux and module is found */
66 mod = find_module(obj->name); in klp_find_object_module()
71 * until mod->exit() finishes. This is especially important for in klp_find_object_module()
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dds2760_battery.c5 * 2004-2007 Matt Reimer
40 MODULE_PARM_DESC(pmod_enabled, "PMOD enable bit");
127 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_io()
134 count = DS2760_DATA_SIZE - addr; in w1_ds2760_io()
138 w1_write_8(sl->master, W1_DS2760_READ_DATA); in w1_ds2760_io()
139 w1_write_8(sl->master, addr); in w1_ds2760_io()
140 count = w1_read_block(sl->master, buf, count); in w1_ds2760_io()
142 w1_write_8(sl->master, W1_DS2760_WRITE_DATA); in w1_ds2760_io()
143 w1_write_8(sl->master, addr); in w1_ds2760_io()
144 w1_write_block(sl->master, buf, count); in w1_ds2760_io()
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dds2760_battery.c5 * 2004-2007 Matt Reimer
40 MODULE_PARM_DESC(pmod_enabled, "PMOD enable bit");
127 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_io()
134 count = DS2760_DATA_SIZE - addr; in w1_ds2760_io()
138 w1_write_8(sl->master, W1_DS2760_READ_DATA); in w1_ds2760_io()
139 w1_write_8(sl->master, addr); in w1_ds2760_io()
140 count = w1_read_block(sl->master, buf, count); in w1_ds2760_io()
142 w1_write_8(sl->master, W1_DS2760_WRITE_DATA); in w1_ds2760_io()
143 w1_write_8(sl->master, addr); in w1_ds2760_io()
144 w1_write_block(sl->master, buf, count); in w1_ds2760_io()
[all …]