Lines Matching refs:subdev_fmt
285 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
306 subdev_fmt = v4l2_subdev_get_try_format(subdev, sd_state, in sun4i_csi_subdev_set_fmt()
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()
366 csi->subdev_fmt = sun4i_csi_pad_fmt_default; in sun4i_csi_v4l2_register()