Lines Matching refs:endpoint
2107 struct of_endpoint *endpoint) in of_graph_parse_endpoint() argument
2114 memset(endpoint, 0, sizeof(*endpoint)); in of_graph_parse_endpoint()
2116 endpoint->local_node = node; in of_graph_parse_endpoint()
2121 of_property_read_u32(port_node, "reg", &endpoint->port); in of_graph_parse_endpoint()
2122 of_property_read_u32(node, "reg", &endpoint->id); in of_graph_parse_endpoint()
2173 struct device_node *endpoint; in of_graph_get_next_endpoint() local
2212 endpoint = of_get_next_child(port, prev); in of_graph_get_next_endpoint()
2213 if (endpoint) { in of_graph_get_next_endpoint()
2215 return endpoint; in of_graph_get_next_endpoint()
2243 struct of_endpoint endpoint; in of_graph_get_endpoint_by_regs() local
2252 of_graph_parse_endpoint(node, &endpoint); in of_graph_get_endpoint_by_regs()
2253 if (((port_reg == -1) || (endpoint.port == port_reg)) && in of_graph_get_endpoint_by_regs()
2254 ((reg == -1) || (endpoint.id == reg))) in of_graph_get_endpoint_by_regs()