Home
last modified time | relevance | path

Searched refs:NUM_FORMATS (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/media/platform/
Dmx2_emmaprp.c177 #define NUM_FORMATS ARRAY_SIZE(formats) macro
184 for (k = 0; k < NUM_FORMATS; k++) { in find_format()
190 if (k == NUM_FORMATS) in find_format()
393 for (i = 0; i < NUM_FORMATS; ++i) { in enum_fmt()
404 if (i < NUM_FORMATS) { in enum_fmt()
Dm2m-deinterlace.c56 #define NUM_FORMATS ARRAY_SIZE(formats) macro
108 for (k = 0; k < NUM_FORMATS; k++) { in find_format()
115 if (k == NUM_FORMATS) in find_format()
447 for (i = 0; i < NUM_FORMATS; ++i) { in enum_fmt()
458 if (i < NUM_FORMATS) { in enum_fmt()
Dimx-pxp.c152 #define NUM_FORMATS ARRAY_SIZE(formats) macro
176 for (k = 0; k < NUM_FORMATS; k++) { in find_format()
182 if (k == NUM_FORMATS) in find_format()
1042 for (i = 0; i < NUM_FORMATS; ++i) { in pxp_enum_fmt()
1055 if (i < NUM_FORMATS) { in pxp_enum_fmt()
Dfsl-viu.c229 #define NUM_FORMATS ARRAY_SIZE(formats) macro
237 for (i = 0; i < NUM_FORMATS; i++) { in format_by_fourcc()
574 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/Linux-v5.10/drivers/staging/media/zoran/
Dzoran_driver.c137 #define NUM_FORMATS ARRAY_SIZE(zoran_formats) macro
272 for (num = i = 0; i < NUM_FORMATS; i++) { in zoran_enum_fmt()
421 for (i = 0; i < NUM_FORMATS; i++) in zoran_try_fmt_vid_cap()
425 if (i == NUM_FORMATS) { in zoran_try_fmt_vid_cap()
534 for (i = 0; i < NUM_FORMATS; i++) in zoran_s_fmt_vid_cap()
537 if (i == NUM_FORMATS) { in zoran_s_fmt_vid_cap()
/Linux-v5.10/drivers/media/usb/airspy/
Dairspy.c86 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats);
620 if (f->index >= NUM_FORMATS) in airspy_enum_fmt_sdr_cap()
651 for (i = 0; i < NUM_FORMATS; i++) { in airspy_s_fmt_sdr_cap()
674 for (i = 0; i < NUM_FORMATS; i++) { in airspy_try_fmt_sdr_cap()
/Linux-v5.10/drivers/media/test-drivers/
Dvim2m.c136 #define NUM_FORMATS ARRAY_SIZE(formats) macro
160 for (k = 0; k < NUM_FORMATS; k++) { in find_format()
166 if (k == NUM_FORMATS) in find_format()
672 for (i = 0; i < NUM_FORMATS; ++i) { in enum_fmt()
685 if (i < NUM_FORMATS) { in enum_fmt()
/Linux-v5.10/drivers/media/platform/s5p-g2d/
Dg2d.c57 #define NUM_FORMATS ARRAY_SIZE(formats) macro
74 for (i = 0; i < NUM_FORMATS; i++) { in find_fmt()
299 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/Linux-v5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec.c72 #define NUM_FORMATS ARRAY_SIZE(mtk_video_formats) macro
79 for (k = 0; k < NUM_FORMATS; k++) { in mtk_vdec_find_format()
286 for (k = 0; k < NUM_FORMATS; k++) { in mtk_vdec_update_fmt()
951 for (i = 0; i < NUM_FORMATS; i++) { in vidioc_enum_fmt()
963 if (i == NUM_FORMATS) in vidioc_enum_fmt()
/Linux-v5.10/drivers/media/platform/rockchip/rga/
Drga.c334 #define NUM_FORMATS ARRAY_SIZE(formats) macro
340 for (i = 0; i < NUM_FORMATS; i++) { in rga_fmt_find()
453 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/Linux-v5.10/drivers/media/usb/hackrf/
Dhackrf.c85 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats);
933 for (i = 0; i < NUM_FORMATS; i++) { in hackrf_s_fmt_sdr()
975 for (i = 0; i < NUM_FORMATS; i++) { in hackrf_try_fmt_sdr()
995 if (f->index >= NUM_FORMATS) in hackrf_enum_fmt_sdr()
/Linux-v5.10/drivers/media/usb/msi2500/
Dmsi2500.c96 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats);
1193 dev->num_formats = NUM_FORMATS; in msi2500_probe()
/Linux-v5.10/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c145 #define NUM_FORMATS ARRAY_SIZE(formats) macro
152 for (i = 0; i < NUM_FORMATS; i++) { in find_format()
Ds5p_mfc_enc.c99 #define NUM_FORMATS ARRAY_SIZE(formats) macro
104 for (i = 0; i < NUM_FORMATS; i++) { in find_format()
/Linux-v5.10/drivers/media/dvb-frontends/
Drtl2832_sdr.c92 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats);
1351 dev->num_formats = NUM_FORMATS; in rtl2832_sdr_probe()