Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_v4l2.c291 struct v4l2_mbus_framefmt *subdev_fmt; in sun4i_csi_subdev_get_fmt() local
294 subdev_fmt = v4l2_subdev_get_try_format(subdev, cfg, fmt->pad); in sun4i_csi_subdev_get_fmt()
296 subdev_fmt = &csi->subdev_fmt; in sun4i_csi_subdev_get_fmt()
298 fmt->format = *subdev_fmt; in sun4i_csi_subdev_get_fmt()
308 struct v4l2_mbus_framefmt *subdev_fmt; in sun4i_csi_subdev_set_fmt() local
311 subdev_fmt = v4l2_subdev_get_try_format(subdev, cfg, fmt->pad); in sun4i_csi_subdev_set_fmt()
313 subdev_fmt = &csi->subdev_fmt; in sun4i_csi_subdev_set_fmt()
318 subdev_fmt->width = fmt->format.width; in sun4i_csi_subdev_set_fmt()
319 subdev_fmt->height = fmt->format.height; in sun4i_csi_subdev_set_fmt()
320 subdev_fmt->code = fmt->format.code; in sun4i_csi_subdev_set_fmt()
[all …]
Dsun4i_csi.h139 struct v4l2_mbus_framefmt subdev_fmt; member
/Linux-v5.10/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c361 fmt = cio2_find_format(NULL, &q->subdev_fmt.code); in cio2_hw_init()
1251 q->subdev_fmt.colorspace = format.format.colorspace; in cio2_subdev_get_fmt()
1252 q->subdev_fmt.ycbcr_enc = format.format.ycbcr_enc; in cio2_subdev_get_fmt()
1253 q->subdev_fmt.quantization = format.format.quantization; in cio2_subdev_get_fmt()
1254 q->subdev_fmt.xfer_func = format.format.xfer_func; in cio2_subdev_get_fmt()
1257 fmt->format = q->subdev_fmt; in cio2_subdev_get_fmt()
1286 q->subdev_fmt.width = fmt->format.width; in cio2_subdev_set_fmt()
1287 q->subdev_fmt.height = fmt->format.height; in cio2_subdev_set_fmt()
1288 q->subdev_fmt.code = fmt->format.code; in cio2_subdev_set_fmt()
1289 fmt->format = q->subdev_fmt; in cio2_subdev_set_fmt()
[all …]
Dipu3-cio2.h339 struct v4l2_mbus_framefmt subdev_fmt; member