/Linux-v6.1/include/linux/ |
D | bootconfig.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 #define BOOTCONFIG_ALIGN_MASK (BOOTCONFIG_ALIGN - 1) 30 * xbc_calc_checksum() - Calculate checksum of bootconfig 43 while (size--) in xbc_calc_checksum() 52 uint16_t child; member 59 /* Maximum size of boot config is 32KB - 1 */ 60 #define XBC_DATA_MAX (XBC_VALUE - 1) 75 * xbc_node_is_value() - Test the node is a value node 82 return node->data & XBC_VALUE; in xbc_node_is_value() 86 * xbc_node_is_key() - Test the node is a key node [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Rafał Miłecki <rafal@milecki.pl> 14 Pin controller devices should contain the pin configuration nodes that client 17 The contents of each of those pin configuration child nodes is defined 22 The pin configuration nodes need not be direct children of the pin controller 24 whether there is any interaction between the child and intermediate parent 25 nodes, is again defined entirely by the binding for the individual pin [all …]
|
/Linux-v6.1/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-v6.1/Documentation/devicetree/ |
D | of_unittest.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 (1) Documentation/devicetree/usage-model.rst 45 from 'scripts/dtc/of_unittest_expect --help'. 48 3. Test-data 51 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 56 drivers/of/unittest-data/tests-interrupts.dtsi 57 drivers/of/unittest-data/tests-platform.dtsi 58 drivers/of/unittest-data/tests-phandle.dtsi 59 drivers/of/unittest-data/tests-match.dtsi 81 ------------------------- [all …]
|
/Linux-v6.1/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-v6.1/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 …]
|
D | fdt.c | 1 // SPDX-License-Identifier: GPL-2.0 37 * of_fdt_limit_memory - limit the number of regions in the /memory node 61 "#address-cells", NULL); in of_fdt_limit_memory() 66 "#size-cells", NULL); in of_fdt_limit_memory() 120 pprev = &np->properties; in populate_properties() 148 * ePAPR-style "phandle" properties, or the in populate_properties() 155 if (!np->phandle) in populate_properties() 156 np->phandle = be32_to_cpup(val); in populate_properties() 164 np->phandle = be32_to_cpup(val); in populate_properties() 166 pp->name = (char *)pname; in populate_properties() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/pci/hotplug/ |
D | pnv_php.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include <asm/pnv-pci.h> 16 #include <asm/ppc-pci.h> 23 ((sl)->pdev ? pci_warn((sl)->pdev, x) : dev_warn(&(sl)->bus->dev, x)) 41 struct pci_dev *pdev = php_slot->pdev; in pnv_php_disable_irq() 42 int irq = php_slot->irq; in pnv_php_disable_irq() 45 if (php_slot->irq > 0) { in pnv_php_disable_irq() 52 free_irq(php_slot->irq, php_slot); in pnv_php_disable_irq() 53 php_slot->irq = 0; in pnv_php_disable_irq() 56 if (php_slot->wq) { in pnv_php_disable_irq() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
D | video-interfaces.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/video-interfaces.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sakari Ailus <sakari.ailus@linux.intel.com> 11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 18 SoC internal blocks are described by DT nodes, placed similarly to other SoC 19 blocks. External devices are represented as child nodes of their respective 20 bus controller nodes, e.g. I2C. 22 Data interfaces on all video devices are described by their child 'port' nodes. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/spmi/ |
D | spmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephen Boyd <sboyd@kernel.org> 13 The System Power Management (SPMI) controller is a 2-wire bus defined 20 Each SPMI controller has zero or more child nodes (up to 16 ones), each 27 "#address-cells": 30 "#size-cells": 34 "@[0-9a-f]$": 35 description: up to 16 child PMIC nodes [all …]
|