/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/dac/ |
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 …]
|
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-v6.1/Documentation/devicetree/bindings/leds/ |
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 …]
|
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-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/include/linux/ |
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 …]
|
D | resume_user_mode.h | 1 /* 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 …]
|
D | dim.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 24 ((ref) && (((100UL * abs((val) - (ref))) / (ref)) > 10)) 28 * Take wrap-around and variable size into consideration. 30 #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) \ 31 & (BIT_ULL(bits) - 1)) 34 * struct dim_cq_moder - Structure for CQ moderation values. 40 * @cq_period_mode: CQ period count mode (from CQE/EQE) 50 * struct dim_sample - Structure for DIM sample data. 57 * @comp_ctr: Current completion counter 68 * struct dim_stats - Structure for DIM stats. [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/drivers/media/i2c/ |
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-v6.1/include/linux/platform_data/ |
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-v6.1/Documentation/userspace-api/media/v4l/ |
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-v6.1/include/media/davinci/ |
D | vpbe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <media/v4l2-dev.h> 12 #include <media/v4l2-ioctl.h> 13 #include <media/v4l2-device.h> 39 * requires a set of non-standard timing values to be listed here for 40 * each supported mode since venc is used in non-standard timing mode 49 * example, SD modes would use YCC8 where as HD mode would use YCC16. 50 * Not sure if this is needed on a per mode basis instead of per 51 * output basis. If per mode is needed, we may have to move this to 103 /* Get current output */ [all …]
|
/Linux-v6.1/Documentation/leds/ |
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-v6.1/Documentation/devicetree/bindings/power/supply/ |
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 …]
|
D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Binding for bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq25890 20 - ti,bq25892 21 - ti,bq25895 22 - ti,bq25896 [all …]
|
/Linux-v6.1/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 …]
|
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 allowed into the battery. [all …]
|
/Linux-v6.1/drivers/media/radio/wl128x/ |
D | fmdrv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Common header for all FM driver sub-modules. 18 #include <media/v4l2-ioctl.h> 19 #include <media/v4l2-common.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-ctrls.h> 125 * Current RX channel Alternate Frequency cache. 127 * when current channel signal strength is below RSSI threshold. 136 /* FM RX mode info */ 138 struct region_info region; /* Current selected band */ [all …]
|
D | fmdrv_rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This sub-module of FM driver implements FM RX functionality. 17 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache() 18 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache() 19 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache() 20 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache() 22 if (fmdev->rx.af_mode == FM_RX_RDS_AF_SWITCH_MODE_ON) in fm_rx_reset_rds_cache() 23 fmdev->irq_info.mask |= FM_LEV_EVENT; in fm_rx_reset_rds_cache() 28 fmdev->rx.stat_info.picode = FM_NO_PI_CODE; in fm_rx_reset_station_info() 29 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_reset_station_info() [all …]
|
/Linux-v6.1/Documentation/hwmon/ |
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-v6.1/mm/ |
D | mempolicy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 124 * run-time system-wide default policy => local allocation 128 .mode = MPOL_LOCAL, 134 * numa_map_to_online_node - Find closest online node 163 struct mempolicy *pol = p->mempolicy; in get_task_policy() 173 if (pol->mode) in get_task_policy() 187 return pol->flags & MPOL_MODE_FLAGS; in mpol_store_user_nodemask() 201 return -EINVAL; in mpol_new_nodemask() 202 pol->nodes = *nodes; in mpol_new_nodemask() 209 return -EINVAL; in mpol_new_preferred() [all …]
|