Lines Matching +full:sub +full:- +full:nodes

1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
22 #include <media/v4l2-mediabus.h>
23 #include <media/v4l2-subdev.h>
32 * struct v4l2_fwnode_bus_mipi_csi2 - MIPI CSI-2 bus data structure
49 * struct v4l2_fwnode_bus_parallel - parallel data bus data structure
61 * struct v4l2_fwnode_bus_mipi_csi1 - CSI-1/CCP2 data bus structure
63 * false - not inverted, true - inverted
64 * @strobe: false - data/clock, true - data/strobe
79 * struct v4l2_fwnode_endpoint - the endpoint data structure
113 * struct v4l2_fwnode_link - a link between two endpoints
127 * v4l2_fwnode_endpoint_parse() - parse all fwnode node properties
134 * endpoint --- a configuration that shall be in line with the DT binding
136 * call this function once the correct type is found --- with a default
143 * is only supported for CSI-2 D-PHY, parallel and Bt.656 buses.
152 * %-ENOMEM on memory allocation failure
153 * %-EINVAL on parsing failure
154 * %-ENXIO on mismatching bus types
160 * v4l2_fwnode_endpoint_free() - free the V4L2 fwnode acquired by
170 * v4l2_fwnode_endpoint_alloc_parse() - parse all fwnode node properties
177 * endpoint --- a configuration that shall be in line with the DT binding
179 * call this function once the correct type is found --- with a default
186 * is only supported for CSI-2 D-PHY, parallel and Bt.656 buses.
199 * %-ENOMEM on memory allocation failure
200 * %-EINVAL on parsing failure
201 * %-ENXIO on mismatching bus types
207 * v4l2_fwnode_parse_link() - parse a link between two endpoints
211 * Fill the link structure with the local and remote nodes and port numbers.
213 * remote port's parent nodes respectively (the port parent node being the
215 * grand-parent node of the port node otherwise).
217 * A reference is taken to both the local and remote nodes, the caller must use
221 * Return: 0 on success, or -ENOLINK if the remote endpoint fwnode can't be
228 * v4l2_fwnode_put_link() - drop references to nodes in a link
231 * Drop references to the local and remote nodes in the link. This function
237 * typedef parse_endpoint_func - Driver's callback function to be called on
246 * * %-ENOTCONN if the endpoint is to be skipped but this
248 * * %-EINVAL if the endpoint configuration is invalid
255 * v4l2_async_notifier_parse_fwnode_endpoints - Parse V4L2 fwnode endpoints in a
259 * @asd_struct_size: size of the driver's async sub-device struct, including
262 * the driver's async sub-device struct, i.e. both
267 * Parse the fwnode endpoints of the @dev device and populate the async sub-
269 * called for each endpoint with the corresponding async sub-device pointer to
270 * let the caller initialize the driver-specific part of the async sub-device
285 * sub-devices are no longer in use, even if the function returned an error.
287 * Return: %0 on success, including when no async sub-devices are found
288 * %-ENOMEM if memory allocation failed
289 * %-EINVAL if graph or endpoint parsing failed
299 * v4l2_async_notifier_parse_fwnode_endpoints_by_port - Parse V4L2 fwnode
304 * @asd_struct_size: size of the driver's async sub-device struct, including
307 * the driver's async sub-device struct, i.e. both
315 * on devices that have both sinks and sources: the async sub-devices connected
320 * the async sub-devices list of the notifier. The @parse_endpoint callback
321 * function is called for each endpoint with the corresponding async sub-device
322 * pointer to let the caller initialize the driver-specific part of the async
323 * sub-device structure.
337 * sub-devices are no longer in use, even if the function returned an error.
339 * Return: %0 on success, including when no async sub-devices are found
340 * %-ENOMEM if memory allocation failed
341 * %-EINVAL if graph or endpoint parsing failed
352 * v4l2_fwnode_reference_parse_sensor_common - parse common references on
353 * sensors for async sub-devices
358 * sensor and set up async sub-devices for them.
362 * sub-devices are no longer in use, even in the case the function returned an
366 * -ENOMEM if memory allocation failed
367 * -EINVAL if property parsing failed
373 * v4l2_async_register_fwnode_subdev - registers a sub-device to the
374 * asynchronous sub-device framework
378 * @asd_struct_size: size of the driver's async sub-device struct, including
381 * the driver's async sub-device struct, i.e. both
384 * parse all ports owned by the sub-device.
391 * sub-device, parse the sub-device's firmware node endpoints using
394 * registers the sub-device notifier. The sub-device is similarly
397 * While registered, the subdev module is marked as in-use.