Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/platform/nxp/
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()
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()
1049 for (i = 0; i < NUM_FORMATS; ++i) { in pxp_enum_fmt()
1062 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()
/linux-5.19.10/drivers/staging/media/zoran/
Dzoran_driver.c137 #define NUM_FORMATS ARRAY_SIZE(zoran_formats) macro
268 for (num = i = 0; i < NUM_FORMATS; i++) { in zoran_enum_fmt()
416 for (i = 0; i < NUM_FORMATS; i++) in zoran_try_fmt_vid_cap()
420 if (i == NUM_FORMATS) { in zoran_try_fmt_vid_cap()
531 for (i = 0; i < NUM_FORMATS; i++) in zoran_s_fmt_vid_cap()
534 if (i == NUM_FORMATS) { in zoran_s_fmt_vid_cap()
/linux-5.19.10/drivers/media/platform/
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()
/linux-5.19.10/drivers/media/platform/st/stm32/dma2d/
Ddma2d.c78 #define NUM_FORMATS ARRAY_SIZE(formats) macro
94 for (i = 0; i < NUM_FORMATS; i++) { in find_fmt()
348 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/linux-5.19.10/drivers/media/usb/airspy/
Dairspy.c86 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
623 if (f->index >= NUM_FORMATS) in airspy_enum_fmt_sdr_cap()
652 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-5.19.10/drivers/media/test-drivers/
Dvim2m.c131 #define NUM_FORMATS ARRAY_SIZE(formats) macro
155 for (k = 0; k < NUM_FORMATS; k++) { in find_format()
161 if (k == NUM_FORMATS) in find_format()
662 for (i = 0; i < NUM_FORMATS; ++i) { in enum_fmt()
675 if (i < NUM_FORMATS) { in enum_fmt()
/linux-5.19.10/drivers/media/platform/samsung/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()
/linux-5.19.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-5.19.10/drivers/media/platform/amlogic/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()
/linux-5.19.10/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()
/linux-5.19.10/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()
/linux-5.19.10/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c163 #define NUM_FORMATS ARRAY_SIZE(formats) macro
170 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-5.19.10/drivers/media/dvb-frontends/
Drtl2832_sdr.c92 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
1350 dev->num_formats = NUM_FORMATS; in rtl2832_sdr_probe()