Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 25 of 1258) sorted by relevance

12345678910>>...51

/openbmc/linux/arch/sparc/include/asm/
H A Doplib_32.h34 extern phandle prom_root_node;
115 phandle prom_getchild(phandle parent_node);
120 phandle prom_getsibling(phandle node);
134 int prom_getint(phandle node, char *property);
140 int prom_getbool(phandle node, char *prop);
148 phandle prom_searchsiblings(phandle node_start, char *name);
156 phandle prom_finddevice(char *name);
164 phandle prom_inst2pkg(int);
172 void prom_apply_generic_ranges(phandle node, phandle parent,
179 int cpu_find_by_mid(int mid, phandle *prom_node);
[all …]
H A Doplib_64.h20 extern phandle prom_root_node;
28 extern phandle prom_chosen_node;
183 phandle prom_getchild(phandle parent_node);
188 phandle prom_getsibling(phandle node);
202 int prom_getint(phandle node, const char *property);
208 int prom_getbool(phandle node, const char *prop);
215 int prom_nodematch(phandle thisnode, const char *name);
220 phandle prom_searchsiblings(phandle node_start, const char *name);
225 char *prom_firstprop(phandle node, char *buffer);
236 phandle prom_finddevice(const char *name);
[all …]
H A Dopenprom.h32 phandle (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */
174 phandle (*no_nextnode)(phandle node);
175 phandle (*no_child)(phandle node);
176 int (*no_proplen)(phandle node, const char *name);
177 int (*no_getprop)(phandle node, const char *name, char *val);
178 int (*no_setprop)(phandle node, const char *name, char *val, int len);
179 char * (*no_nextprop)(phandle node, char *name);
/openbmc/linux/drivers/of/unittest-data/
H A Dtests-phandle.dtsi14 phandle-tests {
16 #phandle-cells = <0>;
20 #phandle-cells = <1>;
24 #phandle-cells = <2>;
28 #phandle-cells = <3>;
32 #phandle-cells = <2>;
39 phandle-map-mask = <0xff 0xf>;
44 #phandle-cells = <2>;
46 phandle-map-mask = <0xff 0xf>;
60 phandle-list-bad-phandle = <12345678 0 0>;
[all …]
/openbmc/linux/arch/sparc/prom/
H A Dtree_64.c20 static phandle prom_node_to_node(const char *type, phandle node) in prom_node_to_node()
38 inline phandle __prom_getchild(phandle node) in __prom_getchild()
43 phandle prom_getchild(phandle node) in prom_getchild()
45 phandle cnode; in prom_getchild()
56 inline phandle prom_getparent(phandle node) in prom_getparent()
58 phandle cnode; in prom_getparent()
71 inline phandle __prom_getsibling(phandle node) in __prom_getsibling()
76 phandle prom_getsibling(phandle node) in prom_getsibling()
78 phandle sibnode; in prom_getsibling()
217 phandle thisnode; in prom_searchsiblings()
[all …]
H A Dtree_32.c24 static phandle __prom_getchild(phandle node) in __prom_getchild()
27 phandle cnode; in __prom_getchild()
40 phandle prom_getchild(phandle node) in prom_getchild()
42 phandle cnode; in prom_getchild()
56 static phandle __prom_getsibling(phandle node) in __prom_getsibling()
59 phandle cnode; in __prom_getsibling()
72 phandle prom_getsibling(phandle node) in prom_getsibling()
74 phandle sibnode; in prom_getsibling()
184 phandle prom_searchsiblings(phandle node_start, char *nodename) in prom_searchsiblings()
187 phandle thisnode; in prom_searchsiblings()
[all …]
/openbmc/linux/drivers/of/
H A Dresolver.c25 phandle phandle; in live_tree_max_phandle() local
29 phandle = 0; in live_tree_max_phandle()
32 node->phandle > phandle) in live_tree_max_phandle()
33 phandle = node->phandle; in live_tree_max_phandle()
37 return phandle; in live_tree_max_phandle()
45 phandle phandle; in adjust_overlay_phandles() local
48 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles()
49 overlay->phandle += phandle_delta; in adjust_overlay_phandles()
73 struct property *prop_fixup, phandle phandle) in update_usages_of_a_phandle_reference() argument
269 phandle phandle, phandle_delta; in of_resolve_phandles() local
[all …]
H A Dpdt.c49 if (!of_pdt_prom_ops->pkg2path(dp->phandle, path, sizeof(path), &len)) { in of_pdt_build_full_name()
65 static struct property * __init of_pdt_build_one_prop(phandle node, char *prev, in of_pdt_build_one_prop()
112 static struct property * __init of_pdt_build_prop_list(phandle node) in of_pdt_build_prop_list()
130 static char * __init of_pdt_get_one_property(phandle node, const char *name) in of_pdt_get_one_property()
144 static struct device_node * __init of_pdt_create_node(phandle node, in of_pdt_create_node()
158 dp->phandle = node; in of_pdt_create_node()
170 phandle node) in of_pdt_build_tree()
200 void __init of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops) in of_pdt_build_devicetree()
209 of_pdt_prom_ops->getchild(of_root->phandle)); in of_pdt_build_devicetree()
/openbmc/linux/include/linux/
H A Dof_pdt.h18 int (*nextprop)(phandle node, char *prev, char *buf);
21 int (*getproplen)(phandle node, const char *prop);
22 int (*getproperty)(phandle node, const char *prop, char *buf,
26 phandle (*getchild)(phandle parent);
27 phandle (*getsibling)(phandle node);
30 int (*pkg2path)(phandle node, char *buf, const int buflen, int *len);
36 extern void of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops);
/openbmc/linux/arch/sparc/kernel/
H A Ddevices.c34 static int check_cpu_node(phandle nd, int *cur_inst, in check_cpu_node()
35 int (*compare)(phandle, int, void *), void *compare_arg, in check_cpu_node() argument
36 phandle *prom_node, int *mid) in check_cpu_node()
54 static int __cpu_find_by(int (*compare)(phandle, int, void *), in __cpu_find_by() argument
55 void *compare_arg, phandle *prom_node, int *mid) in __cpu_find_by()
62 int err = check_cpu_node(dp->phandle, &cur_inst, in __cpu_find_by()
83 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance()
89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare()
101 int cpu_find_by_mid(int mid, phandle *prom_node) in cpu_find_by_mid()
111 int cpu_get_hwmid(phandle prom_node) in cpu_get_hwmid()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dintel,ixp4xx-hss.yaml27 $ref: /schemas/types.yaml#/definitions/phandle-array
36 $ref: /schemas/types.yaml#/definitions/phandle-array
41 description: phandle to the RX trigger queue on the NPE
44 $ref: /schemas/types.yaml#/definitions/phandle-array
49 description: phandle to the TX ready queue on the NPE
52 $ref: /schemas/types.yaml#/definitions/phandle-array
57 description: phandle to the packet RX queue on the NPE
60 $ref: /schemas/types.yaml#/definitions/phandle-array
64 - description: phandle to the TX queue on the NPE
69 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
H A Dintel,ixp4xx-ethernet.yaml31 $ref: /schemas/types.yaml#/definitions/phandle-array
34 - description: phandle to the RX queue node
36 description: phandle to the RX queue on the NPE
39 $ref: /schemas/types.yaml#/definitions/phandle-array
42 - description: phandle to the TX READY queue node
44 description: phandle to the TX READY queue on the NPE
51 $ref: /schemas/types.yaml#/definitions/phandle-array
54 - description: phandle to the NPE this ethernet instance is using
56 description: phandle to the NPE this ethernet instance is using
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dtas571x.txt23 - clocks: clock phandle for the MCLK input
25 - AVDD-supply: regulator phandle for the AVDD supply (all chips)
26 - DVDD-supply: regulator phandle for the DVDD supply (all chips)
27 - HPVDD-supply: regulator phandle for the HPVDD supply (5717/5719)
28 - PVDD_AB-supply: regulator phandle for the PVDD_AB supply (5717/5719)
30 - PVDD_A-supply: regulator phandle for the PVDD_A supply (5711)
31 - PVDD_B-supply: regulator phandle for the PVDD_B supply (5711)
32 - PVDD_C-supply: regulator phandle for the PVDD_C supply (5711)
33 - PVDD_D-supply: regulator phandle for the PVDD_D supply (5711)
34 - DRVDD-supply: regulator phandle for the DRVDD supply (5721)
[all …]
H A Dmt8195-mt6359.yaml27 $ref: /schemas/types.yaml#/definitions/phandle
28 description: The phandle of MT8195 ASoC platform.
31 $ref: /schemas/types.yaml#/definitions/phandle
32 description: The phandle of MT8195 Display Port Tx codec node.
35 $ref: /schemas/types.yaml#/definitions/phandle
36 description: The phandle of MT8195 HDMI codec node.
39 $ref: /schemas/types.yaml#/definitions/phandle
40 description: The phandle of MT8195 ADSP platform.
H A Dmt8186-mt6366-da7219-max98357.yaml21 $ref: /schemas/types.yaml#/definitions/phandle
22 description: The phandle of MT8186 ASoC platform.
39 - description: phandle of dp codec
40 - description: phandle of l channel speaker codec
41 - description: phandle of r channel speaker codec
47 $ref: /schemas/types.yaml#/definitions/phandle
48 description: The phandle of MT8186 ADSP platform.
/openbmc/linux/arch/x86/platform/olpc/
H A Dolpc_dt.c22 static phandle __init olpc_dt_getsibling(phandle node) in olpc_dt_getsibling()
36 static phandle __init olpc_dt_getchild(phandle node) in olpc_dt_getchild()
52 static int __init olpc_dt_getproplen(phandle node, const char *prop) in olpc_dt_getproplen()
69 static int __init olpc_dt_getproperty(phandle node, const char *prop, in olpc_dt_getproperty()
90 static int __init olpc_dt_nextprop(phandle node, char *prev, char *buf) in olpc_dt_nextprop()
107 static int __init olpc_dt_pkg2path(phandle node, char *buf, in olpc_dt_pkg2path()
166 static phandle __init olpc_dt_finddevice(const char *path) in olpc_dt_finddevice()
168 phandle node; in olpc_dt_finddevice()
203 phandle node; in olpc_dt_get_board_revision()
239 phandle node; in olpc_dt_fixup()
[all …]
/openbmc/u-boot/tools/dtoc/
H A Ddtoc_test_phandle.dts11 phandle: phandle-target { label
31 phandle-source {
34 clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
37 phandle-source2 {
40 clocks = <&phandle>;
H A Ddtoc_test_phandle_bad2.dts11 phandle: phandle-target { label
17 phandle-source2 {
20 clocks = <&phandle>;
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dsamsung,exynos5250-sata-phy.yaml31 samsung,syscon-phandle:
32 $ref: /schemas/types.yaml#/definitions/phandle
36 samsung,exynos-sataphy-i2c-phandle:
37 $ref: /schemas/types.yaml#/definitions/phandle
47 - samsung,syscon-phandle
48 - samsung,exynos-sataphy-i2c-phandle
62 samsung,syscon-phandle = <&pmu_system_controller>;
63 samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
H A Dsamsung,usb2-phy.yaml15 The first phandle argument in the PHY specifier identifies the PHY, its
53 samsung,pmureg-phandle:
54 $ref: /schemas/types.yaml#/definitions/phandle
58 samsung,sysreg-phandle:
59 $ref: /schemas/types.yaml#/definitions/phandle
73 - samsung,pmureg-phandle
86 - samsung,sysreg-phandle
100 samsung,sysreg-phandle = <&sysreg_system_controller>;
101 samsung,pmureg-phandle = <&pmu_system_controller>;
/openbmc/linux/Documentation/devicetree/bindings/crypto/
H A Dintel,ixp4xx-crypto.yaml24 $ref: /schemas/types.yaml#/definitions/phandle-array
27 - description: phandle to the NPE this crypto engine
29 description: phandle to the NPE this crypto engine is using, the cell
33 $ref: /schemas/types.yaml#/definitions/phandle-array
36 - description: phandle to the RX queue on the NPE
38 description: phandle to the RX queue on the NPE, the cell describing
42 $ref: /schemas/types.yaml#/definitions/phandle-array
45 - description: phandle to the TX READY queue on the NPE
47 description: phandle to the TX READY queue on the NPE, the cell describing
/openbmc/qemu/hw/arm/
H A Dxlnx-versal-virt.c45 } phandle; member
66 s->phandle.gic = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
73 s->phandle.usb = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
74 s->phandle.dwc = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
174 s->phandle.clk_25Mhz, s->phandle.clk_125Mhz); in fdt_add_usb_xhci_nodes()
220 s->phandle.clk_125Mhz, s->phandle.clk_125Mhz); in fdt_add_uart_nodes()
258 s->phandle.clk_25Mhz, s->phandle.clk_25Mhz); in fdt_add_canfd_nodes()
302 s->phandle.clk_25Mhz, s->phandle.clk_25Mhz, in fdt_add_gem_nodes()
303 s->phandle.clk_125Mhz, s->phandle.clk_125Mhz); in fdt_add_gem_nodes()
335 s->phandle.clk_25Mhz, s->phandle.clk_25Mhz); in fdt_add_zdma_nodes()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/phy/
H A Dsun4i-usb-phy.txt24 - clocks : phandle + clock specifier for the phy clocks
31 - resets : a list of phandle + reset specifier pairs
39 - usb0_id_det-gpios : gpio phandle for reading the otg id pin value
40 - usb0_vbus_det-gpios : gpio phandle for detecting the presence of usb0 vbus
41 - usb0_vbus_power-supply: power-supply phandle for usb0 vbus presence detect
42 - usb0_vbus-supply : regulator phandle for controller usb0 vbus
43 - usb1_vbus-supply : regulator phandle for controller usb1 vbus
44 - usb2_vbus-supply : regulator phandle for controller usb2 vbus
45 - usb3_vbus-supply : regulator phandle for controller usb3 vbus
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dpinctrl_broadwell.c32 int phandle; member
57 int phandle = fdt_get_phandle(blob, node); in broadwell_pinctrl_read_configs() local
59 if (!phandle) in broadwell_pinctrl_read_configs()
67 conf->phandle = phandle; in broadwell_pinctrl_read_configs()
88 debug("config: phandle=%d\n", phandle); in broadwell_pinctrl_read_configs()
98 int conf_count, int phandle) in broadwell_pinctrl_lookup_phandle() argument
103 if (conf[i].phandle == phandle) in broadwell_pinctrl_lookup_phandle()
132 uint phandle = fdt32_to_cpu(prop[i * 3 + 1]); in broadwell_pinctrl_read_pins() local
141 phandle); in broadwell_pinctrl_read_pins()
144 phandle); in broadwell_pinctrl_read_pins()
/openbmc/linux/Documentation/devicetree/bindings/media/cec/
H A Dsamsung,s5p-cec.yaml30 samsung,syscon-phandle:
31 $ref: /schemas/types.yaml#/definitions/phandle
42 - hdmi-phandle
44 - samsung,syscon-phandle
61 hdmi-phandle = <&hdmi>;
65 samsung,syscon-phandle = <&pmu_system_controller>;

12345678910>>...51