Home
last modified time | relevance | path

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

/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.c223 #define NUM_FORMATS ARRAY_SIZE(formats) macro
231 for (i = 0; i < NUM_FORMATS; i++) { in format_by_fourcc()
566 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/drivers/staging/media/zoran/
Dzoran_driver.c137 #define NUM_FORMATS ARRAY_SIZE(zoran_formats) macro
270 for (num = i = 0; i < NUM_FORMATS; i++) { in zoran_enum_fmt()
419 for (i = 0; i < NUM_FORMATS; i++) in zoran_try_fmt_vid_cap()
423 if (i == NUM_FORMATS) { in zoran_try_fmt_vid_cap()
532 for (i = 0; i < NUM_FORMATS; i++) in zoran_s_fmt_vid_cap()
535 if (i == NUM_FORMATS) { in zoran_s_fmt_vid_cap()
/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()
667 for (i = 0; i < NUM_FORMATS; ++i) { in enum_fmt()
680 if (i < NUM_FORMATS) { in enum_fmt()
/drivers/media/usb/airspy/
Dairspy.c86 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
620 if (f->index >= NUM_FORMATS) in airspy_enum_fmt_sdr_cap()
649 for (i = 0; i < NUM_FORMATS; i++) { in airspy_s_fmt_sdr_cap()
671 for (i = 0; i < NUM_FORMATS; i++) { in airspy_try_fmt_sdr_cap()
/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()
302 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/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()
945 for (i = 0; i < NUM_FORMATS; i++) { in vidioc_enum_fmt()
957 if (i == NUM_FORMATS) in vidioc_enum_fmt()
/drivers/media/platform/rockchip/rga/
Drga.c325 #define NUM_FORMATS ARRAY_SIZE(formats) macro
331 for (i = 0; i < NUM_FORMATS; i++) { in rga_fmt_find()
444 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/drivers/media/platform/meson/ge2d/
Dge2d.c135 #define NUM_FORMATS ARRAY_SIZE(formats) macro
141 for (i = 0; i < NUM_FORMATS; i++) { in find_fmt()
445 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/drivers/media/usb/hackrf/
Dhackrf.c85 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
932 for (i = 0; i < NUM_FORMATS; i++) { in hackrf_s_fmt_sdr()
972 for (i = 0; i < NUM_FORMATS; i++) { in hackrf_try_fmt_sdr()
992 if (f->index >= NUM_FORMATS) in hackrf_enum_fmt_sdr()
/drivers/media/usb/msi2500/
Dmsi2500.c96 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
1190 dev->num_formats = NUM_FORMATS; in msi2500_probe()
/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()
/drivers/media/dvb-frontends/
Drtl2832_sdr.c92 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
1347 dev->num_formats = NUM_FORMATS; in rtl2832_sdr_probe()