Lines Matching refs:device_node

36  * @node: pointer to device_node containing graph port
41 bool of_graph_is_present(const struct device_node *node)
43 struct device_node *ports, *port;
71 int of_property_count_elems_of_size(const struct device_node *np,
107 static void *of_find_property_value_of_size(const struct device_node *np,
144 int of_property_read_u32_index(const struct device_node *np,
178 int of_property_read_u64_index(const struct device_node *np,
218 int of_property_read_variable_u8_array(const struct device_node *np,
268 int of_property_read_variable_u16_array(const struct device_node *np,
315 int of_property_read_variable_u32_array(const struct device_node *np,
356 int of_property_read_u64(const struct device_node *np, const char *propname,
393 int of_property_read_variable_u64_array(const struct device_node *np,
440 int of_property_read_string(const struct device_node *np, const char *propname,
464 int of_property_match_string(const struct device_node *np, const char *propname,
503 int of_property_read_string_helper(const struct device_node *np,
573 * @node: pointer to endpoint device_node
578 int of_graph_parse_endpoint(const struct device_node *node,
581 struct device_node *port_node = of_get_parent(node);
610 struct device_node *of_graph_get_port_by_id(struct device_node *parent, u32 id)
612 struct device_node *node, *port;
642 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
643 struct device_node *prev)
645 struct device_node *endpoint;
646 struct device_node *port;
657 struct device_node *node;
711 struct device_node *of_graph_get_endpoint_by_regs(
712 const struct device_node *parent, int port_reg, int reg)
715 struct device_node *node = NULL;
730 * @node: pointer to a local endpoint device_node
735 struct device_node *of_graph_get_remote_endpoint(const struct device_node *node)
744 * @node: pointer to a local endpoint device_node
749 struct device_node *of_graph_get_port_parent(struct device_node *node)
776 * @node: pointer to a local endpoint device_node
781 struct device_node *of_graph_get_remote_port_parent(
782 const struct device_node *node)
784 struct device_node *np, *pp;
799 * @node: pointer to a local endpoint device_node
804 struct device_node *of_graph_get_remote_port(const struct device_node *node)
806 struct device_node *np;
816 int of_graph_get_endpoint_count(const struct device_node *np)
818 struct device_node *endpoint;
829 * of_graph_get_remote_node() - get remote parent device_node for given port/endpoint
830 * @node: pointer to parent device_node containing graph port/endpoint
837 struct device_node *of_graph_get_remote_node(const struct device_node *node,
840 struct device_node *endpoint_node, *remote;
906 const struct device_node *node = to_of_node(fwnode);
931 const struct device_node *node = to_of_node(fwnode);
970 const struct device_node *node = to_of_node(fwnode);
971 struct device_node *child;
1030 struct device_node *np;
1047 const struct device_node *node = to_of_node(fwnode);
1048 struct device_node *port_node = of_get_parent(node);
1067 static void of_link_to_phandle(struct device_node *con_np,
1068 struct device_node *sup_np)
1070 struct device_node *tmp_np = of_node_get(sup_np);
1109 static struct device_node *parse_prop_cells(struct device_node *np,
1127 static struct device_node *parse_##fname(struct device_node *np, \
1163 static struct device_node *parse_suffix_prop_cells(struct device_node *np,
1181 static struct device_node *parse_##fname(struct device_node *np, \
1208 struct device_node *(*parse_prop)(struct device_node *np,
1210 struct device_node *(*get_con_dev)(struct device_node *np);
1244 static struct device_node *parse_gpios(struct device_node *np,
1254 static struct device_node *parse_iommu_maps(struct device_node *np,
1263 static struct device_node *parse_gpio_compat(struct device_node *np,
1285 static struct device_node *parse_interrupts(struct device_node *np,
1300 static struct device_node *parse_remote_endpoint(struct device_node *np,
1371 static int of_link_property(struct device_node *con_np, const char *prop_name)
1373 struct device_node *phandle;
1386 struct device_node *con_dev_np;
1420 struct device_node *con_np = to_of_node(fwnode);