HomeSort by relevance Sort by last modified time
    Searched refs:fdt (Results 101 - 125 of 256) sorted by null

1 2 3 45 6 7 8 91011

  /external/e2fsprogs/util/
libecho.c 41 struct _finddata_t fdt; local
63 ff = _findfirst(f, &fdt);
70 printf("%s%s%s\n", prefix, filepath, fdt.name);
73 if (_findnext(ff, &fdt) < 0)
75 printf("%s%s%s\n", prefix, filepath, fdt.name);
  /external/u-boot/board/freescale/qemu-ppce500/
qemu-ppce500.c 50 void *fdt = get_fdt_virt(); local
57 * To be able to read the FDT we need to create a temporary TLB
61 node = fdt_path_offset(fdt, "/soc");
62 naddr = fdt_address_cells(fdt, node);
63 prop = fdt_getprop(fdt, node, "ranges", &size);
64 r = fdt_translate_address(fdt, node, prop + naddr);
80 static int pci_map_region(void *fdt, int pci_node, int range_id,
89 r = fdt_read_range(fdt, pci_node, range_id, NULL, &addr, &size);
123 void *fdt = get_fdt_virt(); local
135 pci_node = fdt_node_offset_by_prop_value(fdt, pci_node
199 void *fdt = get_fdt_virt(); local
223 void *fdt = get_fdt_virt(); local
306 void *fdt = get_fdt_virt(); local
339 void *fdt = get_fdt_virt(); local
    [all...]
  /external/u-boot/doc/uImage.FIT/
multi-with-loadables.its 2 * U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
27 fdt-1 {
39 fdt-2 {
72 fdt = "fdt-1";
78 fdt = "fdt-1";
85 fdt = "fdt-1";
86 loadables = "linux_kernel", "fdt-2"
    [all...]
kernel_fdt.its 2 * Simple U-Boot uImage source file containing a single kernel and FDT blob
8 description = "Simple image with single Linux kernel and FDT blob";
28 fdt-1 {
46 description = "Boot Linux kernel with FDT blob";
48 fdt = "fdt-1";
multi-with-fpga.its 2 * U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
13 fdt-1 {
57 fdt = "fdt-1";
63 fdt = "fdt-1";
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/
BdsLinuxFdt.c 33 // Additional size that could be used for FDT entries added by the UEFI OS Loader
194 IN VOID *fdt,
201 node = fdt_subnode_offset (fdt, 0, "smb");
203 subnode = fdt_subnode_offset (fdt, node, device);
205 rc = fdt_setprop_string(fdt, subnode, "status", enable ? "ok" : "disabled");
218 IN VOID *fdt,
225 node = fdt_subnode_offset (fdt, 0, "smb");
227 subnode = fdt_subnode_offset (fdt, node, device);
229 rc = fdt_setprop(fdt, subnode, "mac-address", (void *)&mac_addr, 6);
241 IN VOID *fdt
371 VOID *fdt; local
    [all...]
  /external/u-boot/include/linux/
libfdt.h 40 /* Indicates what an fdt part is (node, property, value) */
82 const void *fdt; /* FDT blob */ member in struct:fdt_region_state
101 * function to verify that critical parts of the FDT have not changed.
127 * @fdt: Device tree to check
143 int fdt_find_regions(const void *fdt, char * const inc[], int inc_count,
160 * loaders, which want to use an FDT but do not need to know about all of
170 * function to verify that critical parts of the FDT have not changed.
222 * The FDT also has a mem_rsvmap table which can also be included, and is
226 * contents of the FDT are changing (shrinking, often), the caller will nee
    [all...]
  /external/dtc/tests/
value-labels.c 61 static void check_prop_labels(void *sohandle, void *fdt, const char *name,
69 prop = fdt_get_property(fdt, 0, name, &len);
100 void *fdt; local
111 fdt = dlsym(sohandle, "dt_blob_start");
112 if (!fdt)
116 err = fdt_check_header(fdt);
122 check_prop_labels(sohandle, fdt, "prop1", labels1, ARRAY_SIZE(labels1));
123 check_prop_labels(sohandle, fdt, "prop2", labels2, ARRAY_SIZE(labels2));
124 check_prop_labels(sohandle, fdt, "prop3", labels3, ARRAY_SIZE(labels3));
char_literal.c 33 void *fdt; local
43 fdt = load_blob_arg(argc, argv);
45 check_getprop(fdt, 0, "char-literal-cells",
tests.h 96 void check_mem_rsv(void *fdt, int n, uint64_t addr, uint64_t size);
98 void check_property(void *fdt, int nodeoffset, const char *name,
100 #define check_property_cell(fdt, nodeoffset, name, val) \
103 check_property(fdt, nodeoffset, name, sizeof(x), &x); \
107 const void *check_getprop(void *fdt, int nodeoffset, const char *name,
109 #define check_getprop_cell(fdt, nodeoffset, name, val) \
112 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \
114 #define check_getprop_64(fdt, nodeoffset, name, val) \
117 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \
119 #define check_getprop_string(fdt, nodeoffset, name, s)
    [all...]
truncated_property.c 33 void *fdt = &_truncated_property; local
39 prop = fdt_getprop(fdt, 0, "truncated", &len);
move_and_save.c 34 void *fdt, *fdt1, *fdt2, *fdt3; local
43 fdt = load_blob_arg(argc, argv);
46 shuntsize = ALIGN(fdt_totalsize(fdt) / 2, sizeof(uint64_t));
47 bufsize = fdt_totalsize(fdt) + shuntsize;
51 err = fdt_move(fdt, fdt1, bufsize);
  /external/u-boot/lib/libfdt/
fdt_region.c 11 #include <fdt.h>
30 int fdt_find_regions(const void *fdt, char * const inc[], int inc_count,
43 int base = fdt_off_dt_struct(fdt);
57 tag = fdt_next_tag(fdt, offset, &nextoffset);
64 prop = fdt_get_property_by_offset(fdt, offset, NULL);
65 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff));
79 name = fdt_get_name(fdt, offset, &len);
131 if (nextoffset != fdt_size_dt_struct(fdt))
139 region[count].size += fdt_size_dt_strings(fdt);
179 const void *fdt, int target
    [all...]
  /external/u-boot/board/theobroma-systems/lion_rk3368/
fit_spl_atf.its 35 fdt {
49 fdt = "fdt";
  /external/u-boot/drivers/usb/common/
common.c 25 const void *fdt = gd->fdt_blob; local
29 dr_mode = fdt_getprop(fdt, node, "dr_mode", NULL);
53 const void *fdt = gd->fdt_blob; local
57 max_speed = fdt_getprop(fdt, node, "maximum-speed", NULL);
  /external/u-boot/drivers/qe/
Makefile 7 obj-$(CONFIG_OF_LIBFDT) += fdt.o
  /external/u-boot/scripts/dtc/libfdt/
fdt_overlay.c 54 #include <fdt.h>
90 * @fdt: Base device tree blob
103 static int overlay_get_target(const void *fdt, const void *fdto,
120 ret = fdt_path_offset(fdt, path);
124 ret = fdt_node_offset_by_phandle(fdt, phandle);
149 * @fdt: Base device tree blob
161 static int overlay_phandle_add_offset(void *fdt, int node,
168 val = fdt_getprop(fdt, node, name, &len);
183 return fdt_setprop_inplace_u32(fdt, node, name, adj_val);
391 * @fdt: Base Device Tree blo
    [all...]
  /external/u-boot/board/freescale/common/
fman.c 31 * Returns 0 on success, or a negative FDT error code on error.
33 int fdt_set_phy_handle(void *fdt, char *compat, phys_addr_t addr,
41 path = fdt_get_alias(fdt, alias);
46 offset = fdt_path_offset(fdt, path);
50 ph = fdt_create_phandle(fdt, offset);
56 offset = fdt_node_offset_by_compat_reg(fdt, compat, addr);
60 return fdt_setprop(fdt, offset, "phy-handle", &ph, sizeof(ph));
  /external/u-boot/lib/
fdtdec_test.c 15 /* The size of our test fdt blob */
66 * Make a test fdt
68 * @param fdt Device tree pointer
77 static int make_fdt(void *fdt, int size, const char *aliases,
84 CHECK(fdt_create(fdt, size));
85 CHECK(fdt_finish_reservemap(fdt));
86 CHECK(fdt_begin_node(fdt, ""));
88 CHECK(fdt_begin_node(fdt, "aliases"));
92 CHECK(fdt_property_string(fdt, name, value));
95 CHECK(fdt_end_node(fdt));
    [all...]
  /external/dtc/libfdt/
fdt_overlay.c 3 #include <fdt.h>
39 * @fdt: Base device tree blob
51 static int overlay_get_target(const void *fdt, const void *fdto,
64 return fdt_node_offset_by_phandle(fdt, phandle);
82 return fdt_path_offset(fdt, path);
87 * @fdt: Base device tree blob
99 static int overlay_phandle_add_offset(void *fdt, int node,
106 val = fdt_getprop(fdt, node, name, &len);
121 return fdt_setprop_inplace_u32(fdt, node, name, adj_val);
329 * @fdt: Base Device Tree blo
    [all...]
  /external/u-boot/common/
fdt_support.c 23 * @fdt: ptr to device tree
32 u32 fdt_getprop_u32_default_node(const void *fdt, int off, int cell,
38 val = fdt_getprop(fdt, off, prop, &len);
54 * @fdt: ptr to device tree
62 u32 fdt_getprop_u32_default(const void *fdt, const char *path,
67 off = fdt_path_offset(fdt, path);
71 return fdt_getprop_u32_default_node(fdt, off, 0, prop, dflt);
77 * @fdt: ptr to device tree
86 int fdt_find_and_setprop(void *fdt, const char *node, const char *prop,
89 int nodeoff = fdt_path_offset(fdt, node)
    [all...]
  /external/dtc/pylibfdt/
libfdt.i 154 class Fdt:
157 The Fdt object is created is created from a device tree binary file,
160 fdt = Fdt(open("filename.dtb").read())
163 method xxx(args...) corresponds to a libfdt function fdt_xxx(fdt, args...).
370 %include "libfdt/fdt.h"
375 %typemap(in) (const void *)(const void *fdt) {
381 fdt = $1;
382 fdt = fdt; /* avoid unused variable warning *
    [all...]
  /external/u-boot/scripts/dtc/pylibfdt/
libfdt.i_shipped 111 class Fdt:
114 The Fdt object is created is created from a device tree binary file,
117 fdt = Fdt(open("filename.dtb").read())
120 method xxx(args...) corresponds to a libfdt function fdt_xxx(fdt, args...).
385 %include "libfdt/fdt.h"
390 %typemap(in) (const void *)(const void *fdt) {
396 fdt = $1;
397 fdt = fdt; /* avoid unused variable warning *
    [all...]
  /external/u-boot/board/freescale/ls1043aqds/
eth.c 156 void board_ft_fman_fixup_port(void *fdt, char *compat, phys_addr_t addr,
163 fdt_set_phy_handle(fdt, compat, addr,
166 fdt_set_phy_handle(fdt, compat, addr,
169 fdt_set_phy_handle(fdt, compat, addr,
172 fdt_set_phy_handle(fdt, compat, addr,
184 fdt_delprop(fdt, offset, "phy-handle");
185 fdt_setprop(fdt, offset, "fixed-link", &f_link, sizeof(f_link));
186 fdt_setprop_string(fdt, offset, "phy-connection-type",
193 fdt_set_phy_handle(fdt, compat, addr,
197 fdt_set_phy_handle(fdt, compat, addr
    [all...]
  /external/u-boot/arch/arm/cpu/armv7/
virt-dt.c 57 int psci_update_dt(void *fdt)
65 fdt_add_mem_rsv(fdt, (unsigned long)__secure_start,
69 return fdt_psci(fdt);

Completed in 1058 milliseconds

1 2 3 45 6 7 8 91011