| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/dac/ |
| D | ad5758.txt | 4 - 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 …]
|
| D | ad5755.txt | 1 * Analog Device 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-5.10/Documentation/devicetree/bindings/iio/dac/ |
| D | ad5758.txt | 4 - 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 …]
|
| D | ad5755.txt | 1 * 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/liteos_a/kernel/include/ |
| D | los_pm.h | 2 * 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/ |
| D | tracehook.h | 1 /* 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-4.19/arch/mips/include/asm/ |
| D | fpu.h | 21 #include <asm/cpu-features.h> 26 #include <asm/current.h> 41 * This enum specifies a mode in which we want the FPU to operate, for cores 60 static inline int __enable_fpu(enum fpu_mode mode) in __enable_fpu() argument 64 switch (mode) { in __enable_fpu() 66 /* just enable the FPU in its current mode */ in __enable_fpu() 82 /* we only have a 32-bit FPU */ in __enable_fpu() 93 fr = (int)mode & FPU_FR_MASK; in __enable_fpu() 126 enum fpu_mode mode; in __own_fpu() local 130 mode = FPU_HYBRID; in __own_fpu() [all …]
|
| /kernel/linux/linux-4.19/kernel/ |
| D | seccomp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2004-2005 Andrea Arcangeli <andrea@cpushare.com> 10 * This defines a simple but solid secure-computing facility. 12 * Mode 1 uses a fixed list of allowed system calls. 13 * Mode 2 allows user-defined system call filters in the form 44 * struct seccomp_filter - container for seccomp BPF programs 48 * outside of a lifetime-guarded section. In general, this 55 * pointer. For any task, it appears to be a singly-linked list starting 56 * with current->seccomp.filter, the most recently attached or inherited filter. 80 struct task_struct *task = current; in populate_seccomp_data() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/ |
| D | usb251xb.txt | 1 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 - skip-config : Skip Hub configuration, but only send the USB-Attach command 16 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) 17 - product-id : Set USB Product ID of the hub (16 bit, default depends on type) 18 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) 19 - language-id : Set USB Language ID (16 bit, default is 0x0000) [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | tracehook.h | 4 * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. 34 * Some tracehook_*() inlines take arguments that the current tracing 41 * can change so there is no make-work burden on the core code. The 54 #include <linux/blk-cgroup.h> 62 int ptrace = current->ptrace; in ptrace_report_syscall() 72 * stopping signal is not SIGTRAP. -brl in ptrace_report_syscall() 74 if (current->exit_code) { in ptrace_report_syscall() 75 send_sig(current->exit_code, current, 1); in ptrace_report_syscall() 76 current->exit_code = 0; in ptrace_report_syscall() 79 return fatal_signal_pending(current); in ptrace_report_syscall() [all …]
|
| D | context_tracking.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 72 * ct_state() - return the current context tracking state if known 74 * Returns the current cpu's context tracking state if context tracking 107 vtime_guest_enter(current); in guest_enter_irqoff() 109 current->flags |= PF_VCPU; in guest_enter_irqoff() 115 * switches CPU into a guest mode. In fact switching to a guest mode in guest_enter_irqoff() 117 * addition CPU may stay in a guest mode for quite a long time (up to in guest_enter_irqoff() 118 * one time slice). Lets treat guest mode as quiescent state, just like in guest_enter_irqoff() 119 * we do with user-mode execution. in guest_enter_irqoff() 131 vtime_guest_exit(current); in guest_exit_irqoff() [all …]
|
| /kernel/linux/linux-5.10/include/dt-bindings/regulator/ |
| D | qcom,rpmh-regulator.h | 1 /* 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-4.19/include/dt-bindings/regulator/ |
| D | qcom,rpmh-regulator.h | 1 /* 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/ |
| D | usb251xb.txt | 1 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-4.19/Documentation/power/regulator/ |
| D | consumer.txt | 11 A consumer driver can get access to its supply regulator by calling :- 20 To release the regulator the consumer driver should call :- 25 analog and digital supplies :- 37 A consumer can enable its power supply by calling:- 45 A consumer can determine if a regulator is enabled by calling :- 52 A consumer can disable its supply when no longer needed by calling :- 59 Finally, a regulator can be forcefully disabled in the case of an emergency :- 75 Consumers can control their supply voltage by calling :- 87 The regulators configured voltage output can be found by calling :- 97 4. Regulator Current Limit Control & Status (dynamic drivers) [all …]
|
| /kernel/linux/linux-5.10/Documentation/power/regulator/ |
| D | consumer.rst | 103 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/liteos_m/components/power/ |
| D | los_pm.h | 2 * 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… 159 * All modes except normal mode are invoked. 162 UINT32 (*early)(UINT32 mode); 163 /* The system performs low-power recovery. [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-class-regulator | 20 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/linux/linux-4.19/Documentation/devicetree/bindings/power/supply/ |
| D | bq25890.txt | 1 Binding for TI bq25890 Li-Ion Charger 4 - compatible: Should contain one of the following: 6 - reg: integer, i2c address of the device. 7 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 8 - ti,charge-current: integer, maximum charging current (in uA); 9 - ti,termination-current: integer, charge will be terminated when current in 10 constant-voltage phase drops below this value (in uA); 11 - ti,precharge-current: integer, maximum charge current during precharge 13 - ti,minimum-sys-voltage: integer, when battery is charging and it is below 15 minimum-sys-voltage setting (in uV); [all …]
|
| /kernel/liteos_a/kernel/base/ipc/ |
| D | los_rwlock.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 46 if ((rwlock != NULL) && ((rwlock->magic & RWLOCK_COUNT_MASK) == OS_RWLOCK_MAGIC)) { in LOS_RwlockIsValid() 62 if ((rwlock->magic & RWLOCK_COUNT_MASK) == OS_RWLOCK_MAGIC) { in LOS_RwlockInit() 67 rwlock->rwCount = 0; in LOS_RwlockInit() 68 rwlock->writeOwner = NULL; in LOS_RwlockInit() 69 LOS_ListInit(&(rwlock->readList)); in LOS_RwlockInit() 70 LOS_ListInit(&(rwlock->writeList)); in LOS_RwlockInit() 71 rwlock->magic = OS_RWLOCK_MAGIC; in LOS_RwlockInit() 85 if ((rwlock->magic & RWLOCK_COUNT_MASK) != OS_RWLOCK_MAGIC) { in LOS_RwlockDestroy() [all …]
|
| /kernel/linux/linux-4.19/Documentation/ABI/testing/ |
| D | sysfs-class-regulator | 20 supplying power to the system (unless some non-Linux 33 "status". This reports the current regulator status, for 50 and the regulator can't report a detailed operation mode. 52 "error" indicates an out-of-regulation status such as being 78 'current' 84 'current' means the regulator output current limit can be 88 current limit. 98 measured in microvolts (i.e. E-6 Volts), for regulators 112 microamps. This holds the regulator output current limit 113 setting measured in microamps (i.e. E-6 Amps), for regulators [all …]
|
| /kernel/linux/linux-5.10/include/linux/regulator/ |
| D | machine.h | 1 /* 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-4.19/include/linux/regulator/ |
| D | machine.h | 2 * machine.h -- SoC Regulator support, machine/board driver API. 29 * CURRENT: Regulator output current can be changed by software on this 31 * MODE: Regulator operating mode can be changed by software on this 34 * DRMS: Dynamic Regulator Mode Switching is enabled for this regulator. 35 * BYPASS: Regulator can be put into bypass mode 46 * operations in suspend mode 47 * DO_NOTHING_IN_SUSPEND - the default value 48 * DISABLE_IN_SUSPEND - turn off regulator in suspend states 49 * ENABLE_IN_SUSPEND - keep regulator on in suspend states 63 * struct regulator_state - regulator state during low power system states [all …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/ |
| D | fpu.h | 1 /* 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-4.19/Documentation/leds/ |
| D | leds-lm3556.txt | 5 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source 10 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com) 13 ----------- 16 FLASH MODE 17 In Flash Mode, the LED current source(LED) provides 16 target current levels 18 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT 19 CONTROL REGISTER(0x09).Flash mode is activated by the ENABLE REGISTER(0x0A), 31 TORCH MODE 32 In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL 33 REGISTER(0x09).Torch Mode is activated by the ENABLE REGISTER(0x0A) or by the [all …]
|