Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd-src/sys/dev/ofw/
H A Dofw_bus_subr.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2001 - 2003 by Thomas Moestl <tmm@FreeBSD.org>.
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
53 ofw_bus_gen_setup_devinfo(struct ofw_bus_devinfo *obd, phandle_t node) in ofw_bus_gen_setup_devinfo() argument
58 /* The 'name' property is considered mandatory. */ in ofw_bus_gen_setup_devinfo()
59 if ((OF_getprop_alloc(node, "nam in ofw_bus_gen_setup_devinfo()
88 ofw_bus_gen_child_pnpinfo(device_t cbdev,device_t child,struct sbuf * sb) ofw_bus_gen_child_pnpinfo() argument
106 ofw_bus_gen_get_device_path(device_t cbdev,device_t child,const char * locator,struct sbuf * sb) ofw_bus_gen_get_device_path() argument
202 ofw_bus_node_status_okay(phandle_t node) ofw_bus_node_status_okay() argument
246 ofw_bus_node_is_compatible(phandle_t node,const char * compatstr) ofw_bus_node_is_compatible() argument
267 phandle_t node; ofw_bus_is_compatible() local
319 phandle_t node; ofw_bus_has_prop() local
328 ofw_bus_setup_iinfo(phandle_t node,struct ofw_bus_iinfo * ii,int intrsz) ofw_bus_setup_iinfo() argument
353 ofw_bus_lookup_imap(phandle_t node,struct ofw_bus_iinfo * ii,void * reg,int regsz,void * pintr,int pintrsz,void * mintr,int mintrsz,phandle_t * iparent) ofw_bus_lookup_imap() argument
458 ofw_bus_msimap(phandle_t node,uint16_t pci_rid,phandle_t * msi_parent,uint32_t * msi_rid) ofw_bus_msimap() argument
509 ofw_bus_iommu_map(phandle_t node,uint16_t pci_rid,phandle_t * iommu_parent,uint32_t * iommu_rid) ofw_bus_iommu_map() argument
551 ofw_bus_reg_to_rl_helper(device_t dev,phandle_t node,pcell_t acells,pcell_t scells,struct resource_list * rl,const char * reg_source) ofw_bus_reg_to_rl_helper() argument
600 ofw_bus_reg_to_rl(device_t dev,phandle_t node,pcell_t acells,pcell_t scells,struct resource_list * rl) ofw_bus_reg_to_rl() argument
608 ofw_bus_assigned_addresses_to_rl(device_t dev,phandle_t node,pcell_t acells,pcell_t scells,struct resource_list * rl) ofw_bus_assigned_addresses_to_rl() argument
621 ofw_bus_find_iparent(phandle_t node) ofw_bus_find_iparent() argument
638 ofw_bus_intr_to_rl(device_t dev,phandle_t node,struct resource_list * rl,int * rlen) ofw_bus_intr_to_rl() argument
704 ofw_bus_intr_by_rid(device_t dev,phandle_t node,int wanted_rid,phandle_t * producer,int * ncells,pcell_t ** cells) ofw_bus_intr_by_rid() argument
779 phandle_t child; ofw_bus_find_child() local
797 ofw_bus_find_compatible(phandle_t node,const char * onecompat) ofw_bus_find_compatible() argument
799 phandle_t child, ret; ofw_bus_find_compatible() local
826 ofw_bus_find_child_device_by_phandle(device_t bus,phandle_t node) ofw_bus_find_child_device_by_phandle() argument
828 device_t *children, retval, child; ofw_bus_find_child_device_by_phandle() local
873 ofw_bus_parse_xref_list_internal(phandle_t node,const char * list_name,const char * cells_name,int idx,phandle_t * producer,int * ncells,pcell_t ** cells) ofw_bus_parse_xref_list_internal() argument
935 ofw_bus_parse_xref_list_alloc(phandle_t node,const char * list_name,const char * cells_name,int idx,phandle_t * producer,int * ncells,pcell_t ** cells) ofw_bus_parse_xref_list_alloc() argument
959 ofw_bus_parse_xref_list_get_length(phandle_t node,const char * list_name,const char * cells_name,int * count) ofw_bus_parse_xref_list_get_length() argument
971 ofw_bus_find_string_index(phandle_t node,const char * list_name,const char * name,int * idx) ofw_bus_find_string_index() argument
1001 ofw_bus_string_list_to_array(phandle_t node,const char * list_name,const char *** out_array) ofw_bus_string_list_to_array() argument
[all...]
H A Dopenfirm.c3 /*-
4 * SPDX-License-Identifier: BSD-4-Clause
26 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
35 /*-
50 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
92 phandle_t node; member
106 * xref-phandle-device lookup helper routines.
108 * As soon as we are able to use malloc(), walk the node tree and build a list
109 * of info that cross-references node handles, xref handles, and device_t
110 * instances. This list exists primarily to allow association of a device_t
[all …]
H A Dofw_cpu.c1 /*-
20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
53 device_t child);
109 phandle_t root, child; in ofw_cpulist_attach()
116 sc->sc_addr_cells = 1; in ofw_cpulist_attach()
117 OF_getencprop(root, "#address-cells", &sc->sc_addr_cells, in ofw_cpulist_attach()
118 sizeof(sc->sc_addr_cells)); in ofw_cpulist_attach()
120 for (child = OF_child(root); child ! in ofw_cpulist_attach()
108 phandle_t root, child; ofw_cpulist_attach() local
141 ofw_cpulist_get_devinfo(device_t dev,device_t child) ofw_cpulist_get_devinfo() argument
205 phandle_t node; ofw_cpu_attach() local
305 ofw_cpu_read_ivar(device_t dev,device_t child,int index,uintptr_t * result) ofw_cpu_read_ivar() argument
340 phandle_t node, child; ofw_cpu_early_foreach() local
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/pinctrl/
H A Dsamsung-pinctrl.txt3 Samsung's ARM based SoC's integrates a GPIO and Pin mux/config hardware
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.
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-sec4.txt3 Copyright (C) 2008-2011 Freescale Semiconductor Inc.
6 -Overview
7 -SEC 4 Node
8 -Job Ring Node
9 -Run Time Integrity Check (RTIC) Node
10 -Run Time Integrity Check (RTIC) Memory Node
11 -Secure Non-Volatile Storage (SNVS) Node
12 -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
13 -Full Example
29 HW interface between QM & SEC 4 and also BM & SEC 4, on DPAA-enabled parts
[all …]
H A Dfsl-sec6.txt4 -SEC 6 Node
5 -Job Ring Node
6 -Full Example
9 SEC 6 Node
13 Node defines the base address of the SEC 6 block.
16 For example, In C293, we could see three SEC 6 node.
20 - compatible
23 Definition: Must include "fsl,sec-v6.0".
25 - fsl,sec-era
28 Definition: A standard property. Define the 'ERA' of the SEC
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/
H A Dexample-schema.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 # All the top-level keys are standard json-schema keywords except for
8 # $id is a unique identifier based on the filename. There may or may not be a
10 $id: http://devicetree.org/schemas/example-schema.yaml#
11 # $schema is the meta-schema this schema should be validated with.
12 $schema: http://devicetree.org/meta-schemas/core.yaml#
17 - Rob Herring <robh@kernel.org>
20 A more detailed multi-line description of the binding.
26 begin with a tab character.
[all …]
/freebsd-src/share/man/man4/
H A Dopenfirm.41 .\"-
6 .\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
23 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34 .\"-
50 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
84 Occasionally a package handle of 0 may be used or returned instead,
87 The calls that only take and/or return the package handle of a node
88 use a pointer to a
91 The others use a pointer to a
95 .Bd -literal
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/slimbus/
H A Dbus.txt3 SLIMbus is a 2-wire bus, and is used to communicate with peripheral
4 components like audio-codec.
6 Required property for SLIMbus controller node:
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
[all …]
/freebsd-src/sys/dts/
H A Dbindings-localbus.txt9 Property: ranges
11 Value type: <prop-encoded-array> encoded as arbitrary number of localbus
14 Description: ranges property defines values used for mapping devices
18 a) child node address-cells:
19 - first cell: number of bank (chip select)
20 - second cell: (Marvell devices) Target ID for decoding
23 b) parent node address cells:
24 - address offset: used with parent's node base address to
27 c) child node size-cells:
28 - size: defines amount of memory that should be reserved for
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-mux.txt3 An i2c bus multiplexer/switch will have several child busses that are
4 numbered uniquely in a device dependent manner. The nodes for an i2c bus
5 multiplexer/switch will have one child node for each child bus.
8 - #address-cells = <1>;
9 This property is required if the i2c-mux child node does not exist.
11 - #size-cells = <0>;
12 This property is required if the i2c-mux child node does not exist.
14 - i2c-mux
15 For i2c multiplexers/switches that have child nodes that are a mixture
16 of both i2c child busses and other child nodes, the 'i2c-mux' subnode
[all …]
/freebsd-src/sys/dev/fdt/
H A Dfdt_common.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2014 The FreeBSD Foundation
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
72 fdt_get_range_by_busaddr(phandle_t node, u_long addr, u_long *base, in fdt_get_range_by_busaddr() argument
80 if (node == 0) { in fdt_get_range_by_busaddr()
86 if ((fdt_addrsize_cells(node, &addr_cells, &size_cells)) != 0) in fdt_get_range_by_busaddr()
89 * Process 'ranges' property. in fdt_get_range_by_busaddr()
91 par_addr_cells = fdt_parent_addr_cells(node); in fdt_get_range_by_busaddr()
96 len = OF_getproplen(node, "ranges"); in fdt_get_range_by_busaddr()
[all …]
H A Dfdt_slicer.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
51 fill_slices_from_node(phandle_t node, struct flash_slice *slices, int *count) in fill_slices_from_node() argument
54 phandle_t child; in fill_slices_from_node() local
60 for (child = OF_child(node); chil in fill_slices_from_node()
114 phandle_t child, node; fill_slices() local
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/reserved-memory/
H A Dreserved-memory.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/reserved-memory.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: /reserved-memory Child Node Common
10 - devicetree-spec@vger.kernel.org
13 Reserved memory is specified as a node under the /reserved-memory node. The
15 create child nodes describing particular reserved (excluded from normal use)
19 Each child of the reserved-memory node specifies one or more regions
20 of reserved memory. Each child node may either use a 'reg' property to
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/mailbox/
H A Domap-mailbox.txt5 using a queued mailbox interrupt mechanism. The IP block is external to the
7 communication is achieved through a set of registers for message storage and
10 Each mailbox IP block/cluster has a certain number of h/w fifo queues and output
12 within a processor subsystem, and there can be more than one line going to a
15 (excluding the SoCs that have a Interrupt Crossbar IP). Each interrupt line is
16 programmable through a set of interrupt configuration registers, and have a rx
22 All the current OMAP SoCs except for the newest DRA7xx SoC has a single IP
25 routed to different processor sub-systems on DRA7xx as they are routed through
26 the Crossbar, a kind of interrupt router/multiplexer. The K3 AM65x and J721E
27 SoCs has each of these instances form a cluster and combine multiple clusters
[all …]
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 …]
/freebsd-src/sys/contrib/device-tree/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 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 …]
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 …]
/freebsd-src/sys/contrib/device-tree/Bindings/media/
H A Dsamsung-fimc.txt2 ----------------------------------------------
4 The S5P/Exynos SoC Camera subsystem comprises of multiple sub-devices
6 the S5P SoCs series known as CAMIF), MIPI CSIS, FIMC-LITE and FIMC-IS (ISP).
8 The sub-subdevices are defined as child nodes of the common 'camera' node which
10 any single sub-device, like common camera port pins or the CAMCLK clock outputs
13 Common 'camera' node
14 --------------------
18 - compatible: must be "samsung,fimc", "simple-bus"
19 - clocks: list of clock specifiers, corresponding to entries in
20 the clock-names property;
[all …]
/freebsd-src/sys/powerpc/ofw/
H A Dofw_pcibus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
22 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
67 static int ofw_pcibus_child_pnpinfo_method(device_t cbdev, device_t child,
113 if (ofw_bus_get_node(dev) == -1) in ofw_pcibus_probe()
141 * OF device tree on some Grackle-based hardware can also miss in ofw_pcibus_attach()
142 * functions on multi-functio in ofw_pcibus_attach()
166 phandle_t node, child; ofw_pcibus_enum_devtree() local
288 ofw_pcibus_child_deleted(device_t dev,device_t child) ofw_pcibus_child_deleted() argument
298 ofw_pcibus_child_pnpinfo_method(device_t cbdev,device_t child,struct sbuf * sb) ofw_pcibus_child_pnpinfo_method() argument
311 ofw_pcibus_assign_interrupt(device_t dev,device_t child) ofw_pcibus_assign_interrupt() argument
314 phandle_t node, iparent; ofw_pcibus_assign_interrupt() local
383 ofw_pcibus_get_cpus(device_t dev,device_t child,enum cpu_sets op,size_t setsize,cpuset_t * cpuset) ofw_pcibus_get_cpus() argument
419 ofw_pcibus_get_domain(device_t dev,device_t child,int * domain) ofw_pcibus_get_domain() argument
[all...]
/freebsd-src/usr.bin/dtc/
H A Ddtc.11 .\"-
6 .\" Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
43 .Op Fl E Ar [no-]checker_name
52 .Op Fl W Ar [no-]checker_name
64 The binary is identical to the in-memory representation and can be used
70 This format is most commonly used to produce a kernel specific to a device,
74 .Bl -tag -width indent
76 Writes a dependency file understandable by make to the specified file.
77 This file can be included in a Makefile and will ensure that the output file
[all …]
/freebsd-src/sys/dev/gpio/
H A Dofw_gpiobus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
21 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
70 rv = ofw_bus_parse_xref_list_alloc(cnode, prop_name, "#gpio-cells", in gpio_pin_get_by_ofw_propidx()
108 gpio_pin_get_by_ofw_idx(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_idx() argument
112 return (gpio_pin_get_by_ofw_propidx(consumer, node, "gpios", idx, pin)); in gpio_pin_get_by_ofw_idx()
116 gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_property() argument
124 gpio_pin_get_by_ofw_name(device_t consumer,phandle_t node,char * name,gpio_pin_t * pin) gpio_pin_get_by_ofw_name() argument
142 ofw_gpiobus_add_fdt_child(device_t bus,const char * drvname,phandle_t child) ofw_gpiobus_add_fdt_child() argument
194 phandle_t node; ofw_gpiobus_register_provider() local
204 phandle_t node; ofw_gpiobus_unregister_provider() local
212 ofw_gpiobus_setup_devinfo(device_t bus,device_t child,phandle_t node) ofw_gpiobus_setup_devinfo() argument
423 phandle_t child; ofw_gpiobus_attach() local
449 device_t child; ofw_gpiobus_add_child() local
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/firmware/
H A Dnvidia,tegra186-bpmp.txt3 The BPMP is a specific processor in Tegra chip, which is designed for
11 - compatible
14 - "nvidia,tegra186-bpmp"
15 - mboxes : The phandle of mailbox controller and the mailbox specifier.
16 - shmem : List of the phandle of the TX and RX shared memory area that
18 - #clock-cells : Should be 1.
19 - #power-domain-cells : Should be 1.
20 - #reset-cells : Should be 1.
22 This node is a mailbox consumer. See the following files for details of
26 - .../mailbox/mailbox.txt
[all …]

12345678910>>...19