Home
last modified time | relevance | path

Searched refs:device_node (Results 1 – 25 of 35) sorted by relevance

12

/u-boot/include/dm/
A Dof_access.h30 struct device_node *of_find_all_nodes(struct device_node *prev);
49 int of_n_addr_cells(const struct device_node *np);
60 int of_n_size_cells(const struct device_node *np);
195 struct device_node *of_get_parent(const struct device_node *np);
218 struct device_node *of_find_node_opts_by_path(struct device_node *root,
239 struct device_node *of_find_compatible_node(struct device_node *from,
254 struct device_node *of_find_node_by_prop_value(struct device_node *from,
266 struct device_node *of_find_node_by_phandle(struct device_node *root,
448 struct device_node *of_parse_phandle(const struct device_node *np,
552 struct device_node *of_get_stdout(void);
[all …]
A Dof_addr.h27 u64 of_translate_address(const struct device_node *np, const __be32 *in_addr);
45 u64 of_translate_dma_address(const struct device_node *np, const __be32 *in_addr);
60 int of_get_dma_range(const struct device_node *np, phys_addr_t *cpu,
76 const __be32 *of_get_address(const struct device_node *np, int index,
94 int of_address_to_resource(const struct device_node *np, int index,
A Dof.h54 struct device_node { struct
61 struct device_node *parent; argument
62 struct device_node *child; argument
63 struct device_node *sibling; argument
91 struct device_node *np;
110 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
A Dofnode_decl.h52 struct device_node *np;
109 struct device_node *np;
A Dofnode.h137 static inline struct device_node *ofnode_to_np(ofnode node) in ofnode_to_np()
200 static inline ofnode np_to_ofnode(struct device_node *np) in np_to_ofnode()
346 static inline oftree oftree_from_np(struct device_node *root) in oftree_from_np()
A Ddevice-internal.h17 struct device_node;
A Dread.h22 static inline const struct device_node *dev_np(const struct udevice *dev) in dev_np()
27 static inline const struct device_node *dev_np(const struct udevice *dev) in dev_np()
/u-boot/drivers/core/
A Dof_access.c65 struct device_node *np;
147 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes()
149 struct device_node *np; in of_find_all_nodes()
285 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent()
297 static struct device_node *__of_get_next_child(const struct device_node *node, in __of_get_next_child()
323 static struct device_node *__of_find_node_by_path(struct device_node *parent, in __of_find_node_by_path()
346 struct device_node *of_find_node_opts_by_path(struct device_node *root, in of_find_node_opts_by_path()
407 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
432 struct device_node *of_find_node_by_prop_value(struct device_node *from, in of_find_node_by_prop_value()
448 struct device_node *of_find_node_by_phandle(struct device_node *root, in of_find_node_by_phandle()
[all …]
A Dof_addr.c23 static struct of_bus *of_match_bus(struct device_node *np);
42 int (*match)(struct device_node *parent);
43 void (*count_cells)(const struct device_node *child, int *addrc,
50 static void of_bus_default_count_cells(const struct device_node *np, in of_bus_default_count_cells()
110 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
126 struct device_node *parent; in of_get_address()
159 static int of_empty_ranges_quirk(const struct device_node *np) in of_empty_ranges_quirk()
164 static int of_translate_one(const struct device_node *parent, in of_translate_one()
243 struct device_node *parent = NULL; in __of_translate_address()
330 struct device_node *parent; in of_get_dma_range()
[all …]
A Dofnode.c453 struct device_node *np = ofnode_to_np(node); in ofnode_find_subnode()
1105 const struct device_node *np = ofnode_to_np(node); in ofnode_get_addr_size()
1129 const struct device_node *np = ofnode_to_np(node); in ofnode_read_u8_array_ptr()
1425 (struct device_node *)ofnode_to_np(from), NULL, in ofnode_by_compatible()
1439 (struct device_node *)ofnode_to_np(from), propname, in ofnode_by_prop_value()
1593 struct device_node *np, *child; in ofnode_add_subnode()
1595 np = (struct device_node *)ofnode_to_np(node); in ofnode_add_subnode()
/u-boot/include/
A Dof_live.h12 struct device_node;
21 int of_live_build(const void *fdt_blob, struct device_node **rootp);
37 int unflatten_device_tree(const void *blob, struct device_node **mynodes);
A Dmipi_dsi.h189 struct device_node *node;
/u-boot/lib/
A Dof_live.c43 struct device_node *dad, in unflatten_dt_node()
44 struct device_node **nodepp, in unflatten_dt_node()
48 struct device_node *np; in unflatten_dt_node()
94 np = unflatten_dt_alloc(&mem, sizeof(struct device_node) + allocl, in unflatten_dt_node()
95 __alignof__(struct device_node)); in unflatten_dt_node()
239 struct device_node *child = np->child; in unflatten_dt_node()
242 struct device_node *next = child->sibling; in unflatten_dt_node()
256 int unflatten_device_tree(const void *blob, struct device_node **mynodes) in unflatten_device_tree()
311 int of_live_build(const void *fdt_blob, struct device_node **rootp) in of_live_build()
/u-boot/lib/efi_loader/
A Defi_device_path_utilities.c98 const struct efi_device_path *device_node) in append_device_node() argument
100 EFI_ENTRY("%pD, %p", device_path, device_node); in append_device_node()
101 return EFI_EXIT(efi_dp_append_node(device_path, device_node)); in append_device_node()
A Defi_device_path_to_text.c383 struct efi_device_path *device_node, in efi_convert_device_node_to_text() argument
390 EFI_ENTRY("%p, %d, %d", device_node, display_only, allow_shortcuts); in efi_convert_device_node_to_text()
392 if (!device_node) in efi_convert_device_node_to_text()
394 efi_convert_single_device_node_to_text(str, device_node); in efi_convert_device_node_to_text()
/u-boot/include/linux/mtd/
A Dpartitions.h54 struct device_node;
64 struct device_node *of_node;
A Dmtd.h346 struct device_node;
349 const struct device_node *np) in mtd_set_of_node()
353 static inline const struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node()
A Dspi-nor.h604 const struct device_node *np) in spi_nor_set_flash_node()
610 device_node *spi_nor_get_flash_node(struct spi_nor *nor) in spi_nor_get_flash_node()
A Dnand.h401 const struct device_node *np) in nanddev_set_of_node()
412 static inline const struct device_node *nanddev_get_of_node(struct nand_device *nand) in nanddev_get_of_node()
A Dspinand.h424 const struct device_node *np) in spinand_set_of_node()
/u-boot/include/test/
A Dtest.h39 struct device_node *of_root;
50 struct device_node *of_other;
/u-boot/test/boot/
A Dvbe_simple.c30 struct device_node *np; in vbe_simple_test_base()
/u-boot/include/asm-generic/
A Dglobal_data.h261 struct device_node *of_root;
/u-boot/arch/arm/mach-tegra/tegra124/
A Dxusb-padctl.c332 struct device_node *np = of_find_compatible_node(NULL, NULL, in tegra_xusb_padctl_init()
/u-boot/drivers/usb/host/
A Ddwc3-octeon-glue.c78 const struct device_node *node = dev_np(dev); in dwc3_octeon_config_power()

Completed in 47 milliseconds

12