Lines Matching refs:ofnode_to_np
24 return of_read_u32(ofnode_to_np(node), propname, outp); in ofnode_read_u32()
67 return of_read_u64(ofnode_to_np(node), propname, outp); in ofnode_read_u64()
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()
170 return of_read_u32_array(ofnode_to_np(node), propname, in ofnode_read_u32_array()
205 parent = np_to_ofnode(of_get_parent(ofnode_to_np(node))); in ofnode_get_parent()
241 ofnode_to_np(node), propname, NULL); in ofnode_read_size()
263 prop_val = of_get_address(ofnode_to_np(node), index, in ofnode_get_addr_index()
268 ns = of_n_size_cells(ofnode_to_np(node)); in ofnode_get_addr_index()
271 return of_translate_address(ofnode_to_np(node), prop_val); in ofnode_get_addr_index()
273 na = of_n_addr_cells(ofnode_to_np(node)); in ofnode_get_addr_index()
296 return of_property_match_string(ofnode_to_np(node), in ofnode_stringlist_search()
317 return of_property_read_string_index(ofnode_to_np(node), in ofnode_read_string_index()
333 return of_property_count_strings(ofnode_to_np(node), property); in ofnode_read_string_count()
367 ret = of_parse_phandle_with_args(ofnode_to_np(node), in ofnode_parse_phandle_with_args()
393 return of_count_phandle_with_args(ofnode_to_np(node), in ofnode_count_phandle_with_args()
520 return of_get_property(ofnode_to_np(node), propname, lenp); in ofnode_get_property()
529 return of_device_is_available(ofnode_to_np(node)); in ofnode_is_available()
541 const struct device_node *np = ofnode_to_np(node); in ofnode_get_addr_size()
565 const struct device_node *np = ofnode_to_np(node); in ofnode_read_u8_array_ptr()
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()
730 return of_address_to_resource(ofnode_to_np(node), index, res); in ofnode_read_resource()
762 return of_translate_address(ofnode_to_np(node), in_addr); in ofnode_translate_address()
770 return of_device_is_compatible(ofnode_to_np(node), compat, in ofnode_device_is_compatible()
782 (struct device_node *)ofnode_to_np(from), NULL, in ofnode_by_compatible()
795 (struct device_node *)ofnode_to_np(from), propname, in ofnode_by_prop_value()
807 const struct device_node *np = ofnode_to_np(node); in ofnode_write_prop()