/drivers/media/platform/sunxi/sun6i-csi/ |
D | sun6i_csi.c | 51 u32 pixformat, u32 mbus_code) in sun6i_csi_is_format_supported() argument 72 switch (mbus_code) { in sun6i_csi_is_format_supported() 80 mbus_code); in sun6i_csi_is_format_supported() 94 return (mbus_code == MEDIA_BUS_FMT_SBGGR8_1X8); in sun6i_csi_is_format_supported() 96 return (mbus_code == MEDIA_BUS_FMT_SGBRG8_1X8); in sun6i_csi_is_format_supported() 98 return (mbus_code == MEDIA_BUS_FMT_SGRBG8_1X8); in sun6i_csi_is_format_supported() 100 return (mbus_code == MEDIA_BUS_FMT_SRGGB8_1X8); in sun6i_csi_is_format_supported() 102 return (mbus_code == MEDIA_BUS_FMT_SBGGR10_1X10); in sun6i_csi_is_format_supported() 104 return (mbus_code == MEDIA_BUS_FMT_SGBRG10_1X10); in sun6i_csi_is_format_supported() 106 return (mbus_code == MEDIA_BUS_FMT_SGRBG10_1X10); in sun6i_csi_is_format_supported() [all …]
|
D | sun6i_video.h | 29 u32 mbus_code; member
|
D | sun6i_video.c | 148 if (video->mbus_code == 0) { in sun6i_video_start_streaming() 158 config.code = video->mbus_code; in sun6i_video_start_streaming() 555 video->mbus_code = 0; in sun6i_video_link_validate() 586 video->mbus_code = source_fmt.format.code; in sun6i_video_link_validate()
|
D | sun6i_csi.h | 58 u32 mbus_code);
|
/drivers/media/platform/atmel/ |
D | atmel-isc-base.c | 82 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 88 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 94 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 100 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 106 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 112 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 118 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 124 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 130 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 136 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, [all …]
|
D | atmel-isi.c | 88 u32 mbus_code; member 578 v4l2_fill_mbus_format(&format.format, pixfmt, isi_fmt->mbus_code); in isi_try_fmt() 609 current_fmt->mbus_code); in isi_set_fmt() 714 fse.code = isi_fmt->mbus_code; in isi_enum_framesizes() 745 fie.code = isi_fmt->mbus_code; in isi_enum_frameintervals() 955 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 960 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8, 965 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 970 .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8, 975 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, [all …]
|
D | atmel-isc.h | 65 u32 mbus_code; member
|
/drivers/staging/greybus/ |
D | camera.c | 77 enum v4l2_mbus_pixelcode mbus_code; member 85 .mbus_code = V4L2_MBUS_FMT_UYVY8_1X16, 90 .mbus_code = V4L2_MBUS_FMT_NV12_1x8, 95 .mbus_code = V4L2_MBUS_FMT_NV21_1x8, 100 .mbus_code = V4L2_MBUS_FMT_YU12_1x8, 105 .mbus_code = V4L2_MBUS_FMT_YV12_1x8, 110 .mbus_code = V4L2_MBUS_FMT_JPEG_1X8, 115 .mbus_code = V4L2_MBUS_FMT_GB_CAM_METADATA_1X8, 120 .mbus_code = V4L2_MBUS_FMT_GB_CAM_DEBUG_DATA_1X8, 125 .mbus_code = V4L2_MBUS_FMT_SBGGR10_1X10, [all …]
|
/drivers/media/platform/ |
D | renesas-ceu.c | 130 u32 mbus_code; member 799 u32 mbus_code; in __ceu_try_fmt() local 811 mbus_code_old = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 815 mbus_code = MEDIA_BUS_FMT_YUYV8_2X8; in __ceu_try_fmt() 818 mbus_code = MEDIA_BUS_FMT_UYVY8_2X8; in __ceu_try_fmt() 821 mbus_code = MEDIA_BUS_FMT_YVYU8_2X8; in __ceu_try_fmt() 824 mbus_code = MEDIA_BUS_FMT_VYUY8_2X8; in __ceu_try_fmt() 830 mbus_code = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 835 mbus_code = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 852 sd_format.format.code = mbus_code; in __ceu_try_fmt() [all …]
|
D | via-camera.c | 102 u32 mbus_code; member 150 u32 mbus_code; member 154 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 260 v4l2_fill_mbus_format(&format.format, &cam->sensor_format, cam->mbus_code); in viacam_configure_sensor() 854 v4l2_fill_mbus_format(&format.format, spix, f->mbus_code); in viacam_do_try_fmt() 908 cam->mbus_code = f->mbus_code; in viacam_s_fmt_vid_cap() 969 .code = cam->mbus_code, in viacam_enum_frameintervals() 1191 cam->mbus_code = via_def_mbus_code; in viacam_probe()
|
/drivers/media/i2c/ |
D | vs6624.c | 36 u32 mbus_code; member 40 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 44 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 48 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 555 code->code = vs6624_formats[code->index].mbus_code; in vs6624_enum_mbus_code() 571 if (vs6624_formats[index].mbus_code == fmt->code) in vs6624_set_fmt() 576 fmt->code = vs6624_formats[0].mbus_code; in vs6624_set_fmt()
|
D | ov7670.c | 665 u32 mbus_code; member 671 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 677 .mbus_code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE, 683 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 689 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 805 if (info->fmt->mbus_code == MEDIA_BUS_FMT_SBGGR8_1X8) in ov7675_get_framerate() 846 if (info->fmt->mbus_code == MEDIA_BUS_FMT_SBGGR8_1X8) in ov7675_set_framerate() 955 code->code = ov7670_formats[code->index].mbus_code; in ov7670_enum_mbus_code() 971 if (ov7670_formats[index].mbus_code == fmt->code) in ov7670_try_fmt_internal() 976 fmt->code = ov7670_formats[0].mbus_code; in ov7670_try_fmt_internal() [all …]
|
D | ov7740.c | 130 u32 mbus_code; member 697 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 703 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 718 code->code = ov7740_formats[code->index].mbus_code; in ov7740_enum_mbus_code() 768 if (ov7740_formats[index].mbus_code == fmt->code) in ov7740_try_fmt_internal() 774 fmt->code = ov7740_formats[0].mbus_code; in ov7740_try_fmt_internal() 899 format->code = ov7740->fmt->mbus_code; in ov7740_get_default_format()
|
/drivers/media/platform/exynos4-is/ |
D | fimc-isp.c | 40 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 46 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 52 .mbus_code = MEDIA_BUS_FMT_SGRBG12_1X12, 63 const u32 *mbus_code, int index) in fimc_isp_find_format() argument 76 if (mbus_code && fmt->mbus_code == *mbus_code) in fimc_isp_find_format() 117 code->code = fmt->mbus_code; in fimc_is_subdev_enum_mbus_code() 366 .code = fimc_isp_formats[0].mbus_code, in fimc_isp_subdev_open()
|
D | fimc-lite.c | 47 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 55 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 63 .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8, 71 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8, 79 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 87 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 95 .mbus_code = MEDIA_BUS_FMT_SGRBG12_1X12, 108 const u32 *mbus_code, unsigned int mask, int index) in fimc_lite_find_format() argument 123 if (mbus_code && fmt->mbus_code == *mbus_code) in fimc_lite_find_format() 568 mf->code = fmt->mbus_code; in fimc_lite_subdev_try_fmt() [all …]
|
D | fimc-core.c | 74 .mbus_code = MEDIA_BUS_FMT_YUV10_1X30, 82 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 90 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 98 .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8, 106 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8, 170 .mbus_code = MEDIA_BUS_FMT_JPEG_1X8, 179 .mbus_code = MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8, 756 struct fimc_fmt *fimc_find_format(const u32 *pixelformat, const u32 *mbus_code, in fimc_find_format() argument 772 if (mbus_code && fmt->mbus_code == *mbus_code) in fimc_find_format()
|
D | fimc-capture.c | 588 *code = ctx->s_frame.fmt->mbus_code; in fimc_capture_try_format() 601 *code = ffmt->mbus_code; in fimc_capture_try_format() 803 mf->code = tfmt->code = ffmt->mbus_code; in fimc_pipeline_try_format() 839 if (ffmt && ffmt->mbus_code) in fimc_pipeline_try_format() 840 mf->code = ffmt->mbus_code; in fimc_pipeline_try_format() 959 mf->code = (*out_fmt)->mbus_code; in __video_try_or_set_format() 1142 sink_fmt.format.code = ff->fmt ? ff->fmt->mbus_code : 0; in fimc_pipeline_validate() 1485 code->code = fmt->mbus_code; in fimc_subdev_enum_mbus_code() 1510 mf->code = ff->fmt->mbus_code; in fimc_subdev_get_fmt() 1791 vid_cap->ci_fmt.code = fmt->mbus_code; in fimc_register_capture_device() [all …]
|
D | fimc-isp.h | 189 const u32 *mbus_code, int index);
|
D | fimc-lite-reg.c | 129 u32 pixelcode = f->fmt->mbus_code; in flite_hw_set_source_format() 241 if (pixcode[i][0] == f->fmt->mbus_code) in flite_hw_set_out_order()
|
/drivers/media/platform/stm32/ |
D | stm32-dcmi.c | 111 u32 mbus_code; member 1004 v4l2_fill_mbus_format(&format.format, pix, sd_fmt->mbus_code); in dcmi_try_fmt() 1078 sd_format->mbus_code); in dcmi_set_fmt() 1166 v4l2_fill_mbus_format(&format.format, pix, sd_fmt->mbus_code); in dcmi_set_sensor_format() 1369 fse.code = sd_fmt->mbus_code; in dcmi_enum_framesizes() 1416 fie.code = sd_fmt->mbus_code; in dcmi_enum_frameintervals() 1565 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 1569 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 1573 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 1577 .mbus_code = MEDIA_BUS_FMT_JPEG_1X8, [all …]
|
/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 104 u32 mbus_code; member 108 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 114 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 120 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 126 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 132 .mbus_code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE, 138 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 144 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 1035 v4l2_fill_mbus_format(&format.format, &cam->pix_format, cam->mbus_code); in mcam_cam_configure() 1379 v4l2_fill_mbus_format(&format.format, pix, f->mbus_code); in mcam_vidioc_try_fmt_vid_cap() [all …]
|
/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 32 u32 mbus_code; member 45 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 49 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 53 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 57 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 69 const u32 *mbus_code) in cio2_find_format() argument 76 if (mbus_code && *mbus_code != formats[i].mbus_code) in cio2_find_format() 1215 .code = formats[0].mbus_code, in cio2_subdev_open() 1313 code->code = formats[code->index].mbus_code; in cio2_subdev_enum_mbus_code() 1566 fmt->code = dflt_fmt.mbus_code; in cio2_queue_init()
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 49 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 58 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 67 .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8, 76 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8, 209 const struct gsc_fmt *find_fmt(u32 *pixelformat, u32 *mbus_code, u32 index) in find_fmt() argument 221 if (mbus_code && fmt->mbus_code == *mbus_code) in find_fmt()
|
D | gsc-core.h | 115 u32 mbus_code; member 385 const struct gsc_fmt *find_fmt(u32 *pixelformat, u32 *mbus_code, u32 index);
|
/drivers/media/platform/rcar-vin/ |
D | rcar-vin.h | 213 u32 mbus_code; member
|