Home
last modified time | relevance | path

Searched refs:mbus_fmt (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/ipu-v3/
Dipu-csi.c325 struct v4l2_mbus_framefmt *mbus_fmt) in fill_csi_bus_cfg() argument
329 mbus_code_to_bus_cfg(csicfg, mbus_fmt->code); in fill_csi_bus_cfg()
344 if (V4L2_FIELD_HAS_BOTH(mbus_fmt->field)) in fill_csi_bus_cfg()
364 struct v4l2_mbus_framefmt *mbus_fmt) in ipu_csi_init_interface() argument
370 fill_csi_bus_cfg(&cfg, mbus_cfg, mbus_fmt); in ipu_csi_init_interface()
391 (mbus_fmt->width - 1) | ((mbus_fmt->height - 1) << 16), in ipu_csi_init_interface()
402 if (mbus_fmt->width == 720 && mbus_fmt->height == 576) { in ipu_csi_init_interface()
416 } else if (mbus_fmt->width == 720 && mbus_fmt->height == 480) { in ipu_csi_init_interface()
563 struct v4l2_mbus_framefmt *mbus_fmt) in ipu_csi_set_mipi_datatype() argument
572 mbus_code_to_bus_cfg(&cfg, mbus_fmt->code); in ipu_csi_set_mipi_datatype()
/drivers/media/platform/s5p-tv/
Dmixer_video.c195 struct v4l2_mbus_framefmt mbus_fmt; in mxr_layer_default_geo() local
199 mxr_get_mbus_fmt(mdev, &mbus_fmt); in mxr_layer_default_geo()
201 layer->geo.dst.full_width = mbus_fmt.width; in mxr_layer_default_geo()
202 layer->geo.dst.full_height = mbus_fmt.height; in mxr_layer_default_geo()
205 layer->geo.dst.field = mbus_fmt.field; in mxr_layer_default_geo()
207 layer->geo.src.full_width = mbus_fmt.width; in mxr_layer_default_geo()
208 layer->geo.src.full_height = mbus_fmt.height; in mxr_layer_default_geo()
220 struct v4l2_mbus_framefmt mbus_fmt; in mxr_layer_update_output() local
222 mxr_get_mbus_fmt(mdev, &mbus_fmt); in mxr_layer_update_output()
224 if (layer->geo.dst.full_width == mbus_fmt.width && in mxr_layer_update_output()
[all …]
Dmixer_drv.c46 struct v4l2_mbus_framefmt *mbus_fmt) in mxr_get_mbus_fmt() argument
57 *mbus_fmt = fmt.format; in mxr_get_mbus_fmt()
72 struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; in mxr_streamer_get() local
87 mxr_reg_set_mbus_fmt(mdev, mbus_fmt); in mxr_streamer_get()
Dmixer.h328 struct v4l2_mbus_framefmt *mbus_fmt);
/drivers/media/i2c/
Ds5k6aa.c202 struct v4l2_mbus_framefmt mbus_fmt; member
321 preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; in s5k6aa_presets_data_init()
322 preset->mbus_fmt.height = S5K6AA_OUT_HEIGHT_DEF; in s5k6aa_presets_data_init()
323 preset->mbus_fmt.code = s5k6aa_formats[0].code; in s5k6aa_presets_data_init()
636 int fmt_index = s5k6aa_get_pixfmt_index(s5k6aa, &preset->mbus_fmt); in s5k6aa_set_output_framefmt()
640 preset->mbus_fmt.width); in s5k6aa_set_output_framefmt()
643 preset->mbus_fmt.height); in s5k6aa_set_output_framefmt()
953 struct v4l2_mbus_framefmt *mbus_fmt = &s5k6aa->preset->mbus_fmt; in __s5k6aa_set_frame_interval() local
966 if (mbus_fmt->width > iv->size.width || in __s5k6aa_set_frame_interval()
967 mbus_fmt->height > iv->size.height) in __s5k6aa_set_frame_interval()
[all …]
Dov9650.c1123 struct v4l2_mbus_framefmt *mbus_fmt = &ov965x->format; in __ov965x_set_frame_interval() local
1138 if (mbus_fmt->width != iv->size.width || in __ov965x_set_frame_interval()
1139 mbus_fmt->height != iv->size.height) in __ov965x_set_frame_interval()
/drivers/media/platform/s3c-camif/
Dcamif-capture.c847 if (src_fmt.format.width != camif->mbus_fmt.width || in camif_pipeline_validate()
848 src_fmt.format.height != camif->mbus_fmt.height || in camif_pipeline_validate()
849 src_fmt.format.code != camif->mbus_fmt.code) in camif_pipeline_validate()
1251 *mf = camif->mbus_fmt; in s3c_camif_subdev_get_fmt()
1258 mf->code = camif->mbus_fmt.code; in s3c_camif_subdev_get_fmt()
1338 camif->mbus_fmt = *mf; in s3c_camif_subdev_set_fmt()
1358 mf->code = camif->mbus_fmt.code; in s3c_camif_subdev_set_fmt()
1374 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt; in s3c_camif_subdev_get_selection()
1408 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt; in __camif_try_crop()
1493 camif->mbus_fmt.width, camif->mbus_fmt.height); in s3c_camif_subdev_set_selection()
[all …]
Dcamif-core.h270 struct v4l2_mbus_framefmt mbus_fmt; member
Dcamif-regs.c108 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt; in camif_hw_set_source_format()
133 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt; in camif_hw_set_camera_crop()
/drivers/media/platform/soc_camera/
Dsoc_mediabus.c18 static const struct soc_mbus_lookup mbus_fmt[] = { variable
478 return soc_mbus_find_fmtdesc(code, mbus_fmt, ARRAY_SIZE(mbus_fmt)); in soc_mbus_get_fmtdesc()
/drivers/media/pci/saa7134/
Dsaa7134-empress.c120 struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; in empress_g_fmt_vid_cap() local
124 v4l2_fill_pix_format(&f->fmt.pix, mbus_fmt); in empress_g_fmt_vid_cap()
/drivers/media/platform/am437x/
Dam437x-vpfe.c251 struct v4l2_mbus_framefmt *mbus_fmt) in pix_to_mbus() argument
263 memset(mbus_fmt, 0, sizeof(*mbus_fmt)); in pix_to_mbus()
264 v4l2_fill_mbus_format(mbus_fmt, pix_fmt, fmt->code); in pix_to_mbus()
1425 struct v4l2_mbus_framefmt mbus_fmt; in __vpfe_get_format() local
1451 v4l2_fill_pix_format(&format->fmt.pix, &mbus_fmt); in __vpfe_get_format()
1452 mbus_to_pix(vpfe, &mbus_fmt, &format->fmt.pix, bpp); in __vpfe_get_format()
/drivers/media/platform/davinci/
Dvpfe_capture.c385 struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; in vpfe_config_image_format() local
419 v4l2_fill_mbus_format(mbus_fmt, pix, in vpfe_config_image_format()
425 v4l2_fill_mbus_format(mbus_fmt, pix, in vpfe_config_image_format()
438 v4l2_fill_pix_format(pix, mbus_fmt); in vpfe_config_image_format()
/drivers/media/platform/exynos4-is/
Dfimc-capture.c961 struct v4l2_mbus_framefmt mbus_fmt; in __video_try_or_set_format() local
964 mf = try ? &mbus_fmt : &fimc->vid_cap.ci_fmt; in __video_try_or_set_format()