Lines Matching refs:to_of_node
866 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get()
871 of_node_put(to_of_node(fwnode)); in of_fwnode_put()
876 return of_device_is_available(to_of_node(fwnode)); in of_fwnode_device_is_available()
887 if (of_dma_is_coherent(to_of_node(fwnode))) in of_fwnode_device_get_dma_attr()
896 return of_property_read_bool(to_of_node(fwnode), propname); in of_fwnode_property_present()
904 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array()
929 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_string_array()
938 return kbasename(to_of_node(fwnode)->full_name); in of_fwnode_get_name()
944 if (!to_of_node(fwnode)->parent) in of_fwnode_get_name_prefix()
953 return of_fwnode_handle(of_get_parent(to_of_node(fwnode))); in of_fwnode_get_parent()
960 return of_fwnode_handle(of_get_next_available_child(to_of_node(fwnode), in of_fwnode_get_next_child_node()
961 to_of_node(child))); in of_fwnode_get_next_child_node()
968 const struct device_node *node = to_of_node(fwnode); in of_fwnode_get_named_child_node()
989 ret = of_parse_phandle_with_args(to_of_node(fwnode), prop, in of_fwnode_get_reference_args()
992 ret = of_parse_phandle_with_fixed_args(to_of_node(fwnode), prop, in of_fwnode_get_reference_args()
1012 return of_fwnode_handle(of_graph_get_next_endpoint(to_of_node(fwnode), in of_fwnode_graph_get_next_endpoint()
1013 to_of_node(prev))); in of_fwnode_graph_get_next_endpoint()
1020 of_graph_get_remote_endpoint(to_of_node(fwnode))); in of_fwnode_graph_get_remote_endpoint()
1029 np = of_get_parent(to_of_node(fwnode)); in of_fwnode_graph_get_port_parent()
1043 const struct device_node *node = to_of_node(fwnode); in of_fwnode_graph_parse_endpoint()
1474 return of_iomap(to_of_node(fwnode), index); in of_fwnode_iomap()
1483 return of_irq_get(to_of_node(fwnode), index); in of_fwnode_irq_get()
1489 struct device_node *con_np = to_of_node(fwnode); in of_fwnode_add_links()