Lines Matching full:vin
3 * Driver for Renesas R-Car VIN
31 /* Max number on VIN instances that can be in a system */
129 * CSI-2 receiver to a VIN
131 * @master: VIN group master ID.
133 * @chsel: CHSEL register values that connects VIN group to CSI-2.
136 * Each R-Car CSI-2 receiver has four output channels facing the VIN
140 * on which channel, the VIN devices only care about output channels.
149 * struct rvin_info - Information about the particular VIN implementation
150 * @model: VIN model
152 * @use_isp: the VIN is connected to the ISP and not to the CSI-2
154 * @max_width: max input width the VIN supports
155 * @max_height: max input height the VIN supports
171 * struct rvin_dev - Renesas VIN device structure
174 * @info: info about VIN instance
176 * @vdev: V4L2 video device associated with VIN
184 * @id: Gen3 group id for this VIN
198 * @is_csi: flag to mark the VIN as using a CSI-2 subdevice
256 #define vin_to_source(vin) ((vin)->parallel.subdev) argument
265 * struct rvin_group - VIN CSI2 group information
266 * @refcount: number of VIN instances using the group
270 * @lock: protects the count, notifier, vin and csi members
271 * @count: number of enabled VIN instances found in DT
273 * @vin: VIN instances which are part of the group
286 struct rvin_dev *vin[RCAR_VIN_NUM]; member
288 int (*link_setup)(struct rvin_dev *vin);
296 int rvin_dma_register(struct rvin_dev *vin, int irq);
297 void rvin_dma_unregister(struct rvin_dev *vin);
299 int rvin_v4l2_register(struct rvin_dev *vin);
300 void rvin_v4l2_unregister(struct rvin_dev *vin);
302 const struct rvin_video_format *rvin_format_from_pixel(struct rvin_dev *vin,
307 void rvin_crop_scale_comp(struct rvin_dev *vin);
309 int rvin_set_channel_routing(struct rvin_dev *vin, u8 chsel);
310 void rvin_set_alpha(struct rvin_dev *vin, unsigned int alpha);
312 int rvin_start_streaming(struct rvin_dev *vin);
313 void rvin_stop_streaming(struct rvin_dev *vin);