| /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 …]
|
| /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/Documentation/devicetree/bindings/sound/ |
| 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 53 clock-names: 60 realtek,in1-differential: 62 Indicate MIC1 input is differential, rather than single-ended. [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 …]
|
| H A D | ir36021.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Addresses scanned: - 17 - Chris Packham <chris.packham@alliedtelesis.co.nz> 20 ----------- 22 The IR36021 is a dual-loop digital multi-phase buck controller designed for 26 ----------- 32 ---------------- 36 curr1_input Measured input current 40 curr2_input Measured output current 41 curr2_alarm Output over-current alarm [all …]
|
| H A D | ltc2947.rst | 1 Kernel drivers ltc2947-i2c and ltc2947-spi 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 21 The LTC2947 is a high precision power and energy monitor that measures current, 27 accumulates if current is positive (to check battery charging efficiency for 37 The following attributes are supported. Limits are read-write, reset_history 38 is write-only and all the other attributes are read-only. 41 in0_input VP-VM voltage (mV). 49 in0_label Channel label (VP-VM) 61 curr1_input IP-IM Sense current (mA) [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/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-driver-uniwill-laptop | 9 Reading this file returns the current enable status of the FN lock functionality. 19 Reading this file returns the current enable status of the super key. 29 Reading this file returns the current enable status of the touchpad toggle 41 Reading this file returns the current status of the rainbow animation functionality. 52 Reading this file returns the current status of the breathing animation 63 Dynamic Boost also can not go over max TGP. Setting the cTGP to maximum is 65 GPU over the CPU. 67 Reading this file returns the current configurable TGP offset. 74 Allows userspace applications to choose the USB-C power distribution profile between 92 Reading this file returns the current status of the AC auto boot functionality. [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/kernel/printk/ |
| H A D | nbcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 * - The 'prio' field contains the priority of the context that owns the 36 * console. Only higher priority contexts are allowed to take over the 39 * - The 'cpu' field denotes on which CPU the console is locked. It is used 42 * taken over by a higher priority context, released, and taken on another 47 * - The 'req_prio' field is used by the handover approach to make the 48 * current owner aware that there is a context with a higher priority 51 * - The 'unsafe' field allows to take over the console in a safe way in the 57 * - The 'unsafe_takeover' field is set when a hostile takeover took the 59 * until re-initialized. [all …]
|
| /linux/rust/kernel/ |
| H A D | rbtree.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Red-black trees. 7 //! Reference: <https://docs.kernel.org/core-api/rbtree.html> 17 /// A red-black tree with owned nodes. 19 /// It is backed by the kernel C red-black trees. 44 /// // Iterate over the nodes we just inserted. 103 /// fn insert_test(tree: &SpinLock<RBTree<u32, u32>>) -> Result { 104 /// // Pre-allocat 249 let current = unsafe { bindings::rb_first(root) }; cursor_front_mut() localVariable 264 let current = unsafe { bindings::rb_first(root) }; cursor_front() localVariable 279 let current = unsafe { bindings::rb_last(root) }; cursor_back_mut() localVariable 294 let current = unsafe { bindings::rb_last(root) }; cursor_back() localVariable 782 current: NonNull<bindings::rb_node>, global() field 813 current: NonNull<bindings::rb_node>, global() field 826 pub fn current(&self) -> (&K, &V) { current() method 895 pub fn current(&self) -> (&K, &V) { current() method [all...] |
| /linux/drivers/usb/host/ |
| H A D | ohci-da8xx.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * TI DA8xx (OMAP-L1x) Bus Glue 7 * Derived from: ohci-omap.c and ohci-s3c2410.c 8 * Copyright (C) 2008-2009 MontaVista Software, Inc. <source@mvista.com> 29 #define DRV_NAME "ohci-da8xx" 46 #define to_da8xx_ohci(hcd) (struct da8xx_ohci_hcd *)(hcd_to_ohci(hcd)->priv) 48 /* Over-current indicator change bitmask */ 56 ret = clk_prepare_enable(da8xx_ohci->usb11_clk); in ohci_da8xx_enable() 60 ret = phy_init(da8xx_ohci->usb11_phy); in ohci_da8xx_enable() 64 ret = phy_power_on(da8xx_ohci->usb11_phy); in ohci_da8xx_enable() [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 …]
|
| /linux/Documentation/block/ |
| H A D | biovecs.rst | 8 Instead, we have a new struct bvec_iter which represents a range of a biovec - 20 bytes completed in the current bvec. 22 There are a bunch of new helper macros for hiding the gory details - in 37 wrapper around bio_advance_iter() that operates on bio->bi_iter, and also 40 There is a lower level advance function - bvec_iter_advance() - which takes 51 * Before, iterating over bios was very awkward when you weren't processing 52 exactly one bvec at a time - for example, bio_copy_data() in block/bio.c, 54 wouldn't necessarily be the same size, the old code was tricky convoluted - 56 and offset into the current biovec for each. 58 The new code is much more straightforward - have a look. This sort of [all …]
|