Home
last modified time | relevance | path

Searched +full:a +full:- +full:child +full:- +full:node +full:- +full:property (Results 1 – 25 of 273) sorted by relevance

1234567891011

/linux/drivers/base/
H A Dproperty.c1 // SPDX-License-Identifier: GPL-2.0
3 * property.c - Unified device property interface.
15 #include <linux/property.h>
23 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in __dev_fwnode()
24 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode()
30 return IS_ENABLED(CONFIG_OF) && dev->of_node ? in __dev_fwnode_const()
31 of_fwnode_handle(dev->of_node) : dev->fwnode; in __dev_fwnode_const()
36 * device_property_present - check if a property of a device is present
37 * @dev: Device whose property is being checked
38 * @propname: Name of the property
[all …]
/linux/scripts/dtc/
H A Dlivetree.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 if (streq(new->label, label)) { in add_label()
20 new->deleted = 0; in add_label()
26 new->label = label; in add_label()
27 new->next = *labels; in add_label()
36 label->delete in delete_labels()
92 struct node *child; build_node() local
119 name_node(struct node * node,const char * name) name_node() argument
128 omit_node_if_unused(struct node * node) omit_node_if_unused() argument
135 reference_node(struct node * node) reference_node() argument
231 struct node *node; add_orphan_node() local
267 add_property(struct node * node,struct property * prop) add_property() argument
280 delete_property_by_name(struct node * node,char * name) delete_property_by_name() argument
299 add_child(struct node * parent,struct node * child) add_child() argument
315 struct node *node = parent->children; delete_node_by_name() local
326 delete_node(struct node * node) delete_node() argument
329 struct node *child; delete_node() local
339 append_to_property(struct node * node,char * name,const void * data,int len,enum markertype type) append_to_property() argument
417 get_unitname(struct node * node) get_unitname() argument
425 get_property(struct node * node,const char * propname) get_property() argument
449 get_property_by_label(struct node * tree,const char * label,struct node ** node) get_property_by_label() argument
475 get_marker_label(struct node * tree,const char * label,struct node ** node,struct property ** prop) get_marker_label() argument
502 get_subnode(struct node * node,const char * nodename) get_subnode() argument
504 struct node *child; get_subnode() local
516 struct node *child; get_node_by_path() local
541 struct node *child, *node; get_node_by_label() local
561 struct node *child, *node; get_node_by_phandle() local
620 add_phandle_property(struct node * node,const char * name,int format) add_phandle_property() argument
636 get_node_phandle(struct node * root,struct node * node) get_node_phandle() argument
683 const struct reserve_info *a, *b; cmp_reserve_info() local
732 const struct property *a, *b; cmp_prop() local
740 sort_properties(struct node * node) sort_properties() argument
768 const struct node *a, *b; cmp_subnode() local
776 sort_subnodes(struct node * node) sort_subnodes() argument
802 sort_node(struct node * node) sort_node() argument
821 struct node *node; build_and_name_child_node() local
844 any_label_tree(struct dt_info * dti,struct node * node) any_label_tree() argument
859 generate_label_tree_internal(struct dt_info * dti,struct node * an,struct node * node,bool allocph) generate_label_tree_internal() argument
899 any_fixup_tree(struct dt_info * dti,struct node * node) any_fixup_tree() argument
922 add_fixup_entry(struct dt_info * dti,struct node * fn,struct node * node,struct property * prop,struct marker * m) add_fixup_entry() argument
949 generate_fixups_tree_internal(struct dt_info * dti,struct node * fn,struct node * node) generate_fixups_tree_internal() argument
970 any_local_fixup_tree(struct dt_info * dti,struct node * node) any_local_fixup_tree() argument
993 add_local_fixup_entry(struct dt_info * dti,struct node * lfn,struct node * node,struct property * prop,struct marker * m,struct node * refnode) add_local_fixup_entry() argument
1030 generate_local_fixups_tree_internal(struct dt_info * dti,struct node * lfn,struct node * node) generate_local_fixups_tree_internal() argument
[all...]
H A Dchecks.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 fprintf(stderr, "=== %s: ", (c)->name); \
29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
62 struct node *node, in check_msg() argument
120 FAIL(c,dti,node,...) global() argument
127 FAIL_PROP(c,dti,node,prop,...) global() argument
135 check_nodes_props(struct check * c,struct dt_info * dti,struct node * node) check_nodes_props() argument
137 struct node *child; check_nodes_props() local
201 check_always_fail(struct check * c,struct dt_info * dti,struct node * node) check_always_fail() argument
208 check_is_string(struct check * c,struct dt_info * dti,struct node * node) check_is_string() argument
226 check_is_string_list(struct check * c,struct dt_info * dti,struct node * node) check_is_string_list() argument
255 check_is_cell(struct check * c,struct dt_info * dti,struct node * node) check_is_cell() argument
277 check_duplicate_node_names(struct check * c,struct dt_info * dti,struct node * node) check_duplicate_node_names() argument
279 struct node *child, *child2; check_duplicate_node_names() local
291 check_duplicate_property_names(struct check * c,struct dt_info * dti,struct node * node) check_duplicate_property_names() argument
314 check_node_name_chars(struct check * c,struct dt_info * dti,struct node * node) check_node_name_chars() argument
325 check_node_name_chars_strict(struct check * c,struct dt_info * dti,struct node * node) check_node_name_chars_strict() argument
336 check_node_name_format(struct check * c,struct dt_info * dti,struct node * node) check_node_name_format() argument
345 check_node_name_vs_property_name(struct check * c,struct dt_info * dti,struct node * node) check_node_name_vs_property_name() argument
358 check_unit_address_vs_reg(struct check * c,struct dt_info * dti,struct node * node) check_unit_address_vs_reg() argument
385 check_property_name_chars(struct check * c,struct dt_info * dti,struct node * node) check_property_name_chars() argument
401 check_property_name_chars_strict(struct check * c,struct dt_info * dti,struct node * node) check_property_name_chars_strict() argument
432 DESCLABEL_ARGS(node,prop,mark) global() argument
439 check_duplicate_label(struct check * c,struct dt_info * dti,const char * label,struct node * node,struct property * prop,struct marker * mark) check_duplicate_label() argument
466 check_duplicate_label_node(struct check * c,struct dt_info * dti,struct node * node) check_duplicate_label_node() argument
487 check_phandle_prop(struct check * c,struct dt_info * dti,struct node * node,const char * propname) check_phandle_prop() argument
534 check_explicit_phandles(struct check * c,struct dt_info * dti,struct node * node) check_explicit_phandles() argument
570 check_name_properties(struct check * c,struct dt_info * dti,struct node * node) check_name_properties() argument
604 fixup_phandle_references(struct check * c,struct dt_info * dti,struct node * node) fixup_phandle_references() argument
639 fixup_path_references(struct check * c,struct dt_info * dti,struct node * node) fixup_path_references() argument
670 fixup_omit_unused_nodes(struct check * c,struct dt_info * dti,struct node * node) fixup_omit_unused_nodes() argument
693 check_names_is_string_list(struct check * c,struct dt_info * dti,struct node * node) check_names_is_string_list() argument
708 check_alias_paths(struct check * c,struct dt_info * dti,struct node * node) check_alias_paths() argument
733 fixup_addr_size_cells(struct check * c,struct dt_info * dti,struct node * node) fixup_addr_size_cells() argument
757 check_reg_format(struct check * c,struct dt_info * dti,struct node * node) check_reg_format() argument
786 check_ranges_format(struct check * c,struct dt_info * dti,struct node * node) check_ranges_format() argument
833 check_pci_bridge(struct check * c,struct dt_info * dti,struct node * node) check_pci_bridge() argument
874 check_pci_device_bus_num(struct check * c,struct dt_info * dti,struct node * node) check_pci_device_bus_num() argument
904 check_pci_device_reg(struct check * c,struct dt_info * dti,struct node * node) check_pci_device_reg() argument
951 node_is_compatible(struct node * node,const char * compat) node_is_compatible() argument
968 check_simple_bus_bridge(struct check * c,struct dt_info * dti,struct node * node) check_simple_bus_bridge() argument
976 check_simple_bus_reg(struct check * c,struct dt_info * dti,struct node * node) check_simple_bus_reg() argument
1019 check_i2c_bus_bridge(struct check * c,struct dt_info * dti,struct node * node) check_i2c_bus_bridge() argument
1025 struct node *child; check_i2c_bus_bridge() local
1048 check_i2c_bus_reg(struct check * c,struct dt_info * dti,struct node * node) check_i2c_bus_reg() argument
1097 check_spi_bus_bridge(struct check * c,struct dt_info * dti,struct node * node) check_spi_bus_bridge() argument
1105 struct node *child; check_spi_bus_bridge() local
1138 check_spi_bus_reg(struct check * c,struct dt_info * dti,struct node * node) check_spi_bus_reg() argument
1170 check_unit_address_format(struct check * c,struct dt_info * dti,struct node * node) check_unit_address_format() argument
1195 check_avoid_default_addr_size(struct check * c,struct dt_info * dti,struct node * node) check_avoid_default_addr_size() argument
1218 check_avoid_unnecessary_addr_size(struct check * c,struct dt_info * dti,struct node * node) check_avoid_unnecessary_addr_size() argument
1221 struct node *child; check_avoid_unnecessary_addr_size() local
1241 node_is_disabled(struct node * node) node_is_disabled() argument
1257 check_unique_unit_address_common(struct check * c,struct dt_info * dti,struct node * node,bool disable_check) check_unique_unit_address_common() argument
1293 check_unique_unit_address(struct check * c,struct dt_info * dti,struct node * node) check_unique_unit_address() argument
1300 check_unique_unit_address_if_enabled(struct check * c,struct dt_info * dti,struct node * node) check_unique_unit_address_if_enabled() argument
1309 check_obsolete_chosen_interrupt_controller(struct check * c,struct dt_info * dti,struct node * node) check_obsolete_chosen_interrupt_controller() argument
1332 check_chosen_node_is_root(struct check * c,struct dt_info * dti,struct node * node) check_chosen_node_is_root() argument
1343 check_chosen_node_bootargs(struct check * c,struct dt_info * dti,struct node * node) check_chosen_node_bootargs() argument
1360 check_chosen_node_stdout_path(struct check * c,struct dt_info * dti,struct node * node) check_chosen_node_stdout_path() argument
1388 check_property_phandle_args(struct check * c,struct dt_info * dti,struct node * node,struct property * prop,const struct provider * provider) check_property_phandle_args() argument
1468 check_provider_cells_property(struct check * c,struct dt_info * dti,struct node * node) check_provider_cells_property() argument
1518 check_gpios_property(struct check * c,struct dt_info * dti,struct node * node) check_gpios_property() argument
1543 check_deprecated_gpio_property(struct check * c,struct dt_info * dti,struct node * node) check_deprecated_gpio_property() argument
1561 node_is_interrupt_provider(struct node * node) node_is_interrupt_provider() argument
1578 check_interrupt_provider(struct check * c,struct dt_info * dti,struct node * node) check_interrupt_provider() argument
1600 check_interrupt_map(struct check * c,struct dt_info * dti,struct node * node) check_interrupt_map() argument
1688 check_interrupts_property(struct check * c,struct dt_info * dti,struct node * node) check_interrupts_property() argument
1765 check_graph_nodes(struct check * c,struct dt_info * dti,struct node * node) check_graph_nodes() argument
1767 struct node *child; check_graph_nodes() local
1793 check_graph_reg(struct check * c,struct dt_info * dti,struct node * node) check_graph_reg() argument
1824 check_graph_port(struct check * c,struct dt_info * dti,struct node * node) check_graph_port() argument
1844 struct node *node; get_remote_endpoint() local
1864 check_graph_endpoint(struct check * c,struct dt_info * dti,struct node * node) check_graph_endpoint() argument
1891 check_graph_child_address(struct check * c,struct dt_info * dti,struct node * node) check_graph_child_address() argument
1894 struct node *child; check_graph_child_address() local
[all...]
/linux/drivers/of/
H A Dof_reserved_mem.c1 // SPDX-License-Identifier: GPL-2.0+
28 #include <linux/dma-map-ops.h>
48 return -ENOMEM; in early_init_dt_alloc_reserved_memory_arch()
64 * alloc_reserved_mem_array() - allocate memory for the reserved_mem
81 pr_err("Failed to allocate memory for reserved_mem array with err: %d", -EOVERFLOW); in alloc_reserved_mem_array()
87 pr_err("Failed to allocate memory for reserved_mem array with err: %d", -ENOMEM); in alloc_reserved_mem_array()
95 pr_err("Failed to allocate memory for reserved_mem array with err: %d", -EOVERFLOW); in alloc_reserved_mem_array()
99 memset_size = alloc_size - copy_size; in alloc_reserved_mem_array()
109 * fdt_reserved_mem_save_node() - save fdt node for second pass initialization
111 static void __init fdt_reserved_mem_save_node(unsigned long node, const char *uname, in fdt_reserved_mem_save_node() argument
[all …]
H A Dunittest.c1 // SPDX-License-Identifier: GPL-2.0
6 #define pr_fmt(fmt) "### dt-test ### " fmt
10 #include <linux/dma-direct.h> /* to test phys_to_dma/dma_to_phys */
29 #include <linux/i2c-mux.h>
54 #define OF_KREF_READ(NODE) kref_read(&(NODE)->kobj.kref) argument
56 #define OF_KREF_READ(NODE) 1 argument
60 * Expected message may have a message level other than KERN_INFO.
85 np = of_find_node_by_path("/testcase-data"); in of_unittest_find_node_by_name()
87 unittest(np && name && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name()
88 "find /testcase-data failed\n"); in of_unittest_find_node_by_name()
[all …]
H A Ddynamic.c1 // SPDX-License-Identifier: GPL-2.0
28 * of_node_get() - Increment refcount of a node
29 * @node: Node to inc refcount, NULL is supported to simplify writing of
32 * Return: The node with refcount incremented.
34 struct device_node *of_node_get(struct device_node *node) in of_node_get() argument
36 if (node) in of_node_get()
37 kobject_get(&node->kobj); in of_node_get()
38 return node; in of_node_get()
43 * of_node_put() - Decrement refcount of a node
44 * @node: Node to dec refcount, NULL is supported to simplify writing of
[all …]
H A Dfdt.c1 // SPDX-License-Identifier: GPL-2.0
43 * of_fdt_limit_memory - limit the number of regions in the /memory node
47 * memory entries in the /memory node. This function may be called
69 bool of_fdt_device_is_available(const void *blob, unsigned long node) in of_fdt_device_is_available() argument
71 const char *status = fdt_getprop(blob, node, "status", NULL); in of_fdt_device_is_available()
101 struct property *pp, **pprev = NULL; in populate_properties()
105 pprev = &np->properties; in populate_properties()
115 pr_warn("Cannot locate property at 0x%x\n", cur); in populate_properties()
120 pr_warn("Cannot find property name at 0x%x\n", cur); in populate_properties()
127 pp = unflatten_dt_alloc(mem, sizeof(struct property), in populate_properties()
[all …]
/linux/include/linux/
H A Dproperty.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * property.h - Unified device property interface.
85 if (fwnode_property_present(fwnode, "big-endian")) in fwnode_device_is_big_endian()
88 fwnode_property_present(fwnode, "native-endian")) in fwnode_device_is_big_endian()
100 * device_is_big_endian - chec
167 fwnode_for_each_child_node(fwnode,child) global() argument
171 fwnode_for_each_named_child_node(fwnode,child,name) global() argument
175 fwnode_for_each_available_child_node(fwnode,child) global() argument
182 device_for_each_child_node(dev,child) global() argument
186 device_for_each_named_child_node(dev,child,name) global() argument
190 device_for_each_child_node_scoped(dev,child) global() argument
195 device_for_each_named_child_node_scoped(dev,child,name) global() argument
353 const struct software_node *node; global() member
520 fwnode_graph_for_each_endpoint(fwnode,child) global() argument
[all...]
H A Dfwnode.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * fwnode.h - Firmware device node object handle type definition.
5 * This header file provides low-level data types and definitions for firmware
6 * and device property providers. The respective API header files supplied by
35 * NOT_DEVICE: The fwnode will never be populated as a struct device.
38 * driver needs its child devices to be bound with
66 * CYCLE: The fwnode link is part of a cycle. Don't defer probe.
81 * struct fwnode_endpoint - Fwnode graph endpoint
93 * ports and endpoints defined as software_nodes should all follow a common
102 * struct fwnode_reference_args - Fwnode reference with additional arguments
[all …]
/linux/drivers/usb/core/
H A Dof.c1 // SPDX-License-Identifier: GPL-2.0
15 * usb_of_get_device_node() - get a USB device node
17 * @port1: one-based index of port
19 * Look up the node of a USB device given its parent hub device and one-based
22 * Return: A pointer to the node with incremented refcount if found, or
27 struct device_node *node; in usb_of_get_device_node() local
30 for_each_child_of_node(hub->dev.of_node, node) { in usb_of_get_device_node()
31 if (of_property_read_u32(node, "reg", &reg)) in usb_of_get_device_node()
35 return node; in usb_of_get_device_node()
43 * usb_of_has_combined_node() - determine whether a device has a combined node
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dpamu.txt5 The PAMU is an I/O MMU that provides device-to-memory access control and
10 - compatible : <string>
11 First entry is a version-specific string, such as
12 "fsl,pamu-v1.0". The second is "fsl,pamu".
13 - ranges : <prop-encoded-array>
14 A standard property. Utilized to describe the memory mapped
20 - interrupts : <prop-encoded-array>
25 - #address-cells: <u32>
26 A standard property.
27 - #size-cells : <u32>
[all …]
H A Draideng.txt3 RAID Engine nodes are defined to describe on-chip RAID accelerators. Each RAID
4 Engine should have a separate node.
11 - compatible: Should contain "fsl,raideng-v1.0" as the value
15 - reg: offset and length of the register set for the device
16 - ranges: standard ranges property specifying the translation
17 between child address space and parent address space
22 compatible = "fsl,raideng-v1.0";
23 #address-cells = <1>;
24 #size-cells = <1>;
30 There must be a sub-node for each job queue present in RAID Engine
[all …]
H A Dmpc5200.txt2 ----------------------------
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
15 The split between the MPC5200 and the MPC5200B leaves a bit of a
16 conundrum. How should the compatible property be set up to provide
21 "fsl,mpc5200-<device>".
24 silicon bugs and it adds a small number of enhancements. Most of the
25 devices either provide exactly the same interface as on the 5200. A few
[all …]
H A Dsrio.txt3 RapidIO port node:
5 - compatible
11 Optionally, a compatible string of "fsl,srio-vX.Y" where X is Major
15 - reg
17 Value type: <prop-encoded-array>
18 Definition: A standard property. Specifies the physical address and
22 - interrupts
24 Value type: <prop_encoded-array>
26 value of the interrupts property consists of one interrupt
28 binding document describing the node's interrupt parent.
[all …]
/linux/Documentation/devicetree/bindings/mailbox/
H A Dti,omap-mailbox.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mailbox/ti,omap-mailbox.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Suman Anna <s-anna@ti.com>
14 processors using a queued mailbox interrupt mechanism. The IP block is
16 interconnect bus. The communication is achieved through a set of registers
19 Each mailbox IP block/cluster has a certain number of h/w fifo queues and
21 controller within a processor subsystem, and there can be more than one line
22 going to a specific processor's interrupt controller. The interrupt line
[all …]
/linux/arch/m68k/include/asm/
H A Doplib.h1 /* SPDX-License-Identifier: GPL-2.0 */
31 /* Root node of the prom device tree, this stays constant after
37 * and usage utility functions. Only prom-lib should use these,
55 * virtual address you pass is a request and the prom may put your mappings
67 * of the string is different on V0 vs. V2->higher proms. The caller must
72 /* Close a previously opened device described by the passed integer
77 /* Do a seek operation on the device described by the passed integer
85 /* This function returns a V0 format memory descriptor table, it has three
88 * areas which are allocated by the prom. So, in a sense the physical
89 * available is a calculation of the total physical minus the physical mapped
[all …]
/linux/arch/powerpc/kernel/
H A Dpci_of_scan.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <asm/pci-bridge.h>
20 * get_int_prop - Decode a u32 from a device tree property
34 * pci_parse_of_flags - Parse the flags cell of a device tree PCI address
35 * @addr0: value of 1st cell of a device tree PCI address.
36 * @bridge: Set this flag if the address is from a bridge 'ranges' property
38 * PCI Bus Binding to IEEE Std 1275-1994
49 * t is 1 if the address is aliased (for non-relocatable I/O),
54 * 10 denotes 32-bit-address Memory Space
55 * 11 denotes 64-bit-address Memory Space
[all …]
/linux/arch/sparc/include/asm/
H A Doplib_32.h1 /* SPDX-License-Identifier: GPL-2.0 */
31 /* Root node of the prom device tree, this stays constant after
37 * and usage utility functions. Only prom-lib should use these,
65 /* Enter the prom, with no chance of continuation for the stand-alone
74 * XXX The arguments are different on V0 vs. V2->higher proms, grrr! XXX
79 /* Acquire the IDPROM of the root node in the prom device tree. This
80 * gets passed a buffer where you would like it stuffed. The return value
94 /* Write a buffer of characters to the console. */
103 /* Start the CPU with the given device tree node, context table, and context
114 /* Get the child node of the given node, or zero if no child exists. */
[all …]
H A Doplib_64.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 /* Root node of the prom device tree, this stays constant after
25 /* /chosen node of the prom device tree, this stays constant after
85 /* Enter the prom, with no chance of continuation for the stand-alone
90 /* Halt and power-off the machine. */
93 /* Acquire the IDPROM of the root node in the prom device tree. This
94 * gets passed a buffer where you would like it stuffed. The return value
99 /* Write a buffer of characters to the console. */
108 /* Start the CPU with the given device tree node at the passed program
127 /* Resume the CPU with the passed device tree node. */
[all …]
/linux/Documentation/devicetree/bindings/dma/xilinx/
H A Dxilinx_dma.txt11 Xilinx AXI CDMA engine, it does transfers between memory-mapped source
12 address and a memory-mapped destination address.
19 - compatible: Should be one of-
20 "xlnx,axi-vdma-1.00.a"
21 "xlnx,axi-dma-1.00.a"
22 "xlnx,axi-cdma-1.00.a"
23 "xlnx,axi-mcdma-1.00.a"
24 - #dma-cells: Should be <1>, see "dmas" property below
25 - reg: Should contain VDMA registers location and length.
26 - xlnx,addrwidth: Should be the vdma addressing size in bits(ex: 32 bits).
[all …]
/linux/Documentation/devicetree/bindings/powerpc/
H A Dibm,powerpc-cpu-features.txt3 (skiboot/doc/device-tree/ibm,powerpc-cpu-features/binding.txt)
9 ibm,powerpc-cpu-features binding
19 /cpus/ibm,powerpc-cpu-features node binding
20 -------------------------------------------
22 Node: ibm,powerpc-cpu-features
26 The node name must be "ibm,powerpc-cpu-features".
28 It is implemented as a child of the node "/cpus", but this must not be
31 The node is optional but should be provided by new OPAL firmware.
35 - compatible
38 Definition: "ibm,powerpc-cpu-features"
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dphy-miphy365x.txt4 This binding describes a miphy device that is used to control PHY hardware
7 Required properties (controller (parent) node):
8 - compatible : Should be "st,miphy365x-phy"
9 - st,syscfg : Phandle / integer array property. Phandle of sysconfig group
11 an entry for each port sub-node, specifying the control
14 Required nodes : A sub-node is required for each channel the controller
16 'reg' and 'reg-names' properties are used inside these
20 Required properties (port (child) node):
21 - #phy-cells : Should be 1 (See second example)
23 - PHY_TYPE_SATA
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dsamsung,pinctrl-pins-cfg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl-pins-cfg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3C/S5P/Exynos SoC pin controller - pins configuration
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
12 - Tomasz Figa <tomasz.figa@gmail.com>
15 This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
21 manual and these values are programmed as-is into the pin pull up/down and
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Ddlpar.c1 // SPDX-License-Identifier: GPL-2.0-only
25 #include <asm/rtas-work-area.h>
43 void dlpar_free_cc_property(struct property *prop) in dlpar_free_cc_property()
45 kfree(prop->name); in dlpar_free_cc_property()
46 kfree(prop->value); in dlpar_free_cc_property()
50 static struct property *dlpar_parse_cc_property(struct cc_workarea *ccwa) in dlpar_parse_cc_property()
52 struct property *prop; in dlpar_parse_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()
[all …]
/linux/drivers/net/mdio/
H A Dmdio-mux-mmioreg.c1 // SPDX-License-Identifier: GPL-2.0
3 * Simple memory-mapped device MDIO MUX driver
11 #include <linux/mdio-mux.h>
28 * This function is called by the mdio-mux layer when it thinks the mdio bus
32 * s->mask).
34 * 'desired_child' is the value of the 'reg' property of the target child MDIO
35 * node.
37 * The first time this function is called, current_child == -1.
48 void __iomem *p = ioremap(s->phys, s->iosize); in mdio_mux_mmioreg_switch_fn()
50 return -ENOMEM; in mdio_mux_mmioreg_switch_fn()
[all …]

1234567891011