/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # 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 …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | qcom,qca807x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christian Marangi <ansuelsmth@gmail.com> 11 - Robert Marko <robert.marko@sartura.hr> 15 IEEE 802.3 clause 22 compliant 10BASE-Te, 100BASE-TX and 16 1000BASE-T PHY-s. 21 Both models have a combo port that supports 1000BASE-X and 22 100BASE-FX fiber. 25 output only pins that natively drive LED-s for up to 2 attached [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # 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 …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt5033-charger.yaml | 1 # 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 …]
|
H A D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
H A D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - enum: 20 - ti,bq25890 21 - items: 22 - enum: [all …]
|
/linux/Documentation/power/regulator/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5758.yaml | 1 # 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 …]
|
H A D | adi,ad5755.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD5755 Multi-Channel DAC 10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk> 15 - adi,ad5755 16 - adi,ad5755-1 17 - adi,ad5757 18 - adi,ad5735 19 - adi,ad5737 [all …]
|
/linux/include/dt-bindings/regulator/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | richtek,rt8515.yaml | 1 # 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 …]
|
H A D | leds-lm3532.txt | 1 * 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 …]
|
/linux/arch/mips/include/asm/ |
H A 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 …]
|
/linux/include/linux/ |
H A D | ptrace.h | 1 /* 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 …]
|
H A D | resume_user_mode.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include <linux/blk-cgroup.h> 13 * set_notify_resume - cause resume_user_mode_work() to be called 17 * before returning to user mode. If it's already running in user mode, 29 * resume_user_mode_work - Perform work before returning to user mode 30 * @regs: user-mode registers of @current task 33 * about to return to user mode, and the user state in @regs can be 37 * user mode. 45 * This barrier pairs with task_work_add()->set_notify_resume() after in resume_user_mode_work() 46 * hlist_add_head(task->task_works); in resume_user_mode_work() [all …]
|
/linux/kernel/entry/ |
H A D | syscall_user_dispatch.c | 1 // 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 = ¤t->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 …]
|
/linux/drivers/media/i2c/ |
H A D | lm3646.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Ldd-Mlp <ldd-mlp@list.ti.com> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 61 * @led_mode: V4L2 LED mode 64 * @mode_reg : mode register value 78 container_of(_ctrl->handler, struct lm3646_flash, ctrls_led) 80 /* enable mode control */ 86 return regmap_write(flash->regmap, in lm3646_mode_ctrl() 87 REG_ENABLE, flash->mode_reg | MODE_SHDN); in lm3646_mode_ctrl() [all …]
|
/linux/Documentation/ABI/testing/ |
H A 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 …]
|
H A D | sysfs-class-power | 5 Contact: linux-pm@vger.kernel.org 14 Contact: linux-pm@vger.kernel.org 23 Contact: linux-pm@vger.kernel.org 32 Contact: linux-pm@vger.kernel.org 43 Contact: linux-pm@vger.kernel.org 47 Reports an average IBAT current reading for the battery, over 54 Reports an average IBUS current reading over a fixed period. 62 batteries and for USB IBUS current. 66 Contact: linux-pm@vger.kernel.org 70 Reports the maximum IBAT current allowe [all...] |
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-audio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and its attributes 38 To query the current audio input applications zero out the ``reserved`` 42 has no audio inputs, or none which combine with the current video input. 44 Audio inputs have one writable property, the audio mode. To select the 45 current audio input *and* change the audio mode, applications initialize 46 the ``index`` and ``mode`` fields, and the ``reserved`` array of a 48 ioctl. Drivers may switch to a different audio mode if the request 49 cannot be satisfied. However, this is a write-only ioctl, it does not 50 return the actual new audio mode. [all …]
|
/linux/include/linux/platform_data/ |
H A D | ad7793.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 * enum ad7793_clock_source - AD7793 clock source selection 25 * enum ad7793_bias_voltage - AD7793 bias voltage selection 27 * @AD7793_BIAS_VOLTAGE_AIN1: Bias voltage connected to AIN1(-). 28 * @AD7793_BIAS_VOLTAGE_AIN2: Bias voltage connected to AIN2(-). 29 * @AD7793_BIAS_VOLTAGE_AIN3: Bias voltage connected to AIN3(-). 40 * enum ad7793_refsel - AD7793 reference voltage selection 42 * and REFIN1(-). 44 * and REFIN1(-). Only valid for AD7795/AD7796. 54 * enum ad7793_current_source_direction - AD7793 excitation current direction [all …]
|
/linux/Documentation/leds/ |
H A D | leds-lm3556.rst | 6 1.5 A Synchronous Boost LED Flash Driver w/ High-Side Current Source 10 - Daniel Jeong 12 Contact:Daniel Jeong(daniel.jeong-at-ti.com, gshark.jeong-at-gmail.com) 15 ----------- 18 Flash Mode 21 In Flash Mode, the LED current source(LED) provides 16 target current levels 22 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT 23 CONTROL REGISTER(0x09).Flash mode is activated by the ENABLE REGISTER(0x0A), 47 Torch Mode 50 In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL [all …]
|
/linux/Documentation/hwmon/ |
H A D | g762.rst | 5 and performs closed-loop or open-loop control of the fan speed. Two 6 modes - PWM or DC - are supported by the device. 9 http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs 10 bindings are described in Documentation/hwmon/sysfs-interface.rst. 25 set desired fan speed. This only makes sense in closed-loop 29 provide current fan rotation value in RPM as reported by 44 in closed-loop control mode, if fan RPM value is 25% out 49 set current fan speed control mode i.e. 1 for manual fan 50 speed control (open-loop) via pwm1 described below, 2 for 51 automatic fan speed control (closed-loop) via fan1_target [all …]
|
/linux/mm/ |
H A D | mempolicy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 * a set of weights (per-node), with normal fallback if it 26 * Example: nodeset(0,1) & weights (2,1) - 2 pages allocated 122 #define MPOL_MF_WRLOCK (MPOL_MF_INTERNAL << 2) /* Write-lock walked vmas */ 132 * run-time system-wide default policy => local allocation 136 .mode = MPOL_LOCAL, 142 * iw_table is the sysfs-set interleave weight table, a value of 0 denotes 143 * system-default value should be used. A NULL iw_table also denotes that 144 * system-default values should be used. Until the system-default table 145 * is implemented, the system-default is always 1. [all …]
|
/linux/kernel/ |
H A 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 105 * struct seccomp_kaddfd - container for seccomp_addfd ioctl messages 108 * @fd: The fd number to install it at. If the fd number is -1, it means the 138 * struct notification - container for seccomp userspace notifications. Since 140 * structure is fairly large, we store the notification-specific stuff in a 145 * filter->notify_lock. [all …]
|