Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/core/
H A Dofnode.c24 return of_read_u32(ofnode_to_np(node), propname, outp); in ofnode_read_u32()
114 ofnode_to_np(node), propname, NULL); in ofnode_read_string()
145 const struct device_node *np = ofnode_to_np(node); in ofnode_find_subnode()
241 ofnode_to_np(node), propname, NULL); in ofnode_read_size()
268 ns = of_n_size_cells(ofnode_to_np(node)); in ofnode_get_addr_index()
273 na = of_n_addr_cells(ofnode_to_np(node)); in ofnode_get_addr_index()
672 return of_n_addr_cells(ofnode_to_np(node)); in ofnode_read_addr_cells()
680 return of_n_size_cells(ofnode_to_np(node)); in ofnode_read_size_cells()
688 return of_simple_addr_cells(ofnode_to_np(node)); in ofnode_read_simple_addr_cells()
696 return of_simple_size_cells(ofnode_to_np(node)); in ofnode_read_simple_size_cells()
[all …]
H A Dread.c201 return ofnode_to_np(node)->phandle; in dev_read_phandle()
218 ret = of_alias_get_id(ofnode_to_np(node), uc_name); in dev_read_alias_seq()
246 return of_device_is_available(ofnode_to_np(node)); in dev_read_enabled()
H A Dregmap.c82 ret = of_address_to_resource(ofnode_to_np(node), in init_range()
/openbmc/u-boot/test/dm/
H A Dtest-fdt.c650 ut_assert(!of_device_is_available(ofnode_to_np(node))); in dm_test_fdt_livetree_writing()
652 ut_assert(of_device_is_available(ofnode_to_np(node))); in dm_test_fdt_livetree_writing()
680 ut_assert(of_device_is_available(ofnode_to_np(node))); in dm_test_fdt_livetree_writing()
682 ut_assert(!of_device_is_available(ofnode_to_np(node))); in dm_test_fdt_livetree_writing()
701 ut_assert(!of_device_is_available(ofnode_to_np(node))); in dm_test_fdt_disable_enable_by_path()
703 ut_assert(of_device_is_available(ofnode_to_np(node))); in dm_test_fdt_disable_enable_by_path()
707 ut_assert(of_device_is_available(ofnode_to_np(node))); in dm_test_fdt_disable_enable_by_path()
709 ut_assert(!of_device_is_available(ofnode_to_np(node))); in dm_test_fdt_disable_enable_by_path()
/openbmc/u-boot/include/dm/
H A Dofnode.h69 static inline const struct device_node *ofnode_to_np(ofnode node) in ofnode_to_np() function
H A Dread.h21 return ofnode_to_np(dev->node); in dev_np()
/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip-core.c614 np = ofnode_to_np(node);
/openbmc/u-boot/doc/driver-model/
H A Dlivetree.txt152 ofnode_to_np() - converts ofnode to struct device_node *