Lines Matching refs:device_node

34  * @node: pointer to device_node containing graph port
39 bool of_graph_is_present(const struct device_node *node)
41 struct device_node *ports, *port;
69 int of_property_count_elems_of_size(const struct device_node *np,
105 static void *of_find_property_value_of_size(const struct device_node *np,
142 int of_property_read_u32_index(const struct device_node *np,
176 int of_property_read_u64_index(const struct device_node *np,
216 int of_property_read_variable_u8_array(const struct device_node *np,
266 int of_property_read_variable_u16_array(const struct device_node *np,
313 int of_property_read_variable_u32_array(const struct device_node *np,
354 int of_property_read_u64(const struct device_node *np, const char *propname,
391 int of_property_read_variable_u64_array(const struct device_node *np,
435 int of_property_read_string(const struct device_node *np, const char *propname,
459 int of_property_match_string(const struct device_node *np, const char *propname,
498 int of_property_read_string_helper(const struct device_node *np,
568 * @node: pointer to endpoint device_node
573 int of_graph_parse_endpoint(const struct device_node *node,
576 struct device_node *port_node = of_get_parent(node);
605 struct device_node *of_graph_get_port_by_id(struct device_node *parent, u32 id)
607 struct device_node *node, *port;
637 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
638 struct device_node *prev)
640 struct device_node *endpoint;
641 struct device_node *port;
652 struct device_node *node;
706 struct device_node *of_graph_get_endpoint_by_regs(
707 const struct device_node *parent, int port_reg, int reg)
710 struct device_node *node = NULL;
725 * @node: pointer to a local endpoint device_node
730 struct device_node *of_graph_get_remote_endpoint(const struct device_node *node)
739 * @node: pointer to a local endpoint device_node
744 struct device_node *of_graph_get_port_parent(struct device_node *node)
769 * @node: pointer to a local endpoint device_node
774 struct device_node *of_graph_get_remote_port_parent(
775 const struct device_node *node)
777 struct device_node *np, *pp;
792 * @node: pointer to a local endpoint device_node
797 struct device_node *of_graph_get_remote_port(const struct device_node *node)
799 struct device_node *np;
809 int of_graph_get_endpoint_count(const struct device_node *np)
811 struct device_node *endpoint;
822 * of_graph_get_remote_node() - get remote parent device_node for given port/endpoint
823 * @node: pointer to parent device_node containing graph port/endpoint
830 struct device_node *of_graph_get_remote_node(const struct device_node *node,
833 struct device_node *endpoint_node, *remote;
885 const struct device_node *node = to_of_node(fwnode);
910 const struct device_node *node = to_of_node(fwnode);
949 const struct device_node *node = to_of_node(fwnode);
950 struct device_node *child;
1009 struct device_node *np;
1026 const struct device_node *node = to_of_node(fwnode);
1027 struct device_node *port_node = of_get_parent(node);
1046 static bool of_is_ancestor_of(struct device_node *test_ancestor,
1047 struct device_node *child)
1070 static struct device *of_get_next_parent_dev(struct device_node *np)
1102 static int of_link_to_phandle(struct device *dev, struct device_node *sup_np,
1107 struct device_node *tmp_np = sup_np;
1206 static struct device_node *parse_prop_cells(struct device_node *np,
1224 static struct device_node *parse_##fname(struct device_node *np, \
1260 static struct device_node *parse_suffix_prop_cells(struct device_node *np,
1278 static struct device_node *parse_##fname(struct device_node *np, \
1301 struct device_node *(*parse_prop)(struct device_node *np,
1332 static struct device_node *parse_gpios(struct device_node *np,
1342 static struct device_node *parse_iommu_maps(struct device_node *np,
1401 static int of_link_property(struct device *dev, struct device_node *con_np,
1404 struct device_node *phandle;
1432 struct device_node *con_np)
1434 struct device_node *child;