Lines Matching refs:node
23 static int v4l2_of_parse_csi_bus(const struct device_node *node, in v4l2_of_parse_csi_bus() argument
32 prop = of_find_property(node, "data-lanes", NULL); in v4l2_of_parse_csi_bus()
46 prop = of_find_property(node, "lane-polarities", NULL); in v4l2_of_parse_csi_bus()
60 node->full_name, 1 + bus->num_data_lanes, i); in v4l2_of_parse_csi_bus()
65 if (!of_property_read_u32(node, "clock-lanes", &v)) { in v4l2_of_parse_csi_bus()
70 if (of_get_property(node, "clock-noncontinuous", &v)) in v4l2_of_parse_csi_bus()
81 static void v4l2_of_parse_parallel_bus(const struct device_node *node, in v4l2_of_parse_parallel_bus() argument
88 if (!of_property_read_u32(node, "hsync-active", &v)) in v4l2_of_parse_parallel_bus()
92 if (!of_property_read_u32(node, "vsync-active", &v)) in v4l2_of_parse_parallel_bus()
96 if (!of_property_read_u32(node, "field-even-active", &v)) in v4l2_of_parse_parallel_bus()
104 if (!of_property_read_u32(node, "pclk-sample", &v)) in v4l2_of_parse_parallel_bus()
108 if (!of_property_read_u32(node, "data-active", &v)) in v4l2_of_parse_parallel_bus()
112 if (of_get_property(node, "slave-mode", &v)) in v4l2_of_parse_parallel_bus()
117 if (!of_property_read_u32(node, "bus-width", &v)) in v4l2_of_parse_parallel_bus()
120 if (!of_property_read_u32(node, "data-shift", &v)) in v4l2_of_parse_parallel_bus()
123 if (!of_property_read_u32(node, "sync-on-green-active", &v)) in v4l2_of_parse_parallel_bus()
151 int v4l2_of_parse_endpoint(const struct device_node *node, in v4l2_of_parse_endpoint() argument
156 of_graph_parse_endpoint(node, &endpoint->base); in v4l2_of_parse_endpoint()
161 rval = v4l2_of_parse_csi_bus(node, endpoint); in v4l2_of_parse_endpoint()
169 v4l2_of_parse_parallel_bus(node, endpoint); in v4l2_of_parse_endpoint()
218 const struct device_node *node) in v4l2_of_alloc_parse_endpoint() argument
228 rval = v4l2_of_parse_endpoint(node, endpoint); in v4l2_of_alloc_parse_endpoint()
232 if (of_get_property(node, "link-frequencies", &len)) { in v4l2_of_alloc_parse_endpoint()
243 node, "link-frequencies", endpoint->link_frequencies, in v4l2_of_alloc_parse_endpoint()
273 int v4l2_of_parse_link(const struct device_node *node, in v4l2_of_parse_link() argument
280 np = of_get_parent(node); in v4l2_of_parse_link()
287 np = of_parse_phandle(node, "remote-endpoint", 0); in v4l2_of_parse_link()