/linux/Documentation/hwmon/ |
H A D | crps.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 12 Addresses scanned: - 21 ----------- 31 ----------- 33 This driver does not auto-detect devices. You will have to instantiate the 34 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 39 ------------- 43 curr1_input Measured input current 44 curr1_max Maximum input current 45 curr1_max_alarm Input maximum current high alarm [all …]
|
H A D | mpq8785.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 17 ----------- 19 The MPM3695 family is a scalable, ultra-thin, fully integrated power module with 21 10A (-10 variant), 20A (-25 variant), 25A (-20 variant), 100A (-100 variant) 22 of output current with excellent load and line regulation across a wide input 23 voltage range. It operates at high efficiency over a wide load range, and can 24 be parallled to deliver higher current. Variants -10,-20 and -100 have different 25 voltage scale configuration register range (10 bits) than -25 version (11 bits). 30 to provide 50A, 75A, or 100A of output current for flexible configurations. 31 The device can also operate in parallel with the MPM3695-100 and additional [all …]
|
H A D | ibm-cffps.rst | 1 Kernel driver ibm-cffps 11 ----------- 17 ----------- 19 This driver does not auto-detect devices. You will have to instantiate the 20 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 24 ------------- 29 curr1_alarm Output current over-current alarm. 30 curr1_input Measured output current in mA. 40 in1_alarm Input voltage under-voltage alarm. 43 in2_alarm Output voltage over-voltage alarm. [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | rt5651.txt | 7 - compatible : "realtek,rt5651". 9 - reg : The I2C address of the device. 13 - realtek,in2-differential 14 Boolean. Indicate MIC2 input are differential, rather than single-ended. 16 - realtek,dmic-en 19 - realtek,jack-detect-source 21 1: Use JD1_1 pin for jack-detect 22 2: Use JD1_2 pin for jack-detect 23 3: Use JD2 pin for jack-detect 25 - realtek,jack-detect-not-inverted [all …]
|
H A D | realtek,rt5640.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Neil Armstrong <neil.armstrong@linaro.org> 39 - $ref: dai-common.yaml# 44 - realtek,rt5640 45 - realtek,rt5639 54 realtek,in1-differential: 56 Indicate MIC1 input is differential, rather than single-ended. 59 realtek,in2-differential: [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Voltage/Current Regulators 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: [all …]
|
/linux/include/linux/ |
H A D | prime_numbers.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * for_each_prime_number - iterate over each prime upto a value 12 * @prime: the current prime number in this iteration 15 * Starting from the first prime number 2 iterate over each prime number up to 16 * the @max value. On each iteration, @prime is set to the current prime number. 25 * for_each_prime_number_from - iterate over each prime upto a value 26 * @prime: the current prime number in this iteration 30 * Starting from @from iterate over each successive prime number up to the 31 * @max value. On each iteration, @prime is set to the current prime number.
|
H A D | generic-radix-tree.h | 16 * - genradix_init(radix) - initialize an empty genradix 18 * - genradix_free(radix) - free all memory owned by the genradix and 21 * - genradix_ptr(radix, idx) - gets a pointer to the entry at idx, returning 24 * - genradix_ptr_alloc(radix, idx, gfp) - gets a pointer to an entry, 27 * - genradix_for_each(radix, iter, p) - iterate over each entry in a genradix 30 * that were never explicitly allocated - they will be initialized to all 35 * type the radix contains to calculate a byte offset from the index - see 57 DIV_ROUND_UP(BITS_PER_LONG - GENRADIX_NODE_SHIFT, GENRADIX_ARY_SHIFT) 60 ((unsigned long) (roundup_pow_of_two(GENRADIX_MAX_DEPTH + 1) - 1)) 122 * space at runtime - then the various accessor macros can use typeof() to get [all …]
|
H A D | scatterlist.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 #define sg_dma_address(sg) ((sg)->dma_address) 34 #define sg_dma_len(sg) ((sg)->dma_length) 36 #define sg_dma_len(sg) ((sg)->length) 73 * Those low bits are there for everyone! (thanks mason :-) 79 return sg->page_link & SG_PAGE_LINK_MASK; in __sg_flags() 84 return (struct scatterlist *)(sg->page_link & ~SG_PAGE_LINK_MASK); in sg_chain_ptr() 98 * sg_next - return the next scatterlist entry in a list 99 * @sg: The current sg entry 120 * sg_assign_page - Assign a given page to an SG entry [all …]
|
H A D | list.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * using the generic single-entry routines. 29 * INIT_LIST_HEAD - Initialize a list_head structure 37 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD() 38 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD() 62 * inline to catch non-faulting corruptions, and only if a corruption is 79 * of them completely if they can be proven at compile-time. If in __list_add_valid() 80 * one of the pre-conditions does not hold, the slow-path will in __list_add_valid() 81 * show a report which pre-condition failed. in __list_add_valid() 83 if (likely(next->prev == prev && prev->next == next && new != prev && new != next)) in __list_add_valid() [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | chipidea,usb2-imx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/chipidea,usb2-imx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Xu Yang <xu.yang_2@nxp.com> 15 - enum: 16 - fsl,imx27-usb 17 - items: 18 - enum: 19 - fsl,imx23-usb [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-ibm-sbp1.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/i2c/i2c.h> 9 #include "aspeed-g6.dtsi" 13 compatible = "ibm,sbp1-bmc", "aspeed,ast2600"; 16 stdout-path = &uart1; [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ams,as3711.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Austria MicroSystems AS3711 Quad Buck High Current PMIC with Charger 10 - Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> 15 two step-up DC/DC converters are defined. 26 Step-up converter configuration, to be used as a backlight source 31 const: ams,as3711-bl 33 su1-dev: 34 description: Framebuffer phandle for the first step-up converter [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15xx-osd32.dtsi | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 7 #include "stm32mp15-pinctrl.dtsi" 9 #include <dt-bindings/mfd/st,stpmic1.h> 12 reserved-memory { 13 #address-cells = <1>; 14 #size-cells = <1>; 18 compatible = "shared-dma-pool"; 20 no-map; 24 compatible = "shared-dma-pool"; [all …]
|
H A D | stm32mp157c-odyssey-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> 17 model = "Seeed Studio Odyssey-STM32MP157C SOM"; 18 compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157"; 25 reserved-memory { [all …]
|
H A D | stm32mp15xx-dhcor-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved 8 #include "stm32mp15-pinctrl.dtsi" 9 #include "stm32mp15xxac-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/mfd/st,stpmic1.h> 23 reserved-memory { 24 #address-cells = <1>; 25 #size-cells = <1>; 29 compatible = "shared-dma-pool"; [all …]
|
H A D | stm32mp157a-stinger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/mfd/st,stpmic1.h> 24 stdout-path = "serial1:115200n8"; 33 compatible = "gpio-leds"; 38 linux,default-trigger = "heartbeat"; 39 default-state = "off"; [all …]
|
/linux/Documentation/devicetree/bindings/iio/afe/ |
H A D | current-sense-shunt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Shunt 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the voltage over a current sense shunt, 14 the interesting measurement is almost always the current through the 15 shunt, not the voltage over it. This binding describes such a current 20 const: current-sense-shunt [all …]
|
/linux/include/uapi/linux/ |
H A D | if_pppol2tp.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Linux PPP over L2TP (PPPoL2TP) Socket Implementation (RFC 2661) 5 * This file supplies definitions required by the PPP over L2TP driver 25 * socket over IPv4. 29 * 0 => current */ 39 * socket over IPv6. 43 * 0 => current */ 57 * 0 => current */ 68 * 0 => current */ 78 * DEBUG - bitmask of debug message categories (not used) [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-led-flash | 55 Flash faults are re-read after strobing the flash. Possible 58 * led-over-voltage 61 * flash-timeout-exceeded 65 * controller-over-temperature 68 * controller-short-circuit 71 * led-power-supply-over-current 72 current in the LED power 75 * indicator-led-fault 78 * led-under-voltage 82 * controller-under-voltage [all …]
|
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 52 "error" indicates an out-of-regulation status such as being [all …]
|
/linux/tools/include/linux/ |
H A D | list.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * using the generic single-entry routines. 27 list->next = list; in INIT_LIST_HEAD() 28 list->prev = list; in INIT_LIST_HEAD() 42 next->prev = new; in __list_add() 43 new->next = next; in __list_add() 44 new->prev = prev; in __list_add() 45 prev->next = new; in __list_add() 54 * list_add - add a new entry 63 __list_add(new, head, head->next); in list_add() [all …]
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Kiran Gunda <quic_kgunda@quicinc.com> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
/linux/drivers/regulator/ |
H A D | qcom-labibb-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 114 ret = regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_enable() 115 vreg->base + REG_LABIBB_INT_LATCHED_CLR, in qcom_labibb_ocp_hw_enable() 121 return regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_enable() 122 vreg->base + REG_LABIBB_INT_EN_SET, in qcom_labibb_ocp_hw_enable() 130 return regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_disable() 131 vreg->base + REG_LABIBB_INT_EN_CLR, in qcom_labibb_ocp_hw_disable() 136 * qcom_labibb_check_ocp_status - Check the Over-Current Protection status 140 * set, then there is no Over-Current event. 142 * Returns: Zero if there is no over-current, 1 if in over-current or [all …]
|