Lines Matching refs:device_node

39 bool of_graph_is_present(const struct device_node *node)  in of_graph_is_present()
41 struct device_node *ports, *port; in of_graph_is_present()
67 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
102 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size()
137 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
169 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index()
207 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array()
255 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array()
300 int of_property_read_variable_u32_array(const struct device_node *np, in of_property_read_variable_u32_array()
339 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64()
374 int of_property_read_variable_u64_array(const struct device_node *np, in of_property_read_variable_u64_array()
417 int of_property_read_string(const struct device_node *np, const char *propname, in of_property_read_string()
441 int of_property_match_string(const struct device_node *np, const char *propname, in of_property_match_string()
480 int of_property_read_string_helper(const struct device_node *np, in of_property_read_string_helper()
555 int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint()
558 struct device_node *port_node = of_get_parent(node); in of_graph_parse_endpoint()
587 struct device_node *of_graph_get_port_by_id(struct device_node *parent, u32 id) in of_graph_get_port_by_id()
589 struct device_node *node, *port; in of_graph_get_port_by_id()
619 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, in of_graph_get_next_endpoint()
620 struct device_node *prev) in of_graph_get_next_endpoint()
622 struct device_node *endpoint; in of_graph_get_next_endpoint()
623 struct device_node *port; in of_graph_get_next_endpoint()
634 struct device_node *node; in of_graph_get_next_endpoint()
688 struct device_node *of_graph_get_endpoint_by_regs( in of_graph_get_endpoint_by_regs()
689 const struct device_node *parent, int port_reg, int reg) in of_graph_get_endpoint_by_regs()
692 struct device_node *node = NULL; in of_graph_get_endpoint_by_regs()
712 struct device_node *of_graph_get_remote_endpoint(const struct device_node *node) in of_graph_get_remote_endpoint()
726 struct device_node *of_graph_get_port_parent(struct device_node *node) in of_graph_get_port_parent()
756 struct device_node *of_graph_get_remote_port_parent( in of_graph_get_remote_port_parent()
757 const struct device_node *node) in of_graph_get_remote_port_parent()
759 struct device_node *np, *pp; in of_graph_get_remote_port_parent()
779 struct device_node *of_graph_get_remote_port(const struct device_node *node) in of_graph_get_remote_port()
781 struct device_node *np; in of_graph_get_remote_port()
791 int of_graph_get_endpoint_count(const struct device_node *np) in of_graph_get_endpoint_count()
793 struct device_node *endpoint; in of_graph_get_endpoint_count()
812 struct device_node *of_graph_get_remote_node(const struct device_node *node, in of_graph_get_remote_node()
815 struct device_node *endpoint_node, *remote; in of_graph_get_remote_node()
867 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array()
892 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_string_array()
931 const struct device_node *node = to_of_node(fwnode); in of_fwnode_get_named_child_node()
932 struct device_node *child; in of_fwnode_get_named_child_node()
989 struct device_node *np; in of_fwnode_graph_get_port_parent()
1006 const struct device_node *node = to_of_node(fwnode); in of_fwnode_graph_parse_endpoint()
1007 struct device_node *port_node = of_get_parent(node); in of_fwnode_graph_parse_endpoint()
1026 static bool of_is_ancestor_of(struct device_node *test_ancestor, in of_is_ancestor_of()
1027 struct device_node *child) in of_is_ancestor_of()
1050 static struct device *of_get_next_parent_dev(struct device_node *np) in of_get_next_parent_dev()
1082 static int of_link_to_phandle(struct device *dev, struct device_node *sup_np, in of_link_to_phandle()
1087 struct device_node *tmp_np = sup_np; in of_link_to_phandle()
1186 static struct device_node *parse_prop_cells(struct device_node *np, in parse_prop_cells()
1204 static struct device_node *parse_##fname(struct device_node *np, \
1240 static struct device_node *parse_suffix_prop_cells(struct device_node *np, in parse_suffix_prop_cells()
1258 static struct device_node *parse_##fname(struct device_node *np, \
1281 struct device_node *(*parse_prop)(struct device_node *np,
1313 static struct device_node *parse_iommu_maps(struct device_node *np, in parse_iommu_maps()
1372 static int of_link_property(struct device *dev, struct device_node *con_np, in of_link_property()
1375 struct device_node *phandle; in of_link_property()
1403 struct device_node *con_np) in of_link_to_suppliers()
1405 struct device_node *child; in of_link_to_suppliers()