Home
last modified time | relevance | path

Searched refs:ofnode_to_np (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/core/
Dofnode.c24 return of_read_u32(ofnode_to_np(node), propname, outp); in ofnode_read_u32()
82 ofnode_to_np(node), propname, NULL); in ofnode_read_string()
113 const struct device_node *np = ofnode_to_np(node); in ofnode_find_subnode()
138 return of_read_u32_array(ofnode_to_np(node), propname, in ofnode_read_u32_array()
173 parent = np_to_ofnode(of_get_parent(ofnode_to_np(node))); in ofnode_get_parent()
209 ofnode_to_np(node), propname, NULL); in ofnode_read_size()
231 prop_val = of_get_address(ofnode_to_np(node), index, &size, in ofnode_get_addr_index()
236 ns = of_n_size_cells(ofnode_to_np(node)); in ofnode_get_addr_index()
239 return of_translate_address(ofnode_to_np(node), prop_val); in ofnode_get_addr_index()
241 na = of_n_addr_cells(ofnode_to_np(node)); in ofnode_get_addr_index()
[all …]
Dread.c158 return ofnode_to_np(node)->phandle; in dev_read_phandle()
175 ret = of_alias_get_id(ofnode_to_np(node), uc_name); in dev_read_alias_seq()
203 return of_device_is_available(ofnode_to_np(node)); in dev_read_enabled()
Dregmap.c83 of_address_to_resource(ofnode_to_np(node), index, &r); in regmap_init_mem()
/external/u-boot/include/dm/
Dofnode.h69 static inline const struct device_node *ofnode_to_np(ofnode node) in ofnode_to_np() function
Dread.h21 return ofnode_to_np(dev->node); in dev_np()
/external/u-boot/doc/driver-model/
Dlivetree.txt152 ofnode_to_np() - converts ofnode to struct device_node *