Home
last modified time | relevance | path

Searched refs:device_node (Results 1 – 25 of 32) 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);
70 int of_simple_addr_cells(const struct device_node *np);
80 int of_simple_size_cells(const struct device_node *np);
187 bool of_device_is_available(const struct device_node *np);
195 struct device_node *of_get_parent(const struct device_node *np);
233 struct device_node *of_find_compatible_node(struct device_node *from,
248 struct device_node *of_find_node_by_prop_value(struct device_node *from,
401 struct device_node *of_parse_phandle(const struct device_node *np,
[all …]
A Dof_addr.h27 u64 of_translate_address(const struct device_node *no, const __be32 *in_addr);
45 u64 of_translate_dma_address(const struct device_node *no, const __be32 *in_addr);
61 int of_get_dma_range(const struct device_node *dev, phys_addr_t *cpu,
77 const __be32 *of_get_address(const struct device_node *no, int index,
95 int of_address_to_resource(const struct device_node *no, int index,
A Dof.h43 struct device_node { struct
50 struct device_node *parent; argument
51 struct device_node *child; argument
52 struct device_node *sibling; argument
81 struct device_node *np;
100 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
A Dofnode.h53 const struct device_node *np;
96 static inline const struct device_node *ofnode_to_np(ofnode node) in ofnode_to_np()
159 static inline ofnode np_to_ofnode(const struct device_node *np) in np_to_ofnode()
A Ddevice-internal.h15 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()
401 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
404 struct device_node *np; in of_find_compatible_node()
426 struct device_node *of_find_node_by_prop_value(struct device_node *from, in of_find_node_by_prop_value()
430 struct device_node *np; in of_find_node_by_prop_value()
[all …]
A Dof_addr.c24 static struct of_bus *of_match_bus(struct device_node *np);
43 int (*match)(struct device_node *parent);
44 void (*count_cells)(const struct device_node *child, int *addrc,
51 static void of_bus_default_count_cells(const struct device_node *np, in of_bus_default_count_cells()
111 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
132 struct device_node *parent; in of_get_address()
166 static int of_translate_one(const struct device_node *parent, in of_translate_one()
235 static u64 __of_translate_address(const struct device_node *dev, in __of_translate_address()
238 struct device_node *parent = NULL; in __of_translate_address()
325 struct device_node *parent; in of_get_dma_range()
[all …]
A Dofnode.c196 const struct device_node *np = ofnode_to_np(node); in ofnode_find_subnode()
686 const struct device_node *np = ofnode_to_np(node); in ofnode_get_addr_size()
712 const struct device_node *np = ofnode_to_np(node); in ofnode_read_u8_array_ptr()
954 (struct device_node *)ofnode_to_np(from), NULL, in ofnode_by_compatible()
967 (struct device_node *)ofnode_to_np(from), propname, in ofnode_by_prop_value()
979 const struct device_node *np = ofnode_to_np(node); in ofnode_write_prop()
/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()
234 struct device_node *child = np->child; in unflatten_dt_node()
237 struct device_node *next = child->sibling; in unflatten_dt_node()
263 struct device_node **mynodes) in unflatten_device_tree()
318 int of_live_build(const void *fdt_blob, struct device_node **rootp) in of_live_build()
/u-boot/include/
A Dof_live.h12 struct device_node;
21 int of_live_build(const void *fdt_blob, struct device_node **rootp);
A Dmipi_dsi.h189 struct device_node *node;
/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.c344 struct efi_device_path *device_node, in efi_convert_device_node_to_text() argument
351 EFI_ENTRY("%p, %d, %d", device_node, display_only, allow_shortcuts); in efi_convert_device_node_to_text()
353 if (!device_node) in efi_convert_device_node_to_text()
355 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 Dspi-nor.h359 const struct device_node *np) in spi_nor_set_flash_node()
365 device_node *spi_nor_get_flash_node(struct spi_nor *nor) in spi_nor_get_flash_node()
A Dmtd.h345 struct device_node;
348 const struct device_node *np) in mtd_set_of_node()
352 static inline const struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_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.h26 struct device_node *of_root;
/u-boot/include/asm-generic/
A Dglobal_data.h245 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/common/
A Dboard_r.c243 (struct device_node **)gd_of_root_ptr()); in initr_of_live()
/u-boot/drivers/usb/host/
A Ddwc3-octeon-glue.c78 const struct device_node *node = dev_np(dev); in dwc3_octeon_config_power()
/u-boot/drivers/phy/
A Dphy-mtk-tphy.c257 const struct device_node *np;
631 const struct device_node *phy_np = ofnode_to_np(args->node); in mtk_phy_xlate()

Completed in 34 milliseconds

12