/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
|
/drivers/media/platform/atmel/ |
D | atmel-sama7g5-isc.c | 109 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 115 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 121 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 127 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 133 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 139 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 145 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 151 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 157 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 163 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, [all …]
|
D | atmel-sama5d2-isc.c | 97 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 103 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 109 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 115 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 121 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 127 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 133 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 139 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 145 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 151 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, [all …]
|
D | atmel-isc-base.c | 48 #define ISC_IS_FORMAT_RAW(mbus_code) \ argument 49 (((mbus_code) & 0xf000) == 0x3000) 51 #define ISC_IS_FORMAT_GREY(mbus_code) \ argument 52 (((mbus_code) == MEDIA_BUS_FMT_Y10_1X10) | \ 53 (((mbus_code) == MEDIA_BUS_FMT_Y8_1X8))) 447 if (!ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) { in isc_start_dma() 618 ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_configure() 672 if (ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_start_streaming() 804 if (!ISC_IS_FORMAT_RAW(isc->formats_list[i].mbus_code) || in isc_enum_fmt_vid_cap() 886 if ((bayer) && !ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) in isc_try_validate_formats() [all …]
|
D | atmel-isi.c | 87 u32 mbus_code; member 564 .code = isi_fmt->mbus_code, in isi_try_fse() 607 v4l2_fill_mbus_format(&format.format, pixfmt, isi_fmt->mbus_code); in isi_try_fmt() 641 current_fmt->mbus_code); in isi_set_fmt() 746 fse.code = isi_fmt->mbus_code; in isi_enum_framesizes() 777 fie.code = isi_fmt->mbus_code; in isi_enum_frameintervals() 992 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 997 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8, 1002 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 1007 .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8, [all …]
|
/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/rockchip/rkisp1/ |
D | rkisp1-isp.c | 59 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 63 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 70 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 77 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 84 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 91 .mbus_code = MEDIA_BUS_FMT_SRGGB12_1X12, 98 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 105 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, 112 .mbus_code = MEDIA_BUS_FMT_SGRBG12_1X12, 119 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, [all …]
|
D | rkisp1-common.h | 382 u32 mbus_code; member 436 const struct rkisp1_isp_mbus_info *rkisp1_isp_mbus_info_get(u32 mbus_code);
|
/drivers/media/i2c/ |
D | ov5648.c | 622 u32 mbus_code; member 1248 u32 mbus_code) in ov5648_mode_pll1_configure() argument 1256 switch (mbus_code) { in ov5648_mode_pll1_configure() 1319 const struct ov5648_mode *mode, u32 mbus_code) in ov5648_mode_configure() argument 1474 ret = ov5648_mode_pll1_configure(sensor, mode, mbus_code); in ov5648_mode_configure() 1496 u32 mbus_code) in ov5648_mode_mipi_clk_rate() argument 1501 switch (mbus_code) { in ov5648_mode_mipi_clk_rate() 1692 u32 mbus_code) in ov5648_state_mipi_configure() argument 1703 mipi_clk_rate = ov5648_mode_mipi_clk_rate(sensor, mode, mbus_code); in ov5648_state_mipi_configure() 1733 switch (mbus_code) { in ov5648_state_mipi_configure() [all …]
|
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 | ov8865.c | 647 u32 mbus_code; member 1552 u32 mbus_code) in ov8865_mode_pll1_configure() argument 1558 switch (mbus_code) { in ov8865_mode_pll1_configure() 1852 const struct ov8865_mode *mode, u32 mbus_code) in ov8865_mode_configure() argument 2028 ret = ov8865_mode_pll1_configure(sensor, mode, mbus_code); in ov8865_mode_configure() 2164 u32 mbus_code) in ov8865_state_mipi_configure() argument 2205 switch (mbus_code) { in ov8865_state_mipi_configure() 2223 u32 mbus_code) in ov8865_state_configure() argument 2233 ret = ov8865_mode_configure(sensor, mode, mbus_code); in ov8865_state_configure() 2238 ret = ov8865_state_mipi_configure(sensor, mode, mbus_code); in ov8865_state_configure() [all …]
|
D | ov7670.c | 668 u32 mbus_code; member 674 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 680 .mbus_code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE, 686 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 692 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 808 if (info->fmt->mbus_code == MEDIA_BUS_FMT_SBGGR8_1X8) in ov7675_get_framerate() 849 if (info->fmt->mbus_code == MEDIA_BUS_FMT_SBGGR8_1X8) in ov7675_set_framerate() 969 code->code = ov7670_formats[code->index].mbus_code; in ov7670_enum_mbus_code() 985 if (ov7670_formats[index].mbus_code == fmt->code) in ov7670_try_fmt_internal() 990 fmt->code = ov7670_formats[0].mbus_code; in ov7670_try_fmt_internal() [all …]
|
D | ov7740.c | 130 u32 mbus_code; member 695 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 701 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 716 code->code = ov7740_formats[code->index].mbus_code; in ov7740_enum_mbus_code() 766 if (ov7740_formats[index].mbus_code == fmt->code) in ov7740_try_fmt_internal() 772 fmt->code = ov7740_formats[0].mbus_code; in ov7740_try_fmt_internal() 898 format->code = ov7740->fmt->mbus_code; in ov7740_get_default_format()
|
/drivers/media/platform/ |
D | renesas-ceu.c | 130 u32 mbus_code; member 802 u32 mbus_code; in __ceu_try_fmt() local 814 mbus_code_old = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 818 mbus_code = MEDIA_BUS_FMT_YUYV8_2X8; in __ceu_try_fmt() 821 mbus_code = MEDIA_BUS_FMT_UYVY8_2X8; in __ceu_try_fmt() 824 mbus_code = MEDIA_BUS_FMT_YVYU8_2X8; in __ceu_try_fmt() 827 mbus_code = MEDIA_BUS_FMT_VYUY8_2X8; in __ceu_try_fmt() 833 mbus_code = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 838 mbus_code = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 855 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() 857 v4l2_fill_mbus_format(&format.format, spix, f->mbus_code); in viacam_do_try_fmt() 911 cam->mbus_code = f->mbus_code; in viacam_s_fmt_vid_cap() 972 .code = cam->mbus_code, in viacam_enum_frameintervals() 1194 cam->mbus_code = via_def_mbus_code; in viacam_probe()
|
/drivers/staging/media/atomisp/pci/ |
D | atomisp_ioctl.c | 342 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YUV420, 349 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YVU420, 356 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YUV422P, 363 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YUV444, 369 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV12, 376 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV21, 383 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV16, 390 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YUYV, 396 .mbus_code = MEDIA_BUS_FMT_UYVY8_1X16, 402 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, [all …]
|
/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() 371 .code = fimc_isp_formats[0].mbus_code, in fimc_isp_subdev_open()
|
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-lite.c | 48 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 56 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 64 .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8, 72 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8, 80 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 88 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 96 .mbus_code = MEDIA_BUS_FMT_SGRBG12_1X12, 109 const u32 *mbus_code, unsigned int mask, int index) in fimc_lite_find_format() argument 124 if (mbus_code && fmt->mbus_code == *mbus_code) in fimc_lite_find_format() 570 mf->code = fmt->mbus_code; in fimc_lite_subdev_try_fmt() [all …]
|
/drivers/media/platform/stm32/ |
D | stm32-dcmi.c | 104 u32 mbus_code; member 1018 v4l2_fill_mbus_format(&format.format, pix, sd_fmt->mbus_code); in dcmi_try_fmt() 1093 sd_format->mbus_code); in dcmi_set_fmt() 1184 v4l2_fill_mbus_format(&format.format, pix, sd_fmt->mbus_code); in dcmi_set_sensor_format() 1387 fse.code = sd_fmt->mbus_code; in dcmi_enum_framesizes() 1434 fie.code = sd_fmt->mbus_code; in dcmi_enum_frameintervals() 1583 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 1587 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 1591 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 1595 .mbus_code = MEDIA_BUS_FMT_JPEG_1X8, [all …]
|
/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 105 u32 mbus_code; member 109 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 115 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 121 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 127 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 133 .mbus_code = MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE, 139 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 145 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 1017 v4l2_fill_mbus_format(&format.format, &cam->pix_format, cam->mbus_code); in mcam_cam_configure() 1363 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-main.c | 34 u32 mbus_code; member 48 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 53 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 58 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 63 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 76 const u32 *mbus_code) in cio2_find_format() argument 83 if (mbus_code && *mbus_code != formats[i].mbus_code) in cio2_find_format() 1193 .code = formats[0].mbus_code, in cio2_subdev_open() 1251 u32 mbus_code = fmt->format.code; in cio2_subdev_set_fmt() local 1266 fmt->format.code = formats[0].mbus_code; in cio2_subdev_set_fmt() [all …]
|
/drivers/media/test-drivers/vimc/ |
D | vimc-scaler.c | 113 u32 mbus_code = vimc_mbus_code_by_index(code->index); in vimc_sca_enum_mbus_code() local 116 if (!mbus_code) in vimc_sca_enum_mbus_code() 119 vpix = vimc_pix_map_by_code(mbus_code); in vimc_sca_enum_mbus_code() 125 code->code = mbus_code; in vimc_sca_enum_mbus_code()
|
/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()
|