Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/include/dm/
H A Dof_access.h31 struct device_node *of_find_all_nodes(struct device_node *prev);
39 static inline void of_node_put(const struct device_node *np) { } in of_node_put()
50 int of_n_addr_cells(const struct device_node *np);
61 int of_n_size_cells(const struct device_node *np);
71 int of_simple_addr_cells(const struct device_node *np);
81 int of_simple_size_cells(const struct device_node *np);
91 struct property *of_find_property(const struct device_node *np,
104 const void *of_get_property(const struct device_node *np, const char *name,
116 const struct property *of_get_first_property(const struct device_node *np);
128 const struct property *of_get_next_property(const struct device_node *np,
[all …]
H A Dof.h44 struct device_node { struct
51 struct device_node *parent; argument
52 struct device_node *child; argument
53 struct device_node *sibling; argument
82 struct device_node *np;
108 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
H A Dof_addr.h28 u64 of_translate_address(const struct device_node *no, const __be32 *in_addr);
43 const __be32 *of_get_address(const struct device_node *no, int index,
61 int of_address_to_resource(const struct device_node *no, int index,
H A Dofnode.h52 const struct device_node *np; /* will be used for future live tree */
95 static inline const struct device_node *ofnode_to_np(ofnode node) in ofnode_to_np()
158 static inline ofnode np_to_ofnode(const struct device_node *np) in np_to_ofnode()
H A Ddevice-internal.h16 struct device_node;
H A Dread.h20 static inline const struct device_node *dev_np(struct udevice *dev) in dev_np()
25 static inline const struct device_node *dev_np(struct udevice *dev) in dev_np()
/rk3399_rockchip-uboot/drivers/core/
H A Dof_access.c36 static struct device_node *of_aliases;
39 static struct device_node *of_chosen;
42 static struct device_node *of_stdout;
62 struct device_node *np;
67 int of_n_addr_cells(const struct device_node *np) in of_n_addr_cells()
83 int of_n_size_cells(const struct device_node *np) in of_n_size_cells()
99 int of_simple_addr_cells(const struct device_node *np) in of_simple_addr_cells()
111 int of_simple_size_cells(const struct device_node *np) in of_simple_size_cells()
123 struct property *of_find_property(const struct device_node *np, in of_find_property()
144 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes()
[all …]
H A Dof_addr.c22 static struct of_bus *of_match_bus(struct device_node *np);
41 int (*match)(struct device_node *parent);
42 void (*count_cells)(const struct device_node *child, int *addrc,
49 static void of_bus_default_count_cells(const struct device_node *np, in of_bus_default_count_cells()
109 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
120 static void dev_count_cells(const struct device_node *np, int *nap, int *nsp) in dev_count_cells()
125 const __be32 *of_get_address(const struct device_node *dev, int index, in of_get_address()
130 struct device_node *parent; in of_get_address()
164 static int of_empty_ranges_quirk(const struct device_node *np) in of_empty_ranges_quirk()
169 static int of_translate_one(const struct device_node *parent, in of_translate_one()
[all …]
H A Droot.c219 const struct device_node *node_parent, in dm_scan_fdt_live()
222 struct device_node *np; in dm_scan_fdt_live()
H A Dofnode.c129 const struct device_node *np = ofnode_to_np(node); in ofnode_find_subnode()
578 const struct device_node *np = ofnode_to_np(node); in ofnode_get_addr_size()
598 const struct device_node *np = ofnode_to_np(node); in ofnode_read_u8_array_ptr()
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_device_path_to_text.c19 struct efi_device_path_protocol *device_node, in efi_convert_device_node_to_text() argument
28 switch (device_node->type) { in efi_convert_device_node_to_text()
32 switch (device_node->sub_type) { in efi_convert_device_node_to_text()
35 (struct efi_device_path_mac_addr *)device_node; in efi_convert_device_node_to_text()
57 switch (device_node->sub_type) { in efi_convert_device_node_to_text()
59 buffer_size = device_node->length - 4; in efi_convert_device_node_to_text()
64 memcpy(buffer, device_node->data, buffer_size); in efi_convert_device_node_to_text()
82 device_node->type, in efi_convert_device_node_to_text()
83 device_node->sub_type); in efi_convert_device_node_to_text()
92 struct efi_device_path_protocol *device_node, in efi_convert_device_node_to_text_ext() argument
[all …]
/rk3399_rockchip-uboot/lib/
H A Dof_live.c45 struct device_node *dad, in unflatten_dt_node()
46 struct device_node **nodepp, in unflatten_dt_node()
50 struct device_node *np; in unflatten_dt_node()
96 np = unflatten_dt_alloc(&mem, sizeof(struct device_node) + allocl, in unflatten_dt_node()
97 __alignof__(struct device_node)); in unflatten_dt_node()
236 struct device_node *child = np->child; in unflatten_dt_node()
239 struct device_node *next = child->sibling; in unflatten_dt_node()
265 struct device_node **mynodes) in unflatten_device_tree()
320 int of_live_build(const void *fdt_blob, struct device_node **rootp) in of_live_build()
/rk3399_rockchip-uboot/drivers/video/drm/
H A Ddrm_of.c19 drm_of_lvds_get_port_pixels_type(const struct device_node *port_node) in drm_of_lvds_get_port_pixels_type()
39 drm_of_lvds_get_remote_pixels_type(const struct device_node *port_node) in drm_of_lvds_get_remote_pixels_type()
125 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1, in drm_of_lvds_get_dual_link_pixel_order()
126 const struct device_node *port2) in drm_of_lvds_get_dual_link_pixel_order()
H A Ddrm_of.h30 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1,
31 const struct device_node *port2);
H A Drockchip_display.h198 struct device_node *ports_node; /* if (ports_node) it's vop2; */
199 struct device_node *port_node;
376 const struct device_node *
378 const struct device_node *
H A Drockchip_display.c1115 struct device_node *port_node; in get_crtc_id()
1116 struct device_node *remote; in get_crtc_id()
1148 static int get_crtc_mcu_mode(struct crtc_state *crtc_state, struct device_node *port_node, in get_crtc_mcu_mode()
1826 const struct device_node *rockchip_of_graph_get_port_by_id(ofnode node, int id) in rockchip_of_graph_get_port_by_id()
1849 static const struct device_node *rockchip_of_graph_get_port_parent(ofnode port) in rockchip_of_graph_get_port_parent()
1862 const struct device_node *
1865 const struct device_node *port_node; in rockchip_of_graph_get_endpoint_by_regs()
1886 static const struct device_node *
1889 const struct device_node *ep_node; in rockchip_of_graph_get_remote_node()
1909 const struct device_node *ep_node, *panel_node; in rockchip_of_find_panel()
[all …]
/rk3399_rockchip-uboot/include/
H A Dof_live.h13 struct device_node;
22 int of_live_build(const void *fdt_blob, struct device_node **rootp);
/rk3399_rockchip-uboot/include/linux/mtd/
H A Dpartitions.h54 struct device_node;
64 struct device_node *of_node;
H A Dmtd.h341 const struct device_node *np) in mtd_set_of_node()
346 static inline const struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node()
351 struct device_node;
354 const struct device_node *np) in mtd_set_of_node()
358 static inline const struct device_node *mtd_get_of_node(struct mtd_info *mtd) in mtd_get_of_node()
H A Dspi-nor.h354 const struct device_node *np) in spi_nor_set_flash_node()
360 device_node *spi_nor_get_flash_node(struct spi_nor *nor) in spi_nor_get_flash_node()
H A Dnand.h410 const struct device_node *np) in nanddev_set_of_node()
421 static inline const struct device_node *nanddev_get_of_node(struct nand_device *nand) in nanddev_get_of_node()
/rk3399_rockchip-uboot/include/asm-generic/
H A Dglobal_data.h91 struct device_node *of_root;
92 struct device_node *of_root_f; /* U-Boot of-root instance */
/rk3399_rockchip-uboot/include/test/
H A Dtest.h24 struct device_node *of_root;
/rk3399_rockchip-uboot/drivers/phy/
H A Dphy-rockchip-inno-usb3.c106 const struct device_node *child_np);
336 const struct device_node *child_np) in rockchip_u3phy_port_init()
450 const struct device_node *child_np) in rk3328_u3phy_tuning()
/rk3399_rockchip-uboot/drivers/ram/rockchip/
H A Drockchip_dmc.c629 struct device_node *np_tim; in of_get_rk3328_timings()
683 struct device_node *np_tim; in of_get_px30_timings()

12