• Home
  • Raw
  • Download

Lines Matching +full:sub +full:- +full:device

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
51 * struct v4l2_fwnode_bus_parallel - parallel data bus data structure
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
115 * struct v4l2_fwnode_link - a link between two endpoints
129 * v4l2_fwnode_endpoint_parse() - parse all fwnode node properties
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
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
195 * grand-parent node of the port node otherwise).
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
218 * typedef parse_endpoint_func - Driver's callback function to be called on
221 * @dev: pointer to &struct device
227 * * %-ENOTCONN if the endpoint is to be skipped but this
229 * * %-EINVAL if the endpoint configuration is invalid
231 typedef int (*parse_endpoint_func)(struct device *dev,
237 * v4l2_async_notifier_parse_fwnode_endpoints - Parse V4L2 fwnode endpoints in a
238 * device node
239 * @dev: the device the endpoints of which are to be parsed
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
280 struct device *dev, struct v4l2_async_notifier *notifier,
285 * v4l2_async_notifier_parse_fwnode_endpoints_by_port - Parse V4L2 fwnode
287 * device node
288 * @dev: the device the endpoints of which are to be parsed
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
305 * Parse the fwnode endpoints of the @dev device on a given @port and populate
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
336 struct device *dev, struct v4l2_async_notifier *notifier,
341 * v4l2_fwnode_reference_parse_sensor_common - parse common references on
342 * sensors for async sub-devices
343 * @dev: the device node the properties of which are parsed for references
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
359 struct device *dev, struct v4l2_async_notifier *notifier);