| /linux/Documentation/devicetree/bindings/pwm/ |
| H A 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/Documentation/devicetree/bindings/i2c/ |
| H A 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/Documentation/devicetree/bindings/pinctrl/ |
| H A 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/Documentation/devicetree/bindings/memory-controllers/ |
| H A 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 …]
|
| H A D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments GPMC Bus Child Nodes 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 14 This binding is meant for the child nodes of the GPMC node. The node 23 # GPMC Timing properties for child nodes. All are optional and default to 0. 24 gpmc,sync-clk-ps: [all …]
|
| /linux/lib/ |
| H A D | radix-tree.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <linux/radix-tree.h> 30 #include "radix-tree.h" 38 * The radix tree is variable-height, so an insert operation not only has 48 #define RADIX_TREE_PRELOAD_SIZE (RADIX_TREE_MAX_PATH * 2 - 1) 54 #define IDR_INDEX_BITS (8 /* CHAR_BIT */ * sizeof(int) - 1) 57 #define IDR_PRELOAD_SIZE (IDR_MAX_PATH * 2 - 1) 60 * Per-cpu pool of preloaded nodes 82 return parent ? slot - parent->slots : 0; in get_slot_offset() 88 unsigned int offset = (index >> parent->shift) & RADIX_TREE_MAP_MASK; in radix_tree_descend() [all …]
|
| H A D | bootconfig.c | 1 // SPDX-License-Identifier: GPL-2.0 25 /* embedded_bootconfig_data is defined in bootconfig-data.S */ 31 *size = embedded_bootconfig_data_end - embedded_bootconfig_data; in xbc_get_embedded_bootconfig() 38 * Extra Boot Config (XBC) is given as tree-structured ascii text of 39 * key-value pairs on memory. 42 * a child node (both key and value). A value node may have a next value 83 * xbc_get_info() - Get the information of loaded boot config 84 * @node_size: A pointer to store the number of nodes. 87 * Get the number of used nodes in @node_size if it is not NULL, 89 * Return 0 if the boot config is initialized, or return -ENODEV. [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A 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/arch/sparc/kernel/ |
| H A D | cpumap.c | 1 // SPDX-License-Identifier: GPL-2.0 37 int child_start; /* Array index of the first child node */ 38 int child_end; /* Array index of the last child node */ 39 int rover; /* Child node iterator */ 45 int num_nodes; /* Number of nodes in a level in a cpuinfo tree */ 51 /* Offsets into nodes[] for each level of the tree */ 53 struct cpuinfo_node nodes[] __counted_by(total_nodes); 86 * nodes. 114 id = -EINVAL; in cpuinfo_id() 121 * end index, and number of nodes for each level in the cpuinfo tree. The [all …]
|
| /linux/Documentation/devicetree/bindings/spmi/ |
| H A 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 …]
|
| /linux/kernel/bpf/ |
| H A D | lpm_trie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 struct lpm_trie_node __rcu *child[2]; 51 * lead to more nodes containing more specific matches. Each node also stores 58 * [0xc0, 0xa8, 0x00, 0x00] in big-endian notation. This documentation will 59 * stick to IP-address notation for readability though. 63 * child pointers are %NULL. 65 * +- 26 struct lpm_trie_node __rcu *child[2]; global() member [all...] |
| /linux/drivers/of/ |
| H A D | fdt.c | 1 // SPDX-License-Identifier: GPL-2.0 43 * of_fdt_limit_memory - limit the number of regions in the /memory node 105 pprev = &np->properties; in populate_properties() 133 * ePAPR-style "phandle" properties, or the in populate_properties() 140 if (!np->phandle) in populate_properties() 141 np->phandle = be32_to_cpup(val); in populate_properties() 149 np->phandle = be32_to_cpup(val); in populate_properties() 151 pp->name = (char *)pname; in populate_properties() 152 pp->length = sz; in populate_properties() 153 pp->value = (__be32 *)val; in populate_properties() [all …]
|
| /linux/drivers/md/bcache/ |
| H A D | btree.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * pointers are in the leaves; interior nodes only have pointers to the child 10 * nodes. 12 * In the interior nodes, a struct bkey always points to a child btree node, and 13 * the key is the highest key in the child node - except that the highest key in 15 * of the child node - this would allow us to have variable sized btree nodes 18 * Btree nodes are themselves log structured, but this is hidden fairly 19 * thoroughly. Btree nodes on disk will in practice have extents that overlap 21 * overlapping extents - when we read in a btree node from disk, the first thing 31 * Btree nodes are cached in memory; traversing the btree might require reading [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | nswalk.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: nswalk - Functions for walking the ACPI namespace 6 * Copyright (C) 2000 - 2025, Intel Corp. 21 * PARAMETERS: parent_node - Parent node whose children we are 23 * child_node - Previous child that was found. 24 * The NEXT child will be returned 26 * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if 45 return (parent_node->child); in acpi_ns_get_next_node() 50 return (child_node->peer); in acpi_ns_get_next_node() 57 * PARAMETERS: type - Type of node to be searched for [all …]
|
| /linux/fs/jffs2/ |
| H A D | build.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2001-2007 Red Hat, Inc. 5 * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> 29 for (; *i < c->inocache_hashsize; (*i)++) { in first_inode_chain() 30 if (c->inocache_list[*i]) in first_inode_chain() 31 return c->inocache_list[*i]; in first_inode_chain() 40 if (ic->next) in next_inode() 41 return ic->next; in next_inode() 58 dbg_fsbuild("building directory inode #%u\n", ic->ino); in jffs2_build_inode_pass1() 60 /* For each child, increase nlink */ in jffs2_build_inode_pass1() [all …]
|
| /linux/Documentation/devicetree/bindings/memory-controllers/fsl/ |
| H A D | fsl,imx-weim-peripherals.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,imx-weim-peripherals.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX WEIM Bus Peripheral Nodes 10 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 14 This binding is meant for the child nodes of the WEIM node. The node 23 fsl,weim-cs-timing: 24 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | dlpar.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <asm/rtas-work-area.h> 45 kfree(prop->name); in dlpar_free_cc_property() 46 kfree(prop->value); in dlpar_free_cc_property() 60 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); in dlpar_parse_cc_property() 61 prop->name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_property() 62 if (!prop->name) { in dlpar_parse_cc_property() 67 prop->length = be32_to_cpu(ccwa->prop_length); in dlpar_parse_cc_property() 68 value = (char *)ccwa + be32_to_cpu(ccwa->prop_offset); in dlpar_parse_cc_property() 69 prop->value = kmemdup(value, prop->length, GFP_KERNEL); in dlpar_parse_cc_property() [all …]
|
| /linux/drivers/pci/hotplug/ |
| H A D | pnv_php.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 #include <asm/pnv-pci.h> 20 #include <asm/ppc-pci.h> 27 ((sl)->pdev ? pci_warn((sl)->pdev, x) : dev_warn(&(sl)->bus->dev, x)) 47 struct pci_dev *pdev = php_slot->pdev; in pnv_php_disable_irq() 50 if (php_slot->irq > 0) { in pnv_php_disable_irq() 57 free_irq(php_slot->irq, php_slot); in pnv_php_disable_irq() 58 php_slot->irq = 0; in pnv_php_disable_irq() 62 if (pdev->msix_enabled) in pnv_php_disable_irq() 64 else if (pdev->msi_enabled) in pnv_php_disable_irq() [all …]
|
| /linux/tools/include/linux/ |
| H A D | rbtree_augmented.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 * Please note - only struct rb_augment_callbacks and the prototypes for 26 * See Documentation/core-api/rbtree.rst for documentation and samples. 52 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented() 61 root->rb_leftmost = node; in rb_insert_augmented_cached() 62 rb_insert_augmented(node, &root->rb_roo in rb_insert_augmented_cached() 190 struct rb_node *child = node->rb_right; __rb_erase_augmented() local [all...] |
| /linux/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A D | mpc5200.txt | 2 ---------------------------- 4 (c) 2006-2009 Secret Lab Technologies Ltd 8 ------------------ 9 For mpc5200 on-chip devices, the format for each compatible value is 10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver 21 "fsl,mpc5200-<device>". 29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>"; 34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec"; 35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec"; 39 "fsl,mpc5200-psc-i2s", not "fsl,mpc5200-i2s". This convention is chosen to [all …]
|
| /linux/include/linux/ |
| H A D | rbtree_augmented.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 20 * Please note - only struct rb_augment_callbacks and the prototypes for 24 * See Documentation/core-api/rbtree.rst for documentation and samples. 50 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented() 59 root->rb_leftmost = node; in rb_insert_augmented_cached() 60 rb_insert_augmented(node, &root->rb_root, augment); in rb_insert_augmented_cached() 68 struct rb_node **link = &tree->rb_root.rb_node; in rb_add_augmented_cached() 75 link = &parent->rb_left; in rb_add_augmented_cached() 77 link = &parent->rb_right; in rb_add_augmented_cached() 83 augment->propagate(parent, NULL); /* suboptimal */ in rb_add_augmented_cached() [all …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | ti,k3-r5f-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-r5f-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The TI K3 family of SoCs usually have one or more dual-core Arm Cortex R5F 20 AM64x SoCs do not support LockStep mode, but rather a new non-safety mode 21 called "Single-CPU" mode, where only Core0 is used, but with ability to use 27 Each Dual-Core R5F sub-system is represented as a single DTS node 28 representing the cluster, with a pair of child DT nodes representing [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | ralink,rt3883-pci.txt | 7 - compatible: must be "ralink,rt3883-pci" 9 - reg: specifies the physical base address of the controller and 12 - #address-cells: specifies the number of cells needed to encode an 15 - #size-cells: specifies the number of cells used to represent the size 18 - ranges: specifies the translation between child address space and parent 23 - status: indicates the operational status of the device. 26 2) Child nodes 28 The main node must have two child nodes which describes the built-in 35 - interrupt-controller: identifies the node as an interrupt controller 37 - #address-cells: specifies the number of cells needed to encode an [all …]
|
| /linux/kernel/sched/ |
| H A D | topology.c | 1 // SPDX-License-Identifier: GPL-2.0 46 struct sched_group *group = sd->groups; in sched_domain_debug_one() 47 unsigned long flags = sd->flags; in sched_domain_debug_one() 52 printk(KERN_DEBUG "%*s domain-%d: ", level, "", level); in sched_domain_debug_one() 54 cpumask_pr_args(sched_domain_span(sd)), sd->name); in sched_domain_debug_one() 57 printk(KERN_ERR "ERROR: domain->span does not contain CPU%d\n", cpu); in sched_domain_debug_one() 60 printk(KERN_ERR "ERROR: domain->groups does not contain CPU%d\n", cpu); in sched_domain_debug_one() 67 if ((meta_flags & SDF_SHARED_CHILD) && sd->child && in sched_domain_debug_one() 68 !(sd->child->flags & flag)) in sched_domain_debug_one() 69 printk(KERN_ERR "ERROR: flag %s set here but not in child\n", in sched_domain_debug_one() [all …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | sparsebit.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * ---- Query Operations 37 * ---- Modifying Operations 75 * At a high-level the state of the bit settings are maintained through 76 * the use of a binary-search tree, where each node contains at least 87 * node, while the mask member stores the setting of the first 32-bits. 91 * Nodes are sorted by idx and the bits described by two nodes will never 95 * Beyond a typical implementation, the nodes in this implementation also 100 * but the last two bits set, is represented by the following two nodes: 102 * node 0 - idx: 0x0 mask: 0xffffffff num_after: 0xffffffffffffffc0 [all …]
|