Searched refs:ofnode_to_np (Results 1 – 8 of 8) sorted by relevance
24 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 …]
201 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()
82 ret = of_address_to_resource(ofnode_to_np(node), in init_range()
650 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()
69 static inline const struct device_node *ofnode_to_np(ofnode node) in ofnode_to_np() function
21 return ofnode_to_np(dev->node); in dev_np()
614 np = ofnode_to_np(node);
152 ofnode_to_np() - converts ofnode to struct device_node *