/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 …]
|
/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 …]
|
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/hwmon/ |
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/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/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/kernel/printk/ |
H A D | nbcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 * - The 'prio' field contains the priority of the context that owns the 34 * console. Only higher priority contexts are allowed to take over the 37 * - The 'cpu' field denotes on which CPU the console is locked. It is used 40 * taken over by a higher priority context, released, and taken on another 45 * - The 'req_prio' field is used by the handover approach to make the 46 * current owner aware that there is a context with a higher priority 49 * - The 'unsafe' field allows to take over the console in a safe way in the 55 * - The 'unsafe_takeover' field is set when a hostile takeover took the 57 * until re-initialized. [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/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/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 …]
|
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 allowed into the battery. [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | orion5x-rd88f5182-nas.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 4 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include "orion5x-mv88f5182.dtsi" 11 compatible = "marvell,rd-88f5182-nas", "marvell,orion5x-88f5182", "marvell,orion5x"; 20 stdout-path = &uart0; 30 gpio-leds { 31 compatible = "gpio-leds"; 32 pinctrl-0 = <&pmx_debug_led>; [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 …]
|
/linux/Documentation/process/ |
H A D | stable-api-nonsense.rst | 8 Greg Kroah-Hartman <greg@kroah.com> 19 the syscall interface. That interface is **very** stable over time, and 27 ----------------- 38 ----- 41 to worry about the in-kernel interfaces changing. For the majority of 59 ----------------------- 64 - Depending on the version of the C compiler you use, different kernel 71 - Depending on what kernel build options you select, a wide range of 74 - different structures can contain different fields 75 - Some functions may not be implemented at all, (i.e. some locks [all …]
|