Home
last modified time | relevance | path

Searched refs:req_fmt (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/media/platform/atmel/
Dmicrochip-csi2dc.c249 struct v4l2_subdev_format *req_fmt) in csi2dc_set_fmt() argument
260 if (req_fmt->pad == CSI2DC_PAD_SOURCE) in csi2dc_set_fmt()
265 if (req_fmt->format.code == fmt->mbus_code) in csi2dc_set_fmt()
276 req_fmt->format.code, csi2dc_formats[0].mbus_code); in csi2dc_set_fmt()
279 req_fmt->format.code = try_fmt->mbus_code; in csi2dc_set_fmt()
280 req_fmt->format.colorspace = V4L2_COLORSPACE_SRGB; in csi2dc_set_fmt()
281 req_fmt->format.field = V4L2_FIELD_NONE; in csi2dc_set_fmt()
283 if (req_fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in csi2dc_set_fmt()
285 req_fmt->pad); in csi2dc_set_fmt()
286 *v4l2_try_fmt = req_fmt->format; in csi2dc_set_fmt()
[all …]