/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 …]
|
/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 …]
|
D | context_tracking.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 74 * ct_state() - return the current context tracking state if known 76 * Returns the current cpu's context tracking state if context tracking 110 vtime_guest_enter(current); in guest_enter_irqoff() 112 current->flags |= PF_VCPU; in guest_enter_irqoff() 119 * switches CPU into a guest mode. In fact switching to a guest mode in guest_enter_irqoff() 121 * addition CPU may stay in a guest mode for quite a long time (up to in guest_enter_irqoff() 122 * one time slice). Lets treat guest mode as quiescent state, just like in guest_enter_irqoff() 123 * we do with user-mode execution. in guest_enter_irqoff() 139 vtime_guest_exit(current); in guest_exit_irqoff() [all …]
|
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. 50 /* single stepping state bits (used on ARM and PA-RISC) */ 82 * ptrace_may_access - check whether the caller is permitted to access 85 * @mode: selects type of access and caller credentials 90 * be set in @mode to specify whether the access was requested through 95 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode); 99 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
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-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 …]
|
/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 …]
|
/linux-5.10/Documentation/devicetree/bindings/leds/ |
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-5.10/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-5.10/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-5.10/Documentation/devicetree/bindings/power/supply/ |
D | bq25890.txt | 1 Binding for TI bq25890 Li-Ion Charger 7 - compatible: Should contain one of the following: 12 - reg: integer, i2c address of the device. 13 - interrupts: interrupt line; 14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 15 - ti,charge-current: integer, maximum charging current (in uA); 16 - ti,termination-current: integer, charge will be terminated when current in 17 constant-voltage phase drops below this value (in uA); 18 - ti,precharge-current: integer, maximum charge current during precharge 20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below [all …]
|
D | qcom_smbb.txt | 1 Qualcomm Switch-Mode Battery Charger and Boost 4 - compatible: 8 - "qcom,pm8941-charger" 10 - reg: 12 Value type: <prop-encoded-array> 15 - interrupts: 17 Value type: <prop-encoded-array> 21 - charge done 22 - charge fast mode 23 - charge trickle mode [all …]
|
/linux-5.10/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-5.10/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-5.10/Documentation/devicetree/bindings/mfd/ |
D | max77693.txt | 1 Maxim MAX77693 multi-function device 4 - PMIC, 5 - CHARGER, 6 - LED, 7 - MUIC, 8 - HAPTIC 14 - compatible : Must be "maxim,max77693". 15 - reg : Specifies the i2c slave address of PMIC block. 16 - interrupts : This i2c device has an IRQ line connected to the main SoC. 19 - regulators : The regulators of max77693 have to be instantiated under subnode [all …]
|
/linux-5.10/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-5.10/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-5.10/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 …]
|
/linux-5.10/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 103 * struct seccomp_kaddfd - container for seccomp_addfd ioctl messages 106 * @fd: The fd number to install it at. If the fd number is -1, it means the 129 * struct notification - container for seccomp userspace notifications. Since 131 * structure is fairly large, we store the notification-specific stuff in a 136 * filter->notify_lock. [all …]
|
/linux-5.10/mm/ |
D | mempolicy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 120 * run-time system-wide default policy => local allocation 124 .mode = MPOL_PREFERRED, 131 * numa_map_to_online_node - Find closest online node 158 struct mempolicy *pol = p->mempolicy; in get_task_policy() 168 if (pol->mode) in get_task_policy() 182 return pol->flags & MPOL_MODE_FLAGS; in mpol_store_user_nodemask() 196 return -EINVAL; in mpol_new_interleave() 197 pol->v.nodes = *nodes; in mpol_new_interleave() 204 pol->flags |= MPOL_F_LOCAL; /* local allocation */ in mpol_new_preferred() [all …]
|