/Linux-v5.15/include/linux/ |
D | bootconfig.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #define BOOTCONFIG_ALIGN_MASK (BOOTCONFIG_ALIGN - 1) 20 * xbc_calc_checksum() - Calculate checksum of bootconfig 33 while (size--) in xbc_calc_checksum() 42 u16 child; member 49 /* Maximum size of boot config is 32KB - 1 */ 50 #define XBC_DATA_MAX (XBC_VALUE - 1) 65 * xbc_node_is_value() - Test the node is a value node 72 return node->data & XBC_VALUE; in xbc_node_is_value() 76 * xbc_node_is_key() - Test the node is a key node [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/i2c/ |
D | i2c-fsi.txt | 1 Device-tree bindings for FSI-attached I2C master and busses 2 ----------------------------------------------------------- 5 - compatible = "ibm,i2c-fsi"; 6 - reg = < address size >; : The FSI CFAM address and address 8 - #address-cells = <1>; : Number of address cells in child 9 nodes. 10 - #size-cells = <0>; : Number of size cells in child nodes. 11 - child nodes : Nodes to describe busses off the I2C 14 Child node required properties: 15 - reg = < port number > : The port number on the I2C master. [all …]
|
D | i2c-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 13 An i2c bus multiplexer/switch will have several child busses that are numbered 14 uniquely in a device dependent manner. The nodes for an i2c bus 15 multiplexer/switch will have one child node for each child bus. 17 For i2c multiplexers/switches that have child nodes that are a mixture of both 18 i2c child busses and other child nodes, the 'i2c-mux' subnode can be used for [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/pwm/ |
D | pwm-tipwmss.txt | 4 - compatible: Must be "ti,<soc>-pwmss". 5 for am33xx - compatible = "ti,am33xx-pwmss"; 6 for am4372 - compatible = "ti,am4372-pwmss","ti,am33xx-pwmss"; 7 for dra746 - compatible = "ti,dra746-pwmss", "ti,am33xx-pwmss" 9 - reg: physical base address and size of the registers map. 10 - address-cells: Specify the number of u32 entries needed in child nodes. 12 - size-cells: specify number of u32 entries needed to specify child nodes size 14 - ranges: describes the address mapping of a memory-mapped bus. Should set to 15 physical address map of child's base address, physical address within 17 3 set of child register maps present, ECAP register space, EQEP [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/cpu/ |
D | cpu-topology.txt | 6 1 - Introduction 12 - socket 13 - cluster 14 - core 15 - thread 18 symmetric multi-threading (SMT) is supported or not. 20 For instance in a system where CPUs support SMT, "cpu" nodes represent all 22 In systems where SMT is not supported "cpu" nodes represent all cores present 25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups 27 tree nodes. [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/memory-controllers/ |
D | arm,pl172.txt | 5 - compatible: Must be "arm,primecell" and exactly one from 8 - reg: Must contains offset/length value for controller. 10 - #address-cells: Must be 2. The partition number has to be encoded in the 11 first address cell and it may accept values 0..N-1 12 (N - total number of partitions). The second cell is the 15 - #size-cells: Must be set to 1. 17 - ranges: Must contain one or more chip select memory regions. 19 - clocks: Must contain references to controller clocks. 21 - clock-names: Must contain "mpmcclk" and "apb_pclk". 23 - clock-ranges: Empty property indicating that child nodes can inherit [all …]
|
D | ti-aemif.txt | 4 provide a glue-less interface to a variety of asynchronous memory devices like 11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 17 - compatible: "ti,davinci-aemif" 18 "ti,keystone-aemif" 19 "ti,da850-aemif" 21 - reg: contains offset/length value for AEMIF control registers 24 - #address-cells: Must be 2. The partition number has to be encoded in the 25 first address cell and it may accept values 0..N-1 [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/pinctrl/ |
D | samsung-pinctrl.txt | 6 on-chip controllers onto these pads. 9 - compatible: should be one of the following. 10 - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller, 11 - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller, 12 - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller, 13 - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller, 14 - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller, 15 - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller, 16 - "samsung,exynos3250-pinctrl": for Exynos3250 compatible pin-controller. 17 - "samsung,exynos4210-pinctrl": for Exynos4210 compatible pin-controller. [all …]
|
D | pinctrl-bindings.txt | 4 such as pull-up/down, tri-state, drive-strength etc are designated as pin 15 need to reconfigure pins at run-time, for example to tri-state pins when the 21 for client device device tree nodes to map those state names to the pin 28 nodes. The decision to do this or not somewhat rests with the author of 47 pinctrl-0: List of phandles, each pointing at a pin configuration 48 node. These referenced pin configuration nodes must be child 49 nodes of the pin controller that they configure. Multiple 52 from multiple nodes for a single pin controller, each 55 pin configuration nodes. 65 pinctrl-1: List of phandles, each pointing at a pin configuration [all …]
|
D | nvidia,tegra124-dpaux-padctl.txt | 8 This document defines the device-specific binding for the DPAUX pad 9 controller. Refer to pinctrl-bindings.txt in this directory for generic 11 the binding document ../display/tegra/nvidia,tegra20-host1x.txt for more 15 ----------- 17 Child nodes contain the pinmux configurations following the conventions 18 from the pinctrl-bindings.txt document. 20 Since only three configurations are possible, only three child nodes are 23 single set of pads, the child nodes only need to describe the pad group 27 - groups: Must be "dpaux-io" 28 - function: Must be either "aux", "i2c" or "off". [all …]
|
/Linux-v5.15/Documentation/devicetree/ |
D | of_unittest.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 (1) Documentation/devicetree/usage-model.rst 27 2. Test-data 30 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 35 drivers/of/unittest-data/tests-interrupts.dtsi 36 drivers/of/unittest-data/tests-platform.dtsi 37 drivers/of/unittest-data/tests-phandle.dtsi 38 drivers/of/unittest-data/tests-match.dtsi 60 ------------------------- 62 Un-flattened device tree structure: [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/slimbus/ |
D | bus.txt | 3 SLIMbus is a 2-wire bus, and is used to communicate with peripheral 4 components like audio-codec. 7 - compatible - name of SLIMbus controller 9 Child nodes: 10 Every SLIMbus controller node can contain zero or more child nodes 15 If child node is not present and it is instantiated after device 18 In some cases it may be necessary to describe non-probeable device 19 details such as non-standard ways of powering up a device. In 20 such cases, child nodes for those devices will be present as 23 Required property for SLIMbus child node if it is present: [all …]
|
/Linux-v5.15/drivers/of/ |
D | platform.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 #include <linux/dma-mapping.h> 25 { .compatible = "simple-bus", }, 26 { .compatible = "simple-mfd", }, 29 { .compatible = "arm,amba-bus", }, 35 { .compatible = "operating-points-v2", }, 40 * of_find_device_by_node - Find the platform_device associated with a node 63 * mechanism for creating devices from device tree nodes. 67 * of_device_make_bus_id - Use the device node data to assign a unique name 72 * parent nodes until a unique name can be derived. [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/mtd/ |
D | samsung-s3c2410.txt | 4 - compatible : The possible values are: 5 "samsung,s3c2410-nand" 6 "samsung,s3c2412-nand" 7 "samsung,s3c2440-nand" 8 - reg : register's location and length. 9 - #address-cells, #size-cells : see nand-controller.yaml 10 - clocks : phandle to the nand controller clock 11 - clock-names : must contain "nand" 13 Optional child nodes: 14 Child nodes representing the available nand chips. [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,gsbi.txt | 3 The GSBI controller is modeled as a node with zero or more child nodes, each 4 representing a serial sub-node device that is mux'd as part of the GSBI 9 - compatible: Should contain "qcom,gsbi-v1.0.0" 10 - cell-index: Should contain the GSBI index 11 - reg: Address range for GSBI registers 12 - clocks: required clock 13 - clock-names: must contain "iface" entry 14 - qcom,mode : indicates MUX value for configuration of the serial interface. 15 Please reference dt-bindings/soc/qcom,gsbi.h for valid mux values. 18 - qcom,crci : indicates CRCI MUX value for QUP CRCI ports. Please reference [all …]
|
/Linux-v5.15/drivers/firewire/ |
D | core-topology.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2004-2006 Kristian Hoegsberg <krh@bitplanet.net> 11 #include <linux/firewire-constants.h> 66 shift -= 2; in count_ports() 96 shift = 16 - ((port_index + 5) & 7) * 2; in get_port_type() 108 node->color = color; in fw_node_create() 109 node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid); in fw_node_create() 110 node->link_on = SELF_ID_LINK_ON(sid); in fw_node_create() 111 node->phy_speed = SELF_ID_PHY_SPEED(sid); in fw_node_create() 112 node->initiated_reset = SELF_ID_PHY_INITIATOR(sid); in fw_node_create() [all …]
|
/Linux-v5.15/drivers/base/ |
D | swnode.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Software nodes for the firmware node framework. 41 return !IS_ERR_OR_NULL(fwnode) && fwnode->ops == &software_node_ops; in is_software_node() 62 fwnode = fwnode->secondary; in dev_to_swnode() 76 spin_lock(&swnode_kset->list_lock); in software_node_to_swnode() 78 list_for_each_entry(k, &swnode_kset->list, entry) { in software_node_to_swnode() 80 if (swnode->node == node) in software_node_to_swnode() 85 spin_unlock(&swnode_kset->list_lock); in software_node_to_swnode() 94 return swnode ? swnode->node : NULL; in to_software_node() 102 return swnode ? &swnode->fwnode : NULL; in software_node_fwnode() [all …]
|
/Linux-v5.15/Documentation/sphinx/ |
D | rstFlatTable.py | 2 # -*- coding: utf-8; mode: python -*- 6 flat-table 9 Implementation of the ``flat-table`` reST-directive. 14 The ``flat-table`` (:py:class:`FlatTable`) is a double-stage list similar to 15 the ``list-table`` with some additional features: 17 * *column-span*: with the role ``cspan`` a cell can be extended through 20 * *row-span*: with the role ``rspan`` a cell can be extended through 24 right side of that table-row. With Option ``:fill-cells:`` this behavior 30 * header-rows: [int] count of header rows 31 * stub-columns: [int] count of stub columns [all …]
|
/Linux-v5.15/drivers/pci/hotplug/ |
D | pnv_php.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include <asm/pnv-pci.h> 15 #include <asm/ppc-pci.h> 22 ((sl)->pdev ? pci_warn((sl)->pdev, x) : dev_warn(&(sl)->bus->dev, x)) 40 struct pci_dev *pdev = php_slot->pdev; in pnv_php_disable_irq() 41 int irq = php_slot->irq; in pnv_php_disable_irq() 44 if (php_slot->irq > 0) { in pnv_php_disable_irq() 51 free_irq(php_slot->irq, php_slot); in pnv_php_disable_irq() 52 php_slot->irq = 0; in pnv_php_disable_irq() 55 if (php_slot->wq) { in pnv_php_disable_irq() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/mfd/ |
D | tps65912.txt | 4 - compatible : Should be "ti,tps65912". 5 - reg : Slave address or chip select number (I2C / SPI). 6 - interrupts : The interrupt line the device is connected to. 7 - interrupt-controller : Marks the device node as an interrupt controller. 8 - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 11 masks from ../interrupt-controller/interrupts.txt. 12 - gpio-controller : Marks the device node as a GPIO Controller. 13 - #gpio-cells : Should be two. The first cell is the pin number and 16 - regulators: : List of child nodes that specify the regulator 17 initialization data. Child nodes must be named [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/hwmon/ |
D | ina3221.txt | 5 - compatible: Must be "ti,ina3221" 6 - reg: I2C address 9 - ti,single-shot: This chip has two power modes: single-shot (chip takes one 13 but the single-shot mode is more power-friendly and useful 14 for battery-powered device which cares power consumptions 16 If this property is present, the single-shot mode will be 19 = The node contains optional child nodes for three channels = 20 = Each child node describes the information of input source = 22 - #address-cells: Required only if a child node is present. Must be 1. 23 - #size-cells: Required only if a child node is present. Must be 0. [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/input/rmi4/ |
D | rmi_spi.txt | 10 - compatible: syna,rmi4-spi 11 - reg: Chip select address for the device 12 - #address-cells: Set to 1 to indicate that the function child nodes 14 - #size-cells: Set to 0 to indicate that the function child nodes do not 18 - interrupts: interrupt which the rmi device is connected to. 19 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - spi-rx-delay-us: microsecond delay after a read transfer. 22 - spi-tx-delay-us: microsecond delay after a write transfer. 25 Parameters specific to RMI functions are contained in child nodes of the rmi device 33 rmi4-spi-dev@0 { [all …]
|
D | rmi_i2c.txt | 10 - compatible: syna,rmi4-i2c 11 - reg: I2C address 12 - #address-cells: Set to 1 to indicate that the function child nodes 14 - #size-cells: Set to 0 to indicate that the function child nodes do not 18 - interrupts: interrupt which the rmi device is connected to. 19 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - syna,reset-delay-ms: The number of milliseconds to wait after resetting the 24 - syna,startup-delay-ms: The number of milliseconds to wait after powering on 27 - vdd-supply: VDD power supply. 30 - vio-supply: VIO power supply [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/media/ |
D | exynos4-fimc-is.txt | 1 Exynos4x12 SoC series Imaging Subsystem (FIMC-IS) 3 The FIMC-IS is a subsystem for processing image signal from an image sensor. 4 The Exynos4x12 SoC series FIMC-IS V1.5 comprises of a dedicated ARM Cortex-A5 8 fimc-is node 9 ------------ 12 - compatible : should be "samsung,exynos4212-fimc-is" for Exynos4212 and 14 - reg : physical base address and length of the registers set; 15 - interrupts : must contain two FIMC-IS interrupts, in order: ISP0, ISP1; 16 - clocks : list of clock specifiers, corresponding to entries in 17 clock-names property; [all …]
|
/Linux-v5.15/lib/ |
D | radix-tree.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <linux/radix-tree.h> 36 * The radix tree is variable-height, so an insert operation not only has 46 #define RADIX_TREE_PRELOAD_SIZE (RADIX_TREE_MAX_PATH * 2 - 1) 52 #define IDR_INDEX_BITS (8 /* CHAR_BIT */ * sizeof(int) - 1) 55 #define IDR_PRELOAD_SIZE (IDR_MAX_PATH * 2 - 1) 58 * Per-cpu pool of preloaded nodes 80 return parent ? slot - parent->slots : 0; in get_slot_offset() 86 unsigned int offset = (index >> parent->shift) & RADIX_TREE_MAP_MASK; in radix_tree_descend() 87 void __rcu **entry = rcu_dereference_raw(parent->slots[offset]); in radix_tree_descend() [all …]
|