| /openbmc/u-boot/include/dm/ |
| H A D | of_access.h | 30 struct device_node *of_find_all_nodes(struct device_node *prev); 38 static inline void of_node_put(const struct device_node *np) { } in of_node_put() 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); 90 struct property *of_find_property(const struct device_node *np, 103 const void *of_get_property(const struct device_node *np, const char *name, 136 int of_device_is_compatible(const struct device_node *np, const char *compat, 147 bool of_device_is_available(const struct device_node *np); [all …]
|
| H A D | of.h | 43 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; 107 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
|
| H A D | of_addr.h | 27 u64 of_translate_address(const struct device_node *no, const __be32 *in_addr); 42 const __be32 *of_get_address(const struct device_node *no, int index, 60 int of_address_to_resource(const struct device_node *no, int index,
|
| H A D | ofnode.h | 51 const struct device_node *np; /* will be used for future live tree */ 69 static inline const struct device_node *ofnode_to_np(ofnode node) in ofnode_to_np() 132 static inline ofnode np_to_ofnode(const struct device_node *np) in np_to_ofnode()
|
| H A D | device-internal.h | 15 struct device_node;
|
| H A D | read.h | 19 static inline const struct device_node *dev_np(struct udevice *dev) in dev_np() 24 static inline const struct device_node *dev_np(struct udevice *dev) in dev_np()
|
| /openbmc/u-boot/drivers/core/ |
| H A D | of_access.c | 35 static struct device_node *of_aliases; 38 static struct device_node *of_chosen; 41 static struct device_node *of_stdout; 61 struct device_node *np; 66 int of_n_addr_cells(const struct device_node *np) in of_n_addr_cells() 82 int of_n_size_cells(const struct device_node *np) in of_n_size_cells() 98 int of_simple_addr_cells(const struct device_node *np) in of_simple_addr_cells() 110 int of_simple_size_cells(const struct device_node *np) in of_simple_size_cells() 122 struct property *of_find_property(const struct device_node *np, in of_find_property() 143 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes() [all …]
|
| H A D | of_addr.c | 21 static struct of_bus *of_match_bus(struct device_node *np); 40 int (*match)(struct device_node *parent); 41 void (*count_cells)(const struct device_node *child, int *addrc, 48 static void of_bus_default_count_cells(const struct device_node *np, in of_bus_default_count_cells() 108 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus() 119 static void dev_count_cells(const struct device_node *np, int *nap, int *nsp) in dev_count_cells() 124 const __be32 *of_get_address(const struct device_node *dev, int index, in of_get_address() 129 struct device_node *parent; in of_get_address() 163 static int of_empty_ranges_quirk(const struct device_node *np) in of_empty_ranges_quirk() 168 static int of_translate_one(const struct device_node *parent, in of_translate_one() [all …]
|
| H A D | ofnode.c | 145 const struct device_node *np = ofnode_to_np(node); in ofnode_find_subnode() 541 const struct device_node *np = ofnode_to_np(node); in ofnode_get_addr_size() 565 const struct device_node *np = ofnode_to_np(node); in ofnode_read_u8_array_ptr() 782 (struct device_node *)ofnode_to_np(from), NULL, in ofnode_by_compatible() 795 (struct device_node *)ofnode_to_np(from), propname, in ofnode_by_prop_value() 807 const struct device_node *np = ofnode_to_np(node); in ofnode_write_prop()
|
| H A D | root.c | 219 const struct device_node *node_parent, in dm_scan_fdt_live() 222 struct device_node *np; in dm_scan_fdt_live()
|
| /openbmc/u-boot/lib/ |
| H A D | of_live.c | 42 struct device_node *dad, in unflatten_dt_node() 43 struct device_node **nodepp, in unflatten_dt_node() 47 struct device_node *np; in unflatten_dt_node() 93 np = unflatten_dt_alloc(&mem, sizeof(struct device_node) + allocl, in unflatten_dt_node() 94 __alignof__(struct device_node)); in unflatten_dt_node() 233 struct device_node *child = np->child; in unflatten_dt_node() 236 struct device_node *next = child->sibling; in unflatten_dt_node() 262 struct device_node **mynodes) in unflatten_device_tree() 317 int of_live_build(const void *fdt_blob, struct device_node **rootp) in of_live_build()
|
| /openbmc/u-boot/include/ |
| H A D | of_live.h | 12 struct device_node; 21 int of_live_build(const void *fdt_blob, struct device_node **rootp);
|
| /openbmc/u-boot/lib/efi_loader/ |
| H A D | efi_device_path_utilities.c | 98 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()
|
| H A D | efi_device_path_to_text.c | 278 struct efi_device_path *device_node, in efi_convert_device_node_to_text() argument 285 EFI_ENTRY("%p, %d, %d", device_node, display_only, allow_shortcuts); in efi_convert_device_node_to_text() 287 if (!device_node) in efi_convert_device_node_to_text() 289 efi_convert_single_device_node_to_text(str, device_node); in efi_convert_device_node_to_text()
|
| /openbmc/u-boot/include/linux/mtd/ |
| H A D | partitions.h | 54 struct device_node; 64 struct device_node *of_node;
|
| H A D | mtd.h | 336 const struct device_node *np) in mtd_set_of_node() 341 static inline const struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node() 346 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()
|
| H A D | spi-nor.h | 357 const struct device_node *np) in spi_nor_set_flash_node() 363 device_node *spi_nor_get_flash_node(struct spi_nor *nor) in spi_nor_get_flash_node()
|
| H A D | nand.h | 400 const struct device_node *np) in nanddev_set_of_node() 411 static inline const struct device_node *nanddev_get_of_node(struct nand_device *nand) in nanddev_get_of_node()
|
| H A D | spinand.h | 421 const struct device_node *np) in spinand_set_of_node()
|
| /openbmc/u-boot/include/test/ |
| H A D | test.h | 23 struct device_node *of_root;
|
| /openbmc/openbmc/meta-yadro/meta-nicole/recipes-kernel/linux/linux-aspeed/ |
| H A D | 0001-Add-NCSI-channel-selector.patch | 48 + const struct device_node *node = data; 64 + struct device_node* node = NULL;
|
| /openbmc/u-boot/include/asm-generic/ |
| H A D | global_data.h | 78 struct device_node *of_root;
|
| /openbmc/u-boot/arch/arm/mach-tegra/tegra124/ |
| H A D | xusb-padctl.c | 329 struct device_node *np = of_find_compatible_node(NULL, NULL, in tegra_xusb_padctl_init()
|
| /openbmc/u-boot/common/ |
| H A D | board_r.c | 270 ret = of_live_build(gd->fdt_blob, (struct device_node **)&gd->of_root); in initr_of_live()
|
| /openbmc/u-boot/arch/arm/mach-tegra/tegra210/ |
| H A D | xusb-padctl.c | 435 struct device_node *np = of_find_compatible_node(NULL, NULL, in tegra_xusb_padctl_init()
|