/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-common.c | 15 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 19 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 26 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 33 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 40 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 47 .mbus_code = MEDIA_BUS_FMT_SRGGB12_1X12, 54 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 61 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, 68 .mbus_code = MEDIA_BUS_FMT_SGRBG12_1X12, 75 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, [all …]
|
/drivers/media/platform/sunxi/sun6i-csi/ |
D | sun6i_csi_bridge.c | 28 u32 *mbus_code, u32 *field) in sun6i_csi_bridge_format() argument 30 if (mbus_code) in sun6i_csi_bridge_format() 31 *mbus_code = csi_dev->bridge.mbus_format.code; in sun6i_csi_bridge_format() 41 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 45 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 49 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 53 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 57 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 61 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 65 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, [all …]
|
D | sun6i_csi_capture.c | 219 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 223 .mbus_code = MEDIA_BUS_FMT_YUYV8_1X16, 227 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8, 231 .mbus_code = MEDIA_BUS_FMT_YVYU8_1X16, 235 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, 239 .mbus_code = MEDIA_BUS_FMT_UYVY8_1X16, 243 .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8, 247 .mbus_code = MEDIA_BUS_FMT_VYUY8_1X16, 252 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 256 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_BE, [all …]
|
D | sun6i_csi_bridge.h | 24 u32 mbus_code; member 57 u32 *mbus_code, u32 *field); 62 sun6i_csi_bridge_format_find(u32 mbus_code);
|
/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-pipe.c | 38 .mbus_code = MEDIA_BUS_FMT_UYVY8_1X16, 43 .mbus_code = MEDIA_BUS_FMT_YUV8_1X24, 50 .mbus_code = MEDIA_BUS_FMT_RGB565_1X16, 55 .mbus_code = MEDIA_BUS_FMT_RGB888_1X24, 63 .mbus_code = MEDIA_BUS_FMT_Y8_1X8, 69 .mbus_code = MEDIA_BUS_FMT_Y10_1X10, 75 .mbus_code = MEDIA_BUS_FMT_Y12_1X12, 81 .mbus_code = MEDIA_BUS_FMT_Y14_1X14, 87 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 93 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, [all …]
|
D | imx8-isi-video.c | 40 .mbus_code = MEDIA_BUS_FMT_YUV8_1X24, 51 .mbus_code = MEDIA_BUS_FMT_YUV8_1X24, 60 .mbus_code = MEDIA_BUS_FMT_YUV8_1X24, 71 .mbus_code = MEDIA_BUS_FMT_YUV8_1X24, 82 .mbus_code = MEDIA_BUS_FMT_YUV8_1X24, 93 .mbus_code = MEDIA_BUS_FMT_YUV8_1X24, 104 .mbus_code = MEDIA_BUS_FMT_YUV8_1X24, 117 .mbus_code = MEDIA_BUS_FMT_RGB888_1X24, 128 .mbus_code = MEDIA_BUS_FMT_RGB888_1X24, 139 .mbus_code = MEDIA_BUS_FMT_RGB888_1X24, [all …]
|
/drivers/staging/media/deprecated/atmel/ |
D | atmel-sama7g5-isc.c | 113 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 119 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 125 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 131 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 137 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 143 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 149 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 155 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 161 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 167 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, [all …]
|
D | atmel-sama5d2-isc.c | 104 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 110 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 116 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 122 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 128 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 134 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 140 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 146 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 152 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 158 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, [all …]
|
D | atmel-isc-base.c | 44 #define ISC_IS_FORMAT_RAW(mbus_code) \ argument 45 (((mbus_code) & 0xf000) == 0x3000) 47 #define ISC_IS_FORMAT_GREY(mbus_code) \ argument 48 (((mbus_code) == MEDIA_BUS_FMT_Y10_1X10) | \ 49 (((mbus_code) == MEDIA_BUS_FMT_Y8_1X8))) 149 if (!ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) { in isc_crop_pfe() 328 ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_configure() 383 if (ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_start_streaming() 518 if (!ISC_IS_FORMAT_RAW(isc->formats_list[i].mbus_code) || in isc_enum_fmt_vid_cap() 600 if ((bayer) && !ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) in isc_try_validate_formats() [all …]
|
/drivers/media/platform/microchip/ |
D | microchip-sama7g5-isc.c | 133 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 139 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 145 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 151 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 157 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 163 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 169 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 175 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 181 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 187 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, [all …]
|
D | microchip-sama5d2-isc.c | 124 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 130 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 136 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 142 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 148 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 154 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 160 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 166 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 172 .mbus_code = MEDIA_BUS_FMT_SBGGR12_1X12, 178 .mbus_code = MEDIA_BUS_FMT_SGBRG12_1X12, [all …]
|
D | microchip-csi2dc.c | 115 u32 mbus_code; member 121 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 124 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 127 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 130 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 133 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 136 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 139 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 142 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 145 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, [all …]
|
D | microchip-isc-base.c | 35 #define ISC_IS_FORMAT_RAW(mbus_code) \ argument 36 (((mbus_code) & 0xf000) == 0x3000) 38 #define ISC_IS_FORMAT_GREY(mbus_code) \ argument 39 (((mbus_code) == MEDIA_BUS_FMT_Y10_1X10) | \ 40 (((mbus_code) == MEDIA_BUS_FMT_Y8_1X8))) 139 if (!ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) { in isc_crop_pfe() 318 ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_configure() 379 if (ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_start_streaming() 503 if (!f->mbus_code) { in isc_enum_fmt_vid_cap() 520 fmt = isc_find_format_by_code(isc, f->mbus_code, &i); in isc_enum_fmt_vid_cap() [all …]
|
/drivers/staging/media/sunxi/sun6i-isp/ |
D | sun6i_isp_proc.c | 33 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 37 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 41 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 45 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 50 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 54 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 58 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 62 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 67 const struct sun6i_isp_proc_format *sun6i_isp_proc_format_find(u32 mbus_code) in sun6i_isp_proc_format_find() argument 72 if (sun6i_isp_proc_formats[i].mbus_code == mbus_code) in sun6i_isp_proc_format_find() [all …]
|
D | sun6i_isp_proc.h | 25 u32 mbus_code; member 59 const struct sun6i_isp_proc_format *sun6i_isp_proc_format_find(u32 mbus_code);
|
/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
D | sun6i_mipi_csi2.c | 27 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 32 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 37 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 42 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 47 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 52 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 57 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 62 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 69 sun6i_mipi_csi2_format_find(u32 mbus_code) in sun6i_mipi_csi2_format_find() argument 74 if (sun6i_mipi_csi2_formats[i].mbus_code == mbus_code) in sun6i_mipi_csi2_format_find() [all …]
|
/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
D | sun8i_a83t_mipi_csi2.c | 30 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8, 35 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8, 40 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8, 45 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8, 50 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, 55 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10, 60 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10, 65 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10, 72 sun8i_a83t_mipi_csi2_format_find(u32 mbus_code) in sun8i_a83t_mipi_csi2_format_find() argument 77 if (sun8i_a83t_mipi_csi2_formats[i].mbus_code == mbus_code) in sun8i_a83t_mipi_csi2_format_find() [all …]
|
/drivers/media/platform/st/stm32/ |
D | stm32-dcmi.c | 104 u32 mbus_code; member 997 v4l2_fill_mbus_format(&format.format, pix, sd_fmt->mbus_code); in dcmi_try_fmt() 1071 sd_format->mbus_code); in dcmi_set_fmt() 1158 v4l2_fill_mbus_format(&format.format, pix, sd_fmt->mbus_code); in dcmi_set_sensor_format() 1360 fse.code = sd_fmt->mbus_code; in dcmi_enum_framesizes() 1407 fie.code = sd_fmt->mbus_code; in dcmi_enum_frameintervals() 1550 .mbus_code = MEDIA_BUS_FMT_RGB565_2X8_LE, 1554 .mbus_code = MEDIA_BUS_FMT_RGB565_1X16, 1558 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8, 1562 .mbus_code = MEDIA_BUS_FMT_YUYV8_1X16, [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/staging/media/atomisp/pci/ |
D | atomisp_ioctl.c | 322 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YUV420, 329 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YVU420, 336 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YUV422P, 343 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YUV444, 349 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV12, 356 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV21, 363 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV16, 370 .mbus_code = V4L2_MBUS_FMT_CUSTOM_YUYV, 376 .mbus_code = MEDIA_BUS_FMT_UYVY8_1X16, 382 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8, [all …]
|
/drivers/media/platform/renesas/ |
D | renesas-ceu.c | 129 u32 mbus_code; member 792 u32 mbus_code; in __ceu_try_fmt() local 804 mbus_code_old = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 808 mbus_code = MEDIA_BUS_FMT_YUYV8_2X8; in __ceu_try_fmt() 811 mbus_code = MEDIA_BUS_FMT_UYVY8_2X8; in __ceu_try_fmt() 814 mbus_code = MEDIA_BUS_FMT_YVYU8_2X8; in __ceu_try_fmt() 817 mbus_code = MEDIA_BUS_FMT_VYUY8_2X8; in __ceu_try_fmt() 823 mbus_code = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 828 mbus_code = ceu_sd->mbus_fmt.mbus_code; in __ceu_try_fmt() 845 sd_format.format.code = mbus_code; in __ceu_try_fmt() [all …]
|
/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 | ov8865.c | 671 u32 mbus_code; member 1605 u32 mbus_code) in ov8865_mode_pll1_configure() argument 1613 switch (mbus_code) { in ov8865_mode_pll1_configure() 1910 const struct ov8865_mode *mode, u32 mbus_code) in ov8865_mode_configure() argument 2086 ret = ov8865_mode_pll1_configure(sensor, mode, mbus_code); in ov8865_mode_configure() 2241 u32 mbus_code) in ov8865_state_mipi_configure() argument 2282 switch (mbus_code) { in ov8865_state_mipi_configure() 2300 u32 mbus_code) in ov8865_state_configure() argument 2310 ret = ov8865_mode_configure(sensor, mode, mbus_code); in ov8865_state_configure() 2315 ret = ov8865_state_mipi_configure(sensor, mode, mbus_code); in ov8865_state_configure() [all …]
|
/drivers/media/platform/atmel/ |
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/media/platform/samsung/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()
|