Lines Matching refs:node
22 static int v4l2_of_parse_csi_bus(const struct device_node *node, in v4l2_of_parse_csi_bus() argument
31 prop = of_find_property(node, "data-lanes", NULL); in v4l2_of_parse_csi_bus()
45 prop = of_find_property(node, "lane-polarities", NULL); in v4l2_of_parse_csi_bus()
59 node->full_name, 1 + bus->num_data_lanes, i); in v4l2_of_parse_csi_bus()
64 if (!of_property_read_u32(node, "clock-lanes", &v)) { in v4l2_of_parse_csi_bus()
69 if (of_get_property(node, "clock-noncontinuous", &v)) in v4l2_of_parse_csi_bus()
80 static void v4l2_of_parse_parallel_bus(const struct device_node *node, in v4l2_of_parse_parallel_bus() argument
87 if (!of_property_read_u32(node, "hsync-active", &v)) in v4l2_of_parse_parallel_bus()
91 if (!of_property_read_u32(node, "vsync-active", &v)) in v4l2_of_parse_parallel_bus()
95 if (!of_property_read_u32(node, "pclk-sample", &v)) in v4l2_of_parse_parallel_bus()
99 if (!of_property_read_u32(node, "field-even-active", &v)) in v4l2_of_parse_parallel_bus()
107 if (!of_property_read_u32(node, "data-active", &v)) in v4l2_of_parse_parallel_bus()
111 if (of_get_property(node, "slave-mode", &v)) in v4l2_of_parse_parallel_bus()
116 if (!of_property_read_u32(node, "bus-width", &v)) in v4l2_of_parse_parallel_bus()
119 if (!of_property_read_u32(node, "data-shift", &v)) in v4l2_of_parse_parallel_bus()
122 if (!of_property_read_u32(node, "sync-on-green-active", &v)) in v4l2_of_parse_parallel_bus()
146 int v4l2_of_parse_endpoint(const struct device_node *node, in v4l2_of_parse_endpoint() argument
151 of_graph_parse_endpoint(node, &endpoint->base); in v4l2_of_parse_endpoint()
155 rval = v4l2_of_parse_csi_bus(node, endpoint); in v4l2_of_parse_endpoint()
163 v4l2_of_parse_parallel_bus(node, endpoint); in v4l2_of_parse_endpoint()
185 int v4l2_of_parse_link(const struct device_node *node, in v4l2_of_parse_link() argument
192 np = of_get_parent(node); in v4l2_of_parse_link()
199 np = of_parse_phandle(node, "remote-endpoint", 0); in v4l2_of_parse_link()