Home
last modified time | relevance | path

Searched +full:current +full:- +full:mode (Results 1 – 25 of 1119) sorted by relevance

12345678910>>...45

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Dad5758.txt4 - compatible: Must be "adi,ad5758"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 50000000)
7 - spi-cpha: is the only mode that is supported
11 - adi,dc-dc-mode: Mode of operation of the dc-to-dc converter
13 In this mode, the AD5758 circuitry senses the output
19 In this mode, the VDPC+ voltage is user-programmable to
24 current or voltage output at the VIOUT pin. Only one mode
28 * 1: DPC current mode
29 * 2: DPC voltage mode
[all …]
Dad5755.txt1 * Analog Devices AD5755 IIO Multi-Channel DAC Linux Driver
4 - compatible: Has to contain one of the following:
6 adi,ad5755-1
11 - reg: spi chip select number for the device
12 - spi-cpha or spi-cpol: is the only modes that is supported
15 - spi-max-frequency: Definition as per
16 Documentation/devicetree/bindings/spi/spi-bus.txt
19 See include/dt-bindings/iio/ad5755.h
20 - adi,ext-dc-dc-compenstation-resistor: boolean set if the hardware have an
23 - adi,dc-dc-phase:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/addac/
Dadi,ad74115.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74115H is a single-channel software configurable input/output
17 chip solution with an SPI interface. The device features a 16-bit ADC and a
18 14-bit DAC.
25 - adi,ad74115h
30 spi-max-frequency:
33 spi-cpol: true
[all …]
/kernel/liteos_a/kernel/include/
Dlos_pm.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
55 …UINT32 (*suspend)(UINT32 mode); /* The device enters low power consumption, Unlocked task scheduli…
56 …VOID (*resume)(UINT32 mode); /* The device exits from low power consumption, Unlocked task sche…
61 * All modes except normal mode are invoked.
64 UINT32 (*early)(UINT32 mode);
65 /* The system performs low-power recovery.
66 * All modes except normal mode are invoked.
69 VOID (*late)(UINT32 mode);
70 /* The system enters the Normal sleep mode.
[all …]
/kernel/linux/linux-5.10/include/linux/
Dtracehook.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved.
31 * Some tracehook_*() inlines take arguments that the current tracing
38 * can change so there is no make-work burden on the core code. The
51 #include <linux/blk-cgroup.h>
60 int ptrace = current->ptrace; in ptrace_report_syscall()
65 current->ptrace_message = message; in ptrace_report_syscall()
71 * stopping signal is not SIGTRAP. -brl in ptrace_report_syscall()
73 if (current->exit_code) { in ptrace_report_syscall()
74 send_sig(current->exit_code, current, 1); in ptrace_report_syscall()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Drichtek,rt5033-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jakob Hauser <jahau@rocketmail.com>
14 under sub-node named "charger" using the following format.
18 const: richtek,rt5033-charger
20 monitored-battery:
26 precharge-current-microamp:
27 Current of pre-charge mode. The pre-charge current levels are 350 mA
[all …]
/kernel/linux/linux-5.10/include/dt-bindings/regulator/
Dqcom,rpmh-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * These mode constants may be used to specify modes for various RPMh regulator
9 * device tree properties (e.g. regulator-initial-mode). Each type of regulator
12 * %RPMH_REGULATOR_MODE_RET: Retention mode in which only an extremely small
13 * load current is allowed. This mode is supported
15 * %RPMH_REGULATOR_MODE_LPM: Low power mode in which a small load current is
16 * allowed. This mode corresponds to PFM for SMPS
17 * and BOB type regulators. This mode is supported
20 * %RPMH_REGULATOR_MODE_AUTO: Auto mode in which the regulator hardware
22 * upon the real-time load current. This mode is
[all …]
/kernel/linux/linux-6.6/include/dt-bindings/regulator/
Dqcom,rpmh-regulator.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * These mode constants may be used to specify modes for various RPMh regulator
9 * device tree properties (e.g. regulator-initial-mode). Each type of regulator
12 * %RPMH_REGULATOR_MODE_RET: Retention mode in which only an extremely small
13 * load current is allowed. This mode is supported
15 * %RPMH_REGULATOR_MODE_LPM: Low power mode in which a small load current is
16 * allowed. This mode corresponds to PFM for SMPS
17 * and BOB type regulators. This mode is supported
20 * %RPMH_REGULATOR_MODE_AUTO: Auto mode in which the regulator hardware
22 * upon the real-time load current. This mode is
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dusb251xb.txt1 Microchip USB 2.0 Hi-Speed Hub Controller
4 Hi-Speed Controller.
7 - compatible : Should be "microchip,usb251xb" or one of the specific types:
11 - reg : I2C address on the selected bus (default is <0x2C>)
14 - reset-gpios : Should specify the gpio for hub reset
15 - vdd-supply : Should specify the phandle to the regulator supplying vdd
16 - skip-config : Skip Hub configuration, but only send the USB-Attach command
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
Dusb251xb.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip USB 2.0 Hi-Speed Hub Controller
10 - Richard Leitner <richard.leitner@skidata.com>
15 - microchip,usb2422
16 - microchip,usb2512b
17 - microchip,usb2512bi
18 - microchip,usb2513b
19 - microchip,usb2513bi
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/dac/
Dadi,ad5758.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <Michael.Hennerich@analog.com>
19 spi-cpha: true
21 adi,dc-dc-mode:
25 Mode of operation of the dc-to-dc converter
27 In this mode, the AD5758 circuitry senses the output voltage and
32 In this mode, the VDPC+ voltage is user-programmable to a fixed level
35 The output of the DAC core is either converted to a current or
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Drichtek,rt8515.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>
13 The Richtek RT8515 is a dual channel (two mode) LED driver that
14 supports driving a white LED in flash or torch mode. The maximum
15 current for each mode is defined in hardware using two resistors
22 enf-gpios:
26 ent-gpios:
30 richtek,rfs-ohms:
[all …]
Dleds-lm3532.txt1 * Texas Instruments - lm3532 White LED driver with ambient light sensing
4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is
5 programmable over an I2C-compatible interface and has independent
6 current control for all three channels. The adaptive current regulation
7 method allows for different LED currents in each current sink thus allowing
11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear
16 - compatible : "ti,lm3532"
17 - reg : I2C slave address
18 - #address-cells : 1
19 - #size-cells : 0
[all …]
/kernel/linux/linux-5.10/Documentation/power/regulator/
Dconsumer.rst103 4. Regulator Current Limit Control & Status (dynamic drivers)
107 current limit to match system operating points. e.g. LCD backlight driver can
108 change the current limit to vary the backlight brightness, USB drivers may want
111 Consumers can control their supply current limit by calling::
115 Where min_uA and max_uA are the minimum and maximum acceptable current limit in
120 when enabled, then the current limit changes instantly, otherwise the current
121 limit configuration changes and the current limit is physically set when the
124 A regulators current limit can be found by calling::
129 get_current_limit() will return the current limit whether the regulator
130 is enabled or disabled and should not be used to determine regulator current
[all …]
/kernel/linux/linux-6.6/Documentation/power/regulator/
Dconsumer.rst103 4. Regulator Current Limit Control & Status (dynamic drivers)
107 current limit to match system operating points. e.g. LCD backlight driver can
108 change the current limit to vary the backlight brightness, USB drivers may want
111 Consumers can control their supply current limit by calling::
115 Where min_uA and max_uA are the minimum and maximum acceptable current limit in
120 when enabled, then the current limit changes instantly, otherwise the current
121 limit configuration changes and the current limit is physically set when the
124 A regulators current limit can be found by calling::
129 get_current_limit() will return the current limit whether the regulator
130 is enabled or disabled and should not be used to determine regulator current
[all …]
/kernel/linux/linux-6.6/include/linux/regulator/
Dmachine.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
26 * CURRENT: Regulator output current can be changed by software on this
28 * MODE: Regulator operating mode can be changed by software on this
31 * DRMS: Dynamic Regulator Mode Switching is enabled for this regulator.
32 * BYPASS: Regulator can be put into bypass mode
43 * operations in suspend mode
44 * DO_NOTHING_IN_SUSPEND - the default value
45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states
46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-regulator20 supplying power to the system (unless some non-Linux
33 "status". This reports the current regulator status, for
38 - off
39 - on
40 - error
41 - fast
42 - normal
43 - idle
44 - standby
50 and the regulator can't report a detailed operation mode.
[all …]
/kernel/liteos_a/kernel/base/ipc/
Dlos_rwlock.c2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
45 if ((rwlock != NULL) && ((rwlock->magic & RWLOCK_COUNT_MASK) == OS_RWLOCK_MAGIC)) { in LOS_RwlockIsValid()
61 if ((rwlock->magic & RWLOCK_COUNT_MASK) == OS_RWLOCK_MAGIC) { in LOS_RwlockInit()
66 rwlock->rwCount = 0; in LOS_RwlockInit()
67 rwlock->writeOwner = NULL; in LOS_RwlockInit()
68 LOS_ListInit(&(rwlock->readList)); in LOS_RwlockInit()
69 LOS_ListInit(&(rwlock->writeList)); in LOS_RwlockInit()
70 rwlock->magic = OS_RWLOCK_MAGIC; in LOS_RwlockInit()
84 if ((rwlock->magic & RWLOCK_COUNT_MASK) != OS_RWLOCK_MAGIC) { in LOS_RwlockDestroy()
[all …]
/kernel/liteos_m/components/power/
Dlos_pm.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
42 * Pm error code: Invalid low-power mode.
60 * Pm error code: The current mode is unlocked.
96 * Pm error code: The hook for mode is not implemented.
144 …UINT32 (*suspend)(UINT32 mode); /* The device enters low-power consumption, Unlocked task scheduli…
145 …VOID (*resume)(UINT32 mode); /* The device exits from low-power consumption, Unlocked task sche…
149 /* Low-power timer related implementation functions.
150 * The function is not NULL, the low-power timer is enabled.
152 UINT32 freq; /* The frequency of the low-power timer */
[all …]
/kernel/linux/linux-6.6/include/linux/
Dresume_user_mode.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 #include <linux/blk-cgroup.h>
12 * set_notify_resume - cause resume_user_mode_work() to be called
16 * before returning to user mode. If it's already running in user mode,
28 * resume_user_mode_work - Perform work before returning to user mode
29 * @regs: user-mode registers of @current task
32 * about to return to user mode, and the user state in @regs can be
36 * user mode.
44 * This barrier pairs with task_work_add()->set_notify_resume() after in resume_user_mode_work()
45 * hlist_add_head(task->task_works); in resume_user_mode_work()
[all …]
Dptrace.h1 /* SPDX-License-Identifier: GPL-2.0 */
26 * The owner ship rules for task->ptrace which holds the ptrace
27 * flags is simple. When a task is running it owns it's task->ptrace
28 * flags. When the a task is stopped the ptracer owns task->ptrace.
75 * ptrace_may_access - check whether the caller is permitted to access
78 * @mode: selects type of access and caller credentials
83 * be set in @mode to specify whether the access was requested through
88 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
92 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented()
97 if (unlikely(child->ptrace)) in ptrace_unlink()
[all …]
/kernel/linux/linux-6.6/kernel/entry/
Dsyscall_user_dispatch.c1 // SPDX-License-Identifier: GPL-2.0
27 info.si_call_addr = (void __user *)KSTK_EIP(current); in trigger_sigsys()
29 info.si_arch = syscall_get_arch(current); in trigger_sigsys()
30 info.si_syscall = syscall_get_nr(current, regs); in trigger_sigsys()
37 struct syscall_user_dispatch *sd = &current->syscall_dispatch; in syscall_user_dispatch()
40 if (likely(instruction_pointer(regs) - sd->offset < sd->len)) in syscall_user_dispatch()
46 if (likely(sd->selector)) { in syscall_user_dispatch()
51 if (unlikely(__get_user(state, sd->selector))) { in syscall_user_dispatch()
65 sd->on_dispatch = true; in syscall_user_dispatch()
66 syscall_rollback(current, regs); in syscall_user_dispatch()
[all …]
/kernel/linux/linux-5.10/include/linux/regulator/
Dmachine.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
26 * CURRENT: Regulator output current can be changed by software on this
28 * MODE: Regulator operating mode can be changed by software on this
31 * DRMS: Dynamic Regulator Mode Switching is enabled for this regulator.
32 * BYPASS: Regulator can be put into bypass mode
43 * operations in suspend mode
44 * DO_NOTHING_IN_SUSPEND - the default value
45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states
46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dfpu.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
17 #include <asm/cpu-features.h>
22 #include <asm/current.h>
30 * This enum specifies a mode in which we want the FPU to operate, for cores
54 static inline int __enable_fpu(enum fpu_mode mode) in __enable_fpu() argument
58 switch (mode) { in __enable_fpu()
60 /* just enable the FPU in its current mode */ in __enable_fpu()
76 /* we only have a 32-bit FPU */ in __enable_fpu()
87 fr = (int)mode & FPU_FR_MASK; in __enable_fpu()
120 enum fpu_mode mode; in __own_fpu() local
[all …]
/kernel/linux/linux-6.6/arch/mips/include/asm/
Dfpu.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
17 #include <asm/cpu-features.h>
22 #include <asm/current.h>
30 * This enum specifies a mode in which we want the FPU to operate, for cores
54 static inline int __enable_fpu(enum fpu_mode mode) in __enable_fpu() argument
58 switch (mode) { in __enable_fpu()
60 /* just enable the FPU in its current mode */ in __enable_fpu()
76 /* we only have a 32-bit FPU */ in __enable_fpu()
87 fr = (int)mode & FPU_FR_MASK; in __enable_fpu()
120 enum fpu_mode mode; in __own_fpu() local
[all …]

12345678910>>...45