Lines Matching refs:sd_fmt
149 struct v4l2_subdev_format sd_fmt = { in cobalt_enable_output() local
161 sd_fmt.format.colorspace = s->colorspace; in cobalt_enable_output()
162 sd_fmt.format.xfer_func = s->xfer_func; in cobalt_enable_output()
163 sd_fmt.format.ycbcr_enc = s->ycbcr_enc; in cobalt_enable_output()
164 sd_fmt.format.quantization = s->quantization; in cobalt_enable_output()
165 sd_fmt.format.width = bt->width; in cobalt_enable_output()
166 sd_fmt.format.height = bt->height; in cobalt_enable_output()
171 sd_fmt.format.code = MEDIA_BUS_FMT_UYVY8_1X16; in cobalt_enable_output()
174 sd_fmt.format.code = MEDIA_BUS_FMT_RGB888_1X24; in cobalt_enable_output()
177 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, &sd_fmt); in cobalt_enable_output()
711 struct v4l2_subdev_format sd_fmt; in cobalt_g_fmt_vid_cap() local
721 sd_fmt.pad = s->pad_source; in cobalt_g_fmt_vid_cap()
722 sd_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in cobalt_g_fmt_vid_cap()
723 v4l2_subdev_call(s->sd, pad, get_fmt, NULL, &sd_fmt); in cobalt_g_fmt_vid_cap()
724 v4l2_fill_pix_format(pix, &sd_fmt.format); in cobalt_g_fmt_vid_cap()
738 struct v4l2_subdev_format sd_fmt; in cobalt_try_fmt_vid_cap() local
763 sd_fmt.pad = s->pad_source; in cobalt_try_fmt_vid_cap()
764 sd_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in cobalt_try_fmt_vid_cap()
765 v4l2_subdev_call(s->sd, pad, get_fmt, NULL, &sd_fmt); in cobalt_try_fmt_vid_cap()
766 v4l2_fill_pix_format(pix, &sd_fmt.format); in cobalt_try_fmt_vid_cap()
909 struct v4l2_subdev_format sd_fmt = { 0 }; in cobalt_s_fmt_vid_out() local
940 sd_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in cobalt_s_fmt_vid_out()
941 v4l2_fill_mbus_format(&sd_fmt.format, pix, code); in cobalt_s_fmt_vid_out()
942 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, &sd_fmt); in cobalt_s_fmt_vid_out()