Lines Matching refs:sd_fmt
120 struct v4l2_subdev_format sd_fmt = { in __subdev_get_format() local
124 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; in __subdev_get_format()
127 ret = v4l2_subdev_call(ctx->phy->source, pad, get_fmt, NULL, &sd_fmt); in __subdev_get_format()
142 struct v4l2_subdev_format sd_fmt = { in __subdev_set_format() local
146 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format; in __subdev_set_format()
151 ret = v4l2_subdev_call(ctx->phy->source, pad, set_fmt, NULL, &sd_fmt); in __subdev_set_format()
256 struct v4l2_subdev_format sd_fmt = { in cal_legacy_s_fmt_vid_cap() local
274 v4l2_fill_mbus_format(&sd_fmt.format, &f->fmt.pix, fmtinfo->code); in cal_legacy_s_fmt_vid_cap()
276 ret = __subdev_set_format(ctx, &sd_fmt.format); in cal_legacy_s_fmt_vid_cap()
281 if (sd_fmt.format.code != fmtinfo->code) { in cal_legacy_s_fmt_vid_cap()
288 v4l2_fill_pix_format(&ctx->v_fmt.fmt.pix, &sd_fmt.format); in cal_legacy_s_fmt_vid_cap()
291 ctx->v_fmt.fmt.pix.field = sd_fmt.format.field; in cal_legacy_s_fmt_vid_cap()
294 v4l2_subdev_call(&ctx->phy->subdev, pad, set_fmt, NULL, &sd_fmt); in cal_legacy_s_fmt_vid_cap()