Home
last modified time | relevance | path

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

/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
/drivers/media/pci/intel/ipu3/
Dipu3-cio2.h340 struct v4l2_mbus_framefmt subdev_fmt; member
Dipu3-cio2.c361 fmt = cio2_find_format(NULL, &q->subdev_fmt.code); in cio2_hw_init()
1242 fmt->format = q->subdev_fmt; in cio2_subdev_get_fmt()
1275 mbus = &q->subdev_fmt; in cio2_subdev_set_fmt()
1553 fmt = &q->subdev_fmt; in cio2_queue_init()