Home
last modified time | relevance | path

Searched refs:ofnode (Results 1 – 25 of 224) sorted by relevance

123456789

/u-boot/include/dm/
A Dofnode.h55 } ofnode; typedef
58 ofnode node;
81 ofnode node;
143 ofnode node; in offset_to_ofnode()
161 ofnode node; in np_to_ofnode()
212 ofnode node; in ofnode_null()
224 ofnode node; in ofnode_root()
404 static inline ofnode ofnode_next_subnode(ofnode node) in ofnode_next_subnode()
433 ofnode ofnode_first_subnode(ofnode node);
442 ofnode ofnode_next_subnode(ofnode node);
[all …]
A Dof_extra.h42 int ofnode_read_fmap_entry(ofnode node, struct fmap_entry *entry);
59 int ofnode_decode_region(ofnode node, const char *prop_name, fdt_addr_t *basep,
85 int ofnode_decode_memory_region(ofnode config_node, const char *mem_type,
A Dlists.h61 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp,
90 const char *dev_name, ofnode node,
A Ddevice.h183 ofnode node_;
220 static inline ofnode dev_ofnode(const struct udevice *dev) in dev_ofnode()
258 static inline void dev_set_ofnode(struct udevice *dev, ofnode node) in dev_set_ofnode()
597 int device_find_global_by_ofnode(ofnode node, struct udevice **devp);
611 int device_get_global_by_ofnode(ofnode node, struct udevice **devp);
/u-boot/drivers/core/
A Dofnode.c188 ofnode ofnode_find_subnode(ofnode node, const char *subnode_name) in ofnode_find_subnode()
190 ofnode subnode; in ofnode_find_subnode()
241 ofnode ofnode_first_subnode(ofnode node) in ofnode_first_subnode()
251 ofnode ofnode_next_subnode(ofnode node) in ofnode_next_subnode()
262 ofnode ofnode_get_parent(ofnode node) in ofnode_get_parent()
264 ofnode parent; in ofnode_get_parent()
291 ofnode node; in ofnode_get_by_phandle()
495 ofnode node; in ofnode_read_aliases_prop()
517 ofnode child; in ofnode_get_child_count()
950 ofnode ofnode_by_compatible(ofnode from, const char *compat) in ofnode_by_compatible()
[all …]
A Dof_extra.c14 int ofnode_read_fmap_entry(ofnode node, struct fmap_entry *entry) in ofnode_read_fmap_entry()
17 ofnode subnode; in ofnode_read_fmap_entry()
53 int ofnode_decode_region(ofnode node, const char *prop_name, fdt_addr_t *basep, in ofnode_decode_region()
74 int ofnode_decode_memory_region(ofnode config_node, const char *mem_type, in ofnode_decode_memory_region()
82 ofnode node; in ofnode_decode_memory_region()
A Ddevice.c39 ulong driver_data, ofnode node, in device_bind_common()
234 ulong driver_data, ofnode node, in device_bind_with_driver_data()
242 const char *name, void *plat, ofnode node, in device_bind()
774 ofnode ofnode) in _device_find_global_by_ofnode() argument
778 if (ofnode_equal(dev_ofnode(parent), ofnode)) in _device_find_global_by_ofnode()
782 found = _device_find_global_by_ofnode(dev, ofnode); in _device_find_global_by_ofnode()
790 int device_find_global_by_ofnode(ofnode ofnode, struct udevice **devp) in device_find_global_by_ofnode() argument
797 int device_get_global_by_ofnode(ofnode ofnode, struct udevice **devp) in device_get_global_by_ofnode() argument
1091 ofnode node = ofnode_path(path); in dev_disable_by_path()
1120 ofnode node = ofnode_path(path); in dev_enable_by_path()
[all …]
A Dread.c85 ofnode dev_read_subnode(const struct udevice *dev, const char *subnode_name) in dev_read_subnode()
90 ofnode dev_read_first_subnode(const struct udevice *dev) in dev_read_first_subnode()
95 ofnode dev_read_next_subnode(ofnode node) in dev_read_next_subnode()
247 ofnode node = dev_ofnode(dev); in dev_read_phandle()
279 ofnode node = dev_ofnode(dev); in dev_read_alias_seq()
313 ofnode node = dev_ofnode(dev); in dev_read_enabled()
/u-boot/test/dm/
A Dnop.c21 ofnode ofnode = dev_read_first_subnode(parent); in noptest_bind() local
23 while (ofnode_valid(ofnode)) { in noptest_bind()
25 const char *bind_flag = ofnode_read_string(ofnode, "bind"); in noptest_bind()
28 lists_bind_fdt(parent, ofnode, &dev, false); in noptest_bind()
29 ofnode = dev_read_next_subnode(ofnode); in noptest_bind()
A Dofnode.c13 ofnode root_node = ofnode_path("/"); in dm_test_ofnode_compatible()
43 ofnode node = ofnode_null(); in dm_test_ofnode_by_prop_value()
68 ofnode node; in dm_test_ofnode_fmap()
83 ofnode node; in dm_test_ofnode_read()
109 ofnode node; in dm_test_ofnode_phandle()
185 ofnode node; in dm_test_ofnode_read_chosen()
213 ofnode node; in dm_test_ofnode_read_aliases()
234 ofnode node, child_node; in dm_test_ofnode_get_child_count()
255 ofnode root_node = ofnode_path("/"); in dm_test_ofnode_is_enabled()
256 ofnode node = ofnode_path("/usb@0"); in dm_test_ofnode_is_enabled()
/u-boot/cmd/
A Dbind.c128 ofnode ofnode; in bind_by_node_path() local
137 ofnode = ofnode_path(path); in bind_by_node_path()
138 if (!ofnode_valid(ofnode)) { in bind_by_node_path()
143 while (ofnode_valid(ofnode)) { in bind_by_node_path()
146 ofnode = ofnode_get_parent(ofnode); in bind_by_node_path()
154 ofnode = ofnode_path(path); in bind_by_node_path()
155 ret = lists_bind_fdt(parent, ofnode, &dev, false); in bind_by_node_path()
169 ofnode ofnode; in unbind_by_node_path() local
171 ofnode = ofnode_path(path); in unbind_by_node_path()
172 if (!ofnode_valid(ofnode)) { in unbind_by_node_path()
[all …]
/u-boot/lib/
A Dbinman.c25 ofnode image;
43 static int find_image_node(ofnode *nodep) in find_image_node()
45 ofnode node; in find_image_node()
61 static int binman_entry_find_internal(ofnode node, const char *name, in binman_entry_find_internal()
87 int binman_entry_map(ofnode parent, const char *name, void **bufp, int *sizep) in binman_entry_map()
104 ofnode binman_section_find_node(const char *name) in binman_section_find_node()
121 ofnode node; in binman_select_subnode()
/u-boot/drivers/net/phy/
A Dfixed.c21 int ofnode = phydev->addr; in fixedphy_probe() local
26 ofnode, 0, "speed", 0); in fixedphy_probe()
41 priv->duplex = fdtdec_get_bool(gd->fdt_blob, ofnode, "full-duplex"); in fixedphy_probe()
42 priv->pause = fdtdec_get_bool(gd->fdt_blob, ofnode, "pause"); in fixedphy_probe()
43 priv->asym_pause = fdtdec_get_bool(gd->fdt_blob, ofnode, "asym-pause"); in fixedphy_probe()
A Dxilinx_gmii2rgmii.c86 int ofnode = phydev->addr; in xilinxgmiitorgmii_probe() local
102 phydev->addr = fdtdec_get_int(gd->fdt_blob, ofnode, "reg", -1); in xilinxgmiitorgmii_probe()
103 phy_of_handle = fdtdec_lookup_phandle(gd->fdt_blob, ofnode, in xilinxgmiitorgmii_probe()
/u-boot/include/linux/usb/
A Dotg.h28 enum usb_dr_mode usb_get_dr_mode(ofnode node);
37 enum usb_device_speed usb_get_maximum_speed(ofnode node);
A Dphy.h29 enum usb_phy_interface usb_get_phy_mode(ofnode node);
31 static inline enum usb_phy_interface usb_get_phy_mode(ofnode node) in usb_get_phy_mode()
/u-boot/include/
A Dreset.h165 ofnode node);
177 ofnode node);
210 int reset_get_by_index_nodev(ofnode node, int index,
391 ofnode node) in devm_reset_bulk_get_by_node()
397 ofnode node) in devm_reset_bulk_get_optional_by_node()
A Dbinman.h35 int binman_entry_map(ofnode parent, const char *name, void **bufp, int *sizep);
71 ofnode binman_section_find_node(const char *name);
A Dclk.h124 int clk_get_by_index_nodev(ofnode node, int index, struct clk *clk);
169 int clk_get_by_name_nodev(ofnode node, const char *name, struct clk *clk);
184 int clk_get_optional_nodev(ofnode node, const char *name, struct clk *clk);
263 clk_get_by_name_nodev(ofnode node, const char *name, struct clk *clk) in clk_get_by_name_nodev()
269 clk_get_optional_nodev(ofnode node, const char *name, struct clk *clk) in clk_get_optional_nodev()
/u-boot/drivers/usb/common/
A Dcommon.c25 enum usb_dr_mode usb_get_dr_mode(ofnode node) in usb_get_dr_mode()
60 enum usb_device_speed usb_get_maximum_speed(ofnode node) in usb_get_maximum_speed()
85 enum usb_phy_interface usb_get_phy_mode(ofnode node) in usb_get_phy_mode()
/u-boot/doc/driver-model/
A Dlivetree.rst55 The 'ofnode' type provides this. An ofnode can point to either a flat tree
62 'struct udevice \*', rather than having to obtain the ofnode first.
113 back to using ofnode. For example, for old code like this:
129 ofnode subnode;
137 Useful ofnode functions
164 converts ofnode to struct device_node *
166 converts ofnode to offset
169 converts node pointer to ofnode
171 converts offset to ofnode
229 ofnode interfaces do not noticeably add to code size.
[all …]
/u-boot/arch/x86/include/asm/arch-apollolake/
A Dfsp_bindings.h96 int fsp_m_update_config_from_dtb(ofnode node, struct fsp_m_config *cfg);
109 int fsp_s_update_config_from_dtb(ofnode node, struct fsp_s_config *cfg);
/u-boot/arch/arm/mach-tegra/
A Dxusb-padctl-common.c78 ofnode node) in tegra_xusb_padctl_group_parse_dt()
221 ofnode node) in tegra_xusb_padctl_config_parse_dt()
223 ofnode subnode; in tegra_xusb_padctl_config_parse_dt()
246 ofnode node) in tegra_xusb_padctl_parse_dt()
248 ofnode subnode; in tegra_xusb_padctl_parse_dt()
276 int tegra_xusb_process_nodes(ofnode nodes[], unsigned int count, in tegra_xusb_process_nodes()
/u-boot/include/net/
A Ddsa.h113 ofnode master_node;
114 ofnode cpu_port_node;
/u-boot/drivers/video/
A Dnexell_display.c45 static void nx_display_parse_dp_sync(ofnode node, struct dp_sync_info *sync) in nx_display_parse_dp_sync()
68 static void nx_display_parse_dp_ctrl(ofnode node, struct dp_ctrl_info *ctrl) in nx_display_parse_dp_ctrl()
143 static void nx_display_parse_dp_layer(ofnode node, struct dp_plane_info *plane) in nx_display_parse_dp_layer()
175 static void nx_display_parse_dp_planes(ofnode node, in nx_display_parse_dp_planes()
180 ofnode subnode; in nx_display_parse_dp_planes()
218 static int nx_display_parse_dp_lvds(ofnode node, struct nx_display_dev *dp) in nx_display_parse_dp_lvds()
250 static int nx_display_parse_dp_rgb(ofnode node, struct nx_display_dev *dp) in nx_display_parse_dp_rgb()
266 static int nx_display_parse_dp_mipi(ofnode node, struct nx_display_dev *dp) in nx_display_parse_dp_mipi()
287 static int nx_display_parse_dp_hdmi(ofnode node, struct nx_display_dev *dp) in nx_display_parse_dp_hdmi()
304 static int nx_display_parse_dp_lcds(ofnode node, const char *type, in nx_display_parse_dp_lcds()
[all …]

Completed in 60 milliseconds

123456789