Lines Matching +full:remote +full:- +full:bus
7 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
25 #include <media/v4l2-mediabus.h>
34 * struct v4l2_fwnode_bus_mipi_csi2 - MIPI CSI-2 bus data structure
35 * @flags: media bus (V4L2_MBUS_*) flags
51 * struct v4l2_fwnode_bus_parallel - parallel data bus data structure
52 * @flags: media bus (V4L2_MBUS_*) flags
53 * @bus_width: bus width in bits
63 * struct v4l2_fwnode_bus_mipi_csi1 - CSI-1/CCP2 data bus structure
65 * false - not inverted, true - inverted
66 * @strobe: false - data/clock, true - data/strobe
81 * struct v4l2_fwnode_endpoint - the endpoint data structure
83 * @bus_type: bus type
84 * @bus: union with bus configuration data structure
85 * @bus.parallel: embedded &struct v4l2_fwnode_bus_parallel.
86 * Used if the bus is parallel.
87 * @bus.mipi_csi1: embedded &struct v4l2_fwnode_bus_mipi_csi1.
88 * Used if the bus is MIPI Alliance's Camera Serial
92 * @bus.mipi_csi2: embedded &struct v4l2_fwnode_bus_mipi_csi2.
93 * Used if the bus is MIPI Alliance's Camera Serial
109 } bus; member
115 * struct v4l2_fwnode_link - a link between two endpoints
118 * @remote_node: pointer to device_node of the remote endpoint
119 * @remote_port: identifier of the port the remote endpoint belongs to
129 * v4l2_fwnode_endpoint_parse() - parse all fwnode node properties
135 * specified explicitly. If any properties that identify the bus as parallel
136 * are found and slave-mode isn't set, we set V4L2_MBUS_MASTER. Similarly, if
137 * we recognise the bus as serial CSI-2 and clock-noncontinuous isn't set, we
151 * v4l2_fwnode_endpoint_free() - free the V4L2 fwnode acquired by
161 * v4l2_fwnode_endpoint_alloc_parse() - parse all fwnode node properties
166 * specified explicitly. If any properties that identify the bus as parallel
167 * are found and slave-mode isn't set, we set V4L2_MBUS_MASTER. Similarly, if
168 * we recognise the bus as serial CSI-2 and clock-noncontinuous isn't set, we
187 * v4l2_fwnode_parse_link() - parse a link between two endpoints
191 * Fill the link structure with the local and remote nodes and port numbers.
193 * remote port's parent nodes respectively (the port parent node being the
195 * grand-parent node of the port node otherwise).
197 * A reference is taken to both the local and remote nodes, the caller must use
201 * Return: 0 on success, or -ENOLINK if the remote endpoint fwnode can't be
208 * v4l2_fwnode_put_link() - drop references to nodes in a link
211 * Drop references to the local and remote nodes in the link. This function
218 * typedef parse_endpoint_func - Driver's callback function to be called on
227 * * %-ENOTCONN if the endpoint is to be skipped but this
229 * * %-EINVAL if the endpoint configuration is invalid
237 * v4l2_async_notifier_parse_fwnode_endpoints - Parse V4L2 fwnode endpoints in a
241 * @asd_struct_size: size of the driver's async sub-device struct, including
244 * the driver's async sub-device struct, i.e. both
249 * Parse the fwnode endpoints of the @dev device and populate the async sub-
251 * called for each endpoint with the corresponding async sub-device pointer to
252 * let the caller initialize the driver-specific part of the async sub-device
272 * sub-devices are no longer in use, even if the function returned an error.
274 * Return: %0 on success, including when no async sub-devices are found
275 * %-ENOMEM if memory allocation failed
276 * %-EINVAL if graph or endpoint parsing failed
285 * v4l2_async_notifier_parse_fwnode_endpoints_by_port - Parse V4L2 fwnode
290 * @asd_struct_size: size of the driver's async sub-device struct, including
293 * the driver's async sub-device struct, i.e. both
301 * on devices that have both sinks and sources: the async sub-devices connected
306 * the async sub-devices array of the notifier. The @parse_endpoint callback
307 * function is called for each endpoint with the corresponding async sub-device
308 * pointer to let the caller initialize the driver-specific part of the async
309 * sub-device structure.
328 * sub-devices are no longer in use, even if the function returned an error.
330 * Return: %0 on success, including when no async sub-devices are found
331 * %-ENOMEM if memory allocation failed
332 * %-EINVAL if graph or endpoint parsing failed
341 * v4l2_fwnode_reference_parse_sensor_common - parse common references on
342 * sensors for async sub-devices
346 * Parse common sensor properties for remote devices related to the
347 * sensor and set up async sub-devices for them.
351 * sub-devices are no longer in use, even in the case the function returned an
355 * -ENOMEM if memory allocation failed
356 * -EINVAL if property parsing failed