Home
last modified time | relevance | path

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

12345

/external/dtc/tests/
Dreferences.dts8 linux,phandle = <0x2000>;
13 phandle = <0x1>;
26 /* Explicit phandle with implicit value */
28 * a phandle (perhaps for reference by nodes that will be dynamically
29 * added) without explicitly allocating it a phandle.
33 linux,phandle = <&n5>;
34 phandle = <&n5>;
Dmultilabel_merge.dts10 linux,phandle = <0x2000>;
15 phandle = <0x1>;
29 /* Explicit phandle with implicit value */
31 * a phandle (perhaps for reference by nodes that will be dynamically
32 * added) without explicitly allocating it a phandle.
36 linux,phandle = <&n5>;
37 phandle = <&nz>;
53 p2: py: phandle = <0x1>;
Dmultilabel.dts12 linux,phandle = <0x2000>;
17 p2: py: phandle = <0x1>;
31 /* Explicit phandle with implicit value */
33 * a phandle (perhaps for reference by nodes that will be dynamically
34 * added) without explicitly allocating it a phandle.
38 linux,phandle = <&n5>;
39 phandle = <&nz>;
Doverlay_overlay_manual_fixups.dts42 /* Test that we add a new node (by phandle) */
67 test-phandle = <0xffffffff /*&test*/>, <&local>;
75 test-several-phandle = <&local>, <&local>;
92 test-phandle = <4>;
97 test-several-phandle = <0 4>;
108 "/fragment@6/__overlay__:test-phandle:0",
Dget_phandle.c33 uint32_t phandle; in check_phandle() local
39 phandle = fdt_get_phandle(fdt, offset); in check_phandle()
40 if (phandle != checkhandle) in check_phandle()
42 path, phandle, checkhandle); in check_phandle()
Dnode_offset_by_phandle.c31 static void check_search(void *fdt, uint32_t phandle, int target) in check_search() argument
35 offset = fdt_node_offset_by_phandle(fdt, phandle); in check_search()
39 "instead of %d", phandle, offset, target); in check_search()
Doverlay_overlay.dts40 /* Test that we add a new node (by phandle) */
65 test-phandle = <&test>, <&local>;
73 test-several-phandle = <&local>, <&local>;
/external/u-boot/arch/x86/cpu/broadwell/
Dpinctrl_broadwell.c31 int phandle; member
56 int phandle = fdt_get_phandle(blob, node); in broadwell_pinctrl_read_configs() local
58 if (!phandle) in broadwell_pinctrl_read_configs()
66 conf->phandle = phandle; in broadwell_pinctrl_read_configs()
87 debug("config: phandle=%d\n", phandle); in broadwell_pinctrl_read_configs()
97 int conf_count, int phandle) in broadwell_pinctrl_lookup_phandle() argument
102 if (conf[i].phandle == phandle) in broadwell_pinctrl_lookup_phandle()
131 uint phandle = fdt32_to_cpu(prop[i * 3 + 1]); in broadwell_pinctrl_read_pins() local
140 phandle); in broadwell_pinctrl_read_pins()
143 phandle); in broadwell_pinctrl_read_pins()
/external/u-boot/doc/device-tree-bindings/phy/
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
/external/u-boot/tools/dtoc/
Ddtoc_test_phandle.dts11 phandle: phandle-target { label
31 phandle-source {
34 clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>;
/external/u-boot/scripts/dtc/
Dchecks.c444 cell_t phandle; in check_phandle_prop() local
474 phandle = propval_cell(prop); in check_phandle_prop()
476 if ((phandle == 0) || (phandle == -1)) { in check_phandle_prop()
478 phandle, prop->name); in check_phandle_prop()
482 return phandle; in check_phandle_prop()
490 cell_t phandle, linux_phandle; in check_explicit_phandles() local
493 assert(!node->phandle); in check_explicit_phandles()
495 phandle = check_phandle_prop(c, dti, node, "phandle"); in check_explicit_phandles()
499 if (!phandle && !linux_phandle) in check_explicit_phandles()
503 if (linux_phandle && phandle && (phandle != linux_phandle)) in check_explicit_phandles()
[all …]
Dlivetree.c540 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() argument
544 if ((phandle == 0) || (phandle == -1)) { in get_node_by_phandle()
549 if (tree->phandle == phandle) { in get_node_by_phandle()
556 node = get_node_by_phandle(child, phandle); in get_node_by_phandle()
576 static cell_t phandle = 1; /* FIXME: ick, static local */ in get_node_phandle() local
578 if ((node->phandle != 0) && (node->phandle != -1)) in get_node_phandle()
579 return node->phandle; in get_node_phandle()
581 while (get_node_by_phandle(root, phandle)) in get_node_phandle()
582 phandle++; in get_node_phandle()
584 node->phandle = phandle; in get_node_phandle()
[all …]
/external/u-boot/Documentation/devicetree/bindings/phy/
Dphy-stm32-usbphyc.txt25 - clocks: phandle + clock specifier for the PLL phy clock
30 - assigned-clocks: phandle + clock specifier for the PLL phy clock
32 - resets: phandle + reset specifier
41 - phy-supply: phandle to the regulator providing 3V3 power to the PHY,
43 - vdda1v1-supply: phandle to the regulator providing 1V1 power to the PHY
44 - vdda1v8-supply: phandle to the regulator providing 1V8 power to the PHY
/external/dtc/libfdt/
Dfdt_overlay.c54 uint32_t phandle; in overlay_get_target() local
59 phandle = overlay_get_target_phandle(fdto, fragment); in overlay_get_target()
60 if (phandle == (uint32_t)-1) in overlay_get_target()
63 if (phandle) in overlay_get_target()
64 return fdt_node_offset_by_phandle(fdt, phandle); in overlay_get_target()
357 uint32_t phandle; in overlay_fixup_one_phandle() local
374 phandle = fdt_get_phandle(fdt, symbol_off); in overlay_fixup_one_phandle()
375 if (!phandle) in overlay_fixup_one_phandle()
384 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
Dfdt_ro.c98 uint32_t phandle; in fdt_get_max_phandle() local
106 phandle = fdt_get_phandle(fdt, offset); in fdt_get_max_phandle()
107 if (phandle == (uint32_t)-1) in fdt_get_max_phandle()
110 if (phandle > max_phandle) in fdt_get_max_phandle()
111 max_phandle = phandle; in fdt_get_max_phandle()
525 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
529 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle()
543 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
/external/dtc/
Dchecks.c406 cell_t phandle; in check_phandle_prop() local
436 phandle = propval_cell(prop); in check_phandle_prop()
438 if ((phandle == 0) || (phandle == -1)) { in check_phandle_prop()
440 node->fullpath, phandle, prop->name); in check_phandle_prop()
444 return phandle; in check_phandle_prop()
452 cell_t phandle, linux_phandle; in check_explicit_phandles() local
455 assert(!node->phandle); in check_explicit_phandles()
457 phandle = check_phandle_prop(c, dti, node, "phandle"); in check_explicit_phandles()
461 if (!phandle && !linux_phandle) in check_explicit_phandles()
465 if (linux_phandle && phandle && (phandle != linux_phandle)) in check_explicit_phandles()
[all …]
Dlivetree.c533 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() argument
537 assert((phandle != 0) && (phandle != -1)); in get_node_by_phandle()
539 if (tree->phandle == phandle) { in get_node_by_phandle()
546 node = get_node_by_phandle(child, phandle); in get_node_by_phandle()
566 static cell_t phandle = 1; /* FIXME: ick, static local */ in get_node_phandle() local
568 if ((node->phandle != 0) && (node->phandle != -1)) in get_node_phandle()
569 return node->phandle; in get_node_phandle()
571 while (get_node_by_phandle(root, phandle)) in get_node_phandle()
572 phandle++; in get_node_phandle()
574 node->phandle = phandle; in get_node_phandle()
[all …]
/external/u-boot/drivers/net/fm/
Dfdt.c20 uint32_t phandle; in fdt_fixup_fman_firmware() local
97 phandle = fdt_create_phandle(blob, fwnode); in fdt_fixup_fman_firmware()
98 if (!phandle) { in fdt_fixup_fman_firmware()
118 phandle); in fdt_fixup_fman_firmware()
/external/u-boot/scripts/dtc/libfdt/
Dfdt_overlay.c106 uint32_t phandle; in overlay_get_target() local
111 phandle = overlay_get_target_phandle(fdto, fragment); in overlay_get_target()
112 if (phandle == (uint32_t)-1) in overlay_get_target()
116 if (!phandle) { in overlay_get_target()
124 ret = fdt_node_offset_by_phandle(fdt, phandle); in overlay_get_target()
419 uint32_t phandle; in overlay_fixup_one_phandle() local
436 phandle = fdt_get_phandle(fdt, symbol_off); in overlay_fixup_one_phandle()
437 if (!phandle) in overlay_fixup_one_phandle()
446 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
Dfdt_ro.c99 uint32_t phandle; in fdt_get_max_phandle() local
107 phandle = fdt_get_phandle(fdt, offset); in fdt_get_max_phandle()
108 if (phandle == (uint32_t)-1) in fdt_get_max_phandle()
111 if (phandle > max_phandle) in fdt_get_max_phandle()
112 max_phandle = phandle; in fdt_get_max_phandle()
595 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
599 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle()
613 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
/external/u-boot/include/dm/
Dof.h14 typedef u32 phandle; typedef
46 phandle phandle; member
/external/u-boot/lib/libfdt/
Dfdt_ro.c57 uint32_t phandle; in fdt_get_max_phandle() local
65 phandle = fdt_get_phandle(fdt, offset); in fdt_get_max_phandle()
66 if (phandle == (uint32_t)-1) in fdt_get_max_phandle()
69 if (phandle > max_phandle) in fdt_get_max_phandle()
70 max_phandle = phandle; in fdt_get_max_phandle()
504 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
508 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle()
522 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
/external/u-boot/doc/device-tree-bindings/adc/
Dadc.txt6 - use regulator phandle to enable/read supply's Voltage
16 - vdd-supply: phandle to Vdd regulator's node
17 - vss-supply: phandle to Vss regulator's node
31 Example of supply phandle usage, for the ADC's VDD/VSS references as below:
/external/dtc/Documentation/
Ddt-object-internal.txt123 The basic unit of addressing in Device Tree is the phandle. Turns out it's
126 to phandle values. This is a valid assumption as long as the author uses
127 reference syntax and does not assign phandle values manually (which might
145 phandle = <0x00000001>;
150 phandle = <0x00000002>;
217 Note that the target's ocp label is undefined, so the phandle
220 the label lookup should store the runtime phandle value of the ocp node.
232 phandle value is located.
275 phandle = <0x00000001>;
307 the run time loader must apply an offset to each phandle in every dynamic
[all …]
/external/u-boot/test/overlay/
Dtest-fdt-overlay.dts38 /* Test that we add a new node (by phandle) */
74 test-phandle = <&test>, <&local>;
82 test-several-phandle = <&local>, <&local>;

12345