HomeSort by relevance Sort by last modified time
    Searched refs:phandle (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/dtc/tests/
get_phandle.c 33 uint32_t phandle; local
39 phandle = fdt_get_phandle(fdt, offset);
40 if (phandle != checkhandle)
42 path, phandle, checkhandle);
overlay_overlay_manual_fixups.dts 42 /* 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",
node_offset_by_phandle.c 31 static void check_search(void *fdt, uint32_t phandle, int target)
35 offset = fdt_node_offset_by_phandle(fdt, phandle);
39 "instead of %d", phandle, offset, target);
overlay_base_manual_symbols.dts 12 phandle = <&test>; /* Force phandle generation */
overlay_overlay.dts 40 /* Test that we add a new node (by phandle) */
65 test-phandle = <&test>, <&local>;
73 test-several-phandle = <&local>, <&local>;
overlay_overlay_no_fixups.dts 61 test-several-phandle = <&local>, <&local>;
78 test-several-phandle = <0 4>;
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Overdrive1000Board/FdtBlob/
styx-overdrive1000.dts 38 linux,phandle = <0x1>;
39 phandle = <0x1>;
45 linux,phandle = <0x4>;
46 phandle = <0x4>;
101 linux,phandle = <0x2>;
102 phandle = <0x2>;
124 linux,phandle = <0xd>;
125 phandle = <0xd>;
133 linux,phandle = <0x3>;
134 phandle = <0x3>;
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/OverdriveBoard/FdtBlob/
styx-overdrive.dts 38 linux,phandle = <0x1>;
39 phandle = <0x1>;
45 linux,phandle = <0x4>;
46 phandle = <0x4>;
101 linux,phandle = <0x2>;
102 phandle = <0x2>;
124 linux,phandle = <0xd>;
125 phandle = <0xd>;
133 linux,phandle = <0x3>;
134 phandle = <0x3>
    [all...]
  /external/u-boot/drivers/net/fm/
fdt.c 20 uint32_t phandle; local
97 phandle = fdt_create_phandle(blob, fwnode);
98 if (!phandle) {
101 printf("Could not add phandle property to node %s: %s\n", s,
117 rc = fdt_setprop_cell(blob, fmnode, "fsl,firmware-phandle",
118 phandle);
  /external/u-boot/arch/x86/cpu/broadwell/
pinctrl_broadwell.c 31 int phandle; member in struct:pin_info
56 int phandle = fdt_get_phandle(blob, node); local
58 if (!phandle)
66 conf->phandle = phandle;
87 debug("config: phandle=%d\n", phandle);
97 int conf_count, int phandle)
102 if (conf[i].phandle == phandle)
131 uint phandle = fdt32_to_cpu(prop[i * 3 + 1]); local
    [all...]
  /external/u-boot/include/dm/
of.h 14 typedef u32 phandle; typedef
36 * @phandle: Phandle value of this none, or 0 if none
46 phandle phandle; member in struct:device_node
58 * struct of_phandle_args - structure to hold phandle and arguments
60 * This is used when decoding a phandle in a device tree property. Typically
64 * phandle = <5>;
70 * Here &node is the phandle of the node 'wibble', i.e. 5. There are three
73 * So when decoding the phandle in some-prop, np will point to wibble
    [all...]
  /external/dtc/libfdt/
fdt_overlay.c 9 * overlay_get_target_phandle - retrieves the target phandle of a fragment
13 * overlay_get_target_phandle() retrieves the target phandle of an
14 * overlay fragment when that fragment uses a phandle (target
18 * the phandle pointed by the target property
19 * 0, if the phandle was not found
20 * -1, if the phandle was malformed
45 * done (through a phandle or a path)
54 uint32_t phandle; local
58 /* Try first to do a phandle based lookup */
59 phandle = overlay_get_target_phandle(fdto, fragment)
357 uint32_t phandle; local
    [all...]
fdt_ro.c 98 uint32_t phandle; local
106 phandle = fdt_get_phandle(fdt, offset);
107 if (phandle == (uint32_t)-1)
110 if (phandle > max_phandle)
111 max_phandle = phandle;
362 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
364 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
525 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
529 if ((phandle == 0) || (phandle == -1)
    [all...]
  /external/dtc/
checks.c 406 cell_t phandle; local
422 /* "Set this node's phandle equal to some
423 * other node's phandle". That's nonsensical
428 /* But setting this node's phandle equal to its own
429 * phandle is allowed - that means allocate a unique
430 * phandle for this node, even if it's not otherwise
432 * we treat it as having no phandle data for now. */
436 phandle = propval_cell(prop);
438 if ((phandle == 0) || (phandle == -1))
452 cell_t phandle, linux_phandle; local
526 cell_t phandle; local
    [all...]
livetree.c 533 struct node *get_node_by_phandle(struct node *tree, cell_t phandle)
537 assert((phandle != 0) && (phandle != -1));
539 if (tree->phandle == phandle) {
546 node = get_node_by_phandle(child, phandle);
566 static cell_t phandle = 1; /* FIXME: ick, static local */ local
568 if ((node->phandle != 0) && (node->phandle != -1))
569 return node->phandle;
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
fdt_ro.c 98 uint32_t phandle; local
106 phandle = fdt_get_phandle(fdt, offset);
107 if (phandle == (uint32_t)-1)
110 if (phandle > max_phandle)
111 max_phandle = phandle;
362 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
364 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
525 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
529 if ((phandle == 0) || (phandle == -1)
    [all...]
  /external/u-boot/lib/libfdt/
fdt_ro.c 57 uint32_t phandle; local
65 phandle = fdt_get_phandle(fdt, offset);
66 if (phandle == (uint32_t)-1)
69 if (phandle > max_phandle)
70 max_phandle = phandle;
341 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
343 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
504 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
508 if ((phandle == 0) || (phandle == -1)
    [all...]
  /external/u-boot/scripts/dtc/libfdt/
fdt_overlay.c 60 * overlay_get_target_phandle - retrieves the target phandle of a fragment
64 * overlay_get_target_phandle() retrieves the target phandle of an
65 * overlay fragment when that fragment uses a phandle (target
69 * the phandle pointed by the target property
70 * 0, if the phandle was not found
71 * -1, if the phandle was malformed
97 * done (through a phandle or a path)
106 uint32_t phandle; local
110 /* Try first to do a phandle based lookup */
111 phandle = overlay_get_target_phandle(fdto, fragment)
419 uint32_t phandle; local
    [all...]
fdt_ro.c 99 uint32_t phandle; local
107 phandle = fdt_get_phandle(fdt, offset);
108 if (phandle == (uint32_t)-1)
111 if (phandle > max_phandle)
112 max_phandle = phandle;
432 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
434 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
595 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
599 if ((phandle == 0) || (phandle == -1)
    [all...]
  /external/u-boot/drivers/pinctrl/
pinctrl-uclass.c 68 uint32_t phandle; local
91 phandle = fdt32_to_cpu(*list++);
92 ret = uclass_get_device_by_phandle_id(UCLASS_PINCONFIG, phandle,
  /external/u-boot/scripts/dtc/
checks.c 444 cell_t phandle; local
460 /* "Set this node's phandle equal to some
461 * other node's phandle". That's nonsensical
466 /* But setting this node's phandle equal to its own
467 * phandle is allowed - that means allocate a unique
468 * phandle for this node, even if it's not otherwise
470 * we treat it as having no phandle data for now. */
474 phandle = propval_cell(prop);
476 if ((phandle == 0) || (phandle == -1))
490 cell_t phandle, linux_phandle; local
564 cell_t phandle; local
1119 int phandle; local
1302 int irq_cells, phandle; local
    [all...]
livetree.c 540 struct node *get_node_by_phandle(struct node *tree, cell_t phandle)
544 if ((phandle == 0) || (phandle == -1)) {
549 if (tree->phandle == phandle) {
556 node = get_node_by_phandle(child, phandle);
576 static cell_t phandle = 1; /* FIXME: ick, static local */ local
578 if ((node->phandle != 0) && (node->phandle != -1))
579 return node->phandle;
    [all...]
  /external/u-boot/arch/arm/mach-omap2/omap5/
fdt.c 202 uint32_t phandle; local
219 phandle = fdt_get_phandle(fdt, node_offs);
220 if (!phandle) {
221 debug("Could not find phandle for clock %s\n",
227 phandle);
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/
BdsLinuxFdt.c 161 int offset, phandle = 0; local
165 phandle = MAX(phandle, fdt_get_phandle(blob, offset));
168 return phandle + 1;
400 int phandle[NUM_CORES]; local
647 phandle[Index] = fdt_alloc_phandle(fdt);
648 fdt_setprop_cell (fdt, cpu_node, "phandle", phandle[Index]);
649 fdt_setprop_cell (fdt, cpu_node, "linux,phandle", phandle[Index]);
    [all...]
  /external/u-boot/tools/dtoc/
dtb_platdata.py 27 'linux,phandle',
29 'phandle',
49 # max_args: integer: Maximum number or arguments that any phandle uses (int).
50 # args: Number of args for each phandle in the property. The total number of
205 We have no reliable way of detecting whether a node uses a phandle
211 Number of argument cells is this is a phandle, else None
222 phandle = fdt_util.fdt32_to_cpu(val[i])
223 target = self._fdt.phandle_to_node.get(phandle)
248 """Scan a node and subnodes to build a tree of node and phandle info
390 Otherwise we get a compiler error since the phandle struct is not ye
    [all...]

Completed in 1676 milliseconds

1 2 3