Lines Matching +full:csi +full:- +full:2

1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Driver for Renesas R-Car VIN
6 * Copyright (C) 2011-2013 Renesas Solutions Corp.
10 * Based on the soc-camera rcar_vin driver
18 #include <media/v4l2-async.h>
19 #include <media/v4l2-ctrls.h>
20 #include <media/v4l2-dev.h>
21 #include <media/v4l2-device.h>
22 #include <media/v4l2-fwnode.h>
23 #include <media/videobuf2-v4l2.h>
52 * STOPPED - No operation in progress
53 * STARTING - Capture starting up
54 * RUNNING - Operation in progress have buffers
55 * STOPPING - Stopping operation
71 * FULL - One capture fills the whole vb2 buffer
72 * HALF_TOP - One capture fills the top half of the vb2 buffer
73 * HALF_BOTTOM - One capture fills the bottom half of the vb2 buffer
82 * struct rvin_video_format - Data format stored in memory
92 * struct rvin_parallel_entity - Parallel video input endpoint descriptor
93 * @asd: sub-device descriptor for async framework
113 * struct rvin_group_route - describes a route from a channel of a
114 * CSI-2 receiver to a VIN
116 * @csi: CSI-2 receiver ID.
117 * @channel: Output channel of the CSI-2 receiver.
120 * allow for a route from @csi + @chan to @vin.
123 * Each R-Car CSI-2 receiver has four output channels facing the VIN
124 * devices, each channel can carry one CSI-2 Virtual Channel (VC).
125 * There is no correlation between channel number and CSI-2 VC. It's
126 * up to the CSI-2 receiver driver to configure which VC is output
130 * allow for the same route from @csi + @channel to @vin. For example
131 * on R-Car H3 both the CHSEL values 0 and 3 allow for a route from
137 enum rvin_csi_id csi; member
144 * struct rvin_info - Information about the particular VIN implementation
150 * @routes: list of possible routes from the CSI-2 recivers to
164 * struct rvin_dev - Renesas VIN device structure
176 * @group: Gen3 CSI group
191 * @is_csi: flag to mark the VIN as using a CSI-2 subdevice
247 #define vin_to_source(vin) ((vin)->parallel->subdev)
250 #define vin_dbg(d, fmt, arg...) dev_dbg(d->dev, fmt, ##arg)
251 #define vin_info(d, fmt, arg...) dev_info(d->dev, fmt, ##arg)
252 #define vin_warn(d, fmt, arg...) dev_warn(d->dev, fmt, ##arg)
253 #define vin_err(d, fmt, arg...) dev_err(d->dev, fmt, ##arg)
256 * struct rvin_group - VIN CSI2 group information
261 * @lock: protects the count, notifier, vin and csi members
263 * @notifier: group notifier for CSI-2 async subdevices
265 * @csi: array of pairs of fwnode and subdev pointers
266 * to all CSI-2 subdevices.
281 } csi[RVIN_CSI_MAX]; member