Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c285 struct v4l2_mbus_framefmt *subdev_fmt; in sun4i_csi_subdev_get_fmt() local
288 subdev_fmt = v4l2_subdev_get_try_format(subdev, sd_state, in sun4i_csi_subdev_get_fmt()
291 subdev_fmt = &csi->subdev_fmt; in sun4i_csi_subdev_get_fmt()
293 fmt->format = *subdev_fmt; in sun4i_csi_subdev_get_fmt()
303 struct v4l2_mbus_framefmt *subdev_fmt; in sun4i_csi_subdev_set_fmt() local
309 subdev_fmt = &csi->subdev_fmt; in sun4i_csi_subdev_set_fmt()
314 subdev_fmt->width = fmt->format.width; in sun4i_csi_subdev_set_fmt()
315 subdev_fmt->height = fmt->format.height; in sun4i_csi_subdev_set_fmt()
316 subdev_fmt->code = fmt->format.code; in sun4i_csi_subdev_set_fmt()
319 fmt->format = *subdev_fmt; in sun4i_csi_subdev_set_fmt()
[all …]
H A Dsun4i_csi.h139 struct v4l2_mbus_framefmt subdev_fmt; member
/openbmc/linux/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.h360 struct v4l2_mbus_framefmt subdev_fmt; member
H A Dipu3-cio2.c362 fmt = cio2_find_format(NULL, &q->subdev_fmt.code); in cio2_hw_init()
1237 fmt->format = q->subdev_fmt; in cio2_subdev_get_fmt()
1270 mbus = &q->subdev_fmt; in cio2_subdev_set_fmt()
1542 fmt = &q->subdev_fmt; in cio2_queue_init()