Home
last modified time | relevance | path

Searched refs:mbus_code (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.3-rc2/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-common.c15 .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,
75 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8,
82 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8,
89 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8,
96 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8,
[all …]
/linux-6.3-rc2/drivers/media/platform/sunxi/sun6i-csi/
A Dsun6i_csi_bridge.c28 u32 *mbus_code, u32 *field) in sun6i_csi_bridge_format() argument
30 if (mbus_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,
99 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8,
105 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
111 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8,
171 if (sun6i_csi_bridge_formats[i].mbus_code == mbus_code) in sun6i_csi_bridge_format_find()
[all …]
A Dsun6i_csi_capture.c219 .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,
310 .mbus_code = MEDIA_BUS_FMT_JPEG_1X8,
323 match->mbus_code == mbus_code) in sun6i_csi_capture_format_match()
[all …]
A Dsun6i_csi_bridge.h24 u32 mbus_code; member
57 u32 *mbus_code, u32 *field);
62 sun6i_csi_bridge_format_find(u32 mbus_code);
/linux-6.3-rc2/drivers/staging/media/deprecated/atmel/
A Datmel-sama7g5-isc.c113 .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,
185 .mbus_code = MEDIA_BUS_FMT_Y8_1X8,
190 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8,
195 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
[all …]
A Datmel-sama5d2-isc.c104 .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,
176 .mbus_code = MEDIA_BUS_FMT_Y8_1X8,
181 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8,
[all …]
A Datmel-isc-base.c44 #define ISC_IS_FORMAT_RAW(mbus_code) \ argument
45 (((mbus_code) & 0xf000) == 0x3000)
47 #define ISC_IS_FORMAT_GREY(mbus_code) \ argument
868 u32 mbus_code; in isc_try_fmt() local
937 mbus_code = sd_fmt->mbus_code; in isc_try_fmt()
984 *code = mbus_code; in isc_try_fmt()
1001 u32 mbus_code = 0; in isc_set_fmt() local
1765 if (fmt->mbus_code == code) { in find_format_by_code()
1788 NULL, &mbus_code)) { in isc_formats_init()
1789 mbus_code.index++; in isc_formats_init()
[all …]
/linux-6.3-rc2/drivers/media/platform/microchip/
A Dmicrochip-sama7g5-isc.c133 .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,
205 .mbus_code = MEDIA_BUS_FMT_Y8_1X8,
210 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8,
215 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
[all …]
A Dmicrochip-sama5d2-isc.c124 .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,
196 .mbus_code = MEDIA_BUS_FMT_Y8_1X8,
201 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8,
[all …]
A Dmicrochip-csi2dc.c115 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 …]
A Dmicrochip-isc-base.c35 #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)))
318 ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_configure()
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()
533 if (!ISC_IS_FORMAT_RAW(f->mbus_code)) in isc_enum_fmt_vid_cap()
871 fse.code = isc->try_config.sd_format->mbus_code; in isc_try_fse()
[all …]
/linux-6.3-rc2/drivers/staging/media/sunxi/sun6i-isp/
A Dsun6i_isp_proc.c33 .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,
72 if (sun6i_isp_proc_formats[i].mbus_code == mbus_code) in sun6i_isp_proc_format_find()
251 mbus_format->code = sun6i_isp_proc_formats[0].mbus_code; in sun6i_isp_proc_mbus_format_prepare()
[all …]
A Dsun6i_isp_proc.h25 u32 mbus_code; member
59 const struct sun6i_isp_proc_format *sun6i_isp_proc_format_find(u32 mbus_code);
/linux-6.3-rc2/drivers/media/platform/sunxi/sun6i-mipi-csi2/
A Dsun6i_mipi_csi2.c28 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8,
33 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8,
38 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8,
43 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8,
48 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10,
53 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10,
58 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10,
63 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10,
70 sun6i_mipi_csi2_format_find(u32 mbus_code) in sun6i_mipi_csi2_format_find() argument
75 if (sun6i_mipi_csi2_formats[i].mbus_code == mbus_code) in sun6i_mipi_csi2_format_find()
[all …]
/linux-6.3-rc2/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
A Dsun8i_a83t_mipi_csi2.c31 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8,
36 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8,
41 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8,
46 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8,
51 .mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10,
56 .mbus_code = MEDIA_BUS_FMT_SGBRG10_1X10,
61 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10,
66 .mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10,
73 sun8i_a83t_mipi_csi2_format_find(u32 mbus_code) in sun8i_a83t_mipi_csi2_format_find() argument
78 if (sun8i_a83t_mipi_csi2_formats[i].mbus_code == mbus_code) in sun8i_a83t_mipi_csi2_format_find()
[all …]
/linux-6.3-rc2/drivers/staging/greybus/
A Dcamera.c77 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,
125 .mbus_code = V4L2_MBUS_FMT_SBGGR10_1X10,
755 if (gb_fmt_info[i].mbus_code == mbus_code) in gb_camera_mbus_to_gb()
767 return gb_fmt_info[i].mbus_code; in gb_camera_gb_to_mbus()
[all …]
/linux-6.3-rc2/drivers/media/platform/st/stm32/
A Dstm32-dcmi.c104 u32 mbus_code; member
1108 sd_format->mbus_code); in dcmi_set_fmt()
1397 fse.code = sd_fmt->mbus_code; in dcmi_enum_framesizes()
1444 fie.code = sd_fmt->mbus_code; in dcmi_enum_frameintervals()
1595 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8,
1611 .mbus_code = MEDIA_BUS_FMT_JPEG_1X8,
1690 NULL, &mbus_code)) { in dcmi_formats_init()
1692 if (dcmi_formats[i].mbus_code != mbus_code.code) in dcmi_formats_init()
1707 mbus_code.code); in dcmi_formats_init()
1718 mbus_code.index++; in dcmi_formats_init()
[all …]
/linux-6.3-rc2/drivers/media/platform/renesas/
A Drenesas-ceu.c130 u32 mbus_code; member
802 u32 mbus_code; in __ceu_try_fmt() local
818 mbus_code = MEDIA_BUS_FMT_YUYV8_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()
886 u32 mbus_code; in ceu_try_fmt() local
898 u32 mbus_code; in ceu_set_fmt() local
913 format.format.code = mbus_code; in ceu_set_fmt()
1287 .code = ceu_sd->mbus_fmt.mbus_code, in ceu_enum_framesizes()
[all …]
/linux-6.3-rc2/drivers/media/i2c/
A Dov5648.c622 u32 mbus_code; member
1248 u32 mbus_code) in ov5648_mode_pll1_configure() argument
1256 switch (mbus_code) { in ov5648_mode_pll1_configure()
1501 switch (mbus_code) { in ov5648_mode_mipi_clk_rate()
1733 switch (mbus_code) { in ov5648_state_mipi_configure()
1754 u32 mbus_code) in ov5648_state_configure() argument
1774 sensor->state.mbus_code = mbus_code; in ov5648_state_configure()
2209 u32 mbus_code, in ov5648_mbus_format_fill() argument
2253 u32 mbus_code = 0; in ov5648_set_fmt() local
2273 if (!mbus_code) in ov5648_set_fmt()
[all …]
A Dvs6624.c36 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()
A Dov8865.c671 u32 mbus_code; member
1605 u32 mbus_code) in ov8865_mode_pll1_configure() argument
1613 switch (mbus_code) { in ov8865_mode_pll1_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
2320 sensor->state.mbus_code = mbus_code; in ov8865_state_configure()
2687 u32 mbus_code, in ov8865_mbus_format_fill() argument
2731 u32 mbus_code = 0; in ov8865_set_fmt() local
2753 if (!mbus_code) in ov8865_set_fmt()
[all …]
/linux-6.3-rc2/drivers/media/platform/atmel/
A Datmel-isi.c87 u32 mbus_code; member
564 .code = isi_fmt->mbus_code, in isi_try_fse()
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,
1032 .mbus_code = MEDIA_BUS_FMT_Y10_1X10,
1037 .mbus_code = MEDIA_BUS_FMT_Y10_1X10,
1053 NULL, &mbus_code)) { in isi_formats_init()
1055 if (isi_formats[i].mbus_code != mbus_code.code) in isi_formats_init()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Datomisp_ioctl.c349 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV12,
356 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV21,
363 .mbus_code = V4L2_MBUS_FMT_CUSTOM_NV16,
376 .mbus_code = MEDIA_BUS_FMT_UYVY8_1X16,
382 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
394 .mbus_code = MEDIA_BUS_FMT_SBGGR8_1X8,
400 .mbus_code = MEDIA_BUS_FMT_SGBRG8_1X8,
406 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8,
412 .mbus_code = MEDIA_BUS_FMT_SRGGB8_1X8,
479 .mbus_code = MEDIA_BUS_FMT_JPEG_1X8,
[all …]
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dvidioc-enum-fmt.rst34 To enumerate image formats applications initialize the ``type``, ``mbus_code``
44 the ``mbus_code`` field is handled differently:
48 Applications shall initialize the ``mbus_code`` field to zero and drivers
60 If the ``mbus_code`` field is zero, then all image formats
63 If the ``mbus_code`` field is initialized to a valid (non-zero)
67 devices) that media bus code. If the ``mbus_code`` is unsupported by
70 Regardless of the value of the ``mbus_code`` field, the enumerated image
129 - ``mbus_code``
242 If ``V4L2_CAP_IO_MC`` is set and the specified ``mbus_code``
/linux-6.3-rc2/drivers/media/platform/samsung/exynos4-is/
A Dfimc-isp.c40 .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()

Completed in 83 milliseconds

123