/drivers/media/platform/ |
D | mx2_emmaprp.c | 177 #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()
|
D | m2m-deinterlace.c | 56 #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()
|
D | imx-pxp.c | 152 #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()
|
D | fsl-viu.c | 223 #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/ |
D | zoran_driver.c | 137 #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/ |
D | vim2m.c | 136 #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/ |
D | airspy.c | 86 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/ |
D | g2d.c | 57 #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/ |
D | mtk_vcodec_dec.c | 72 #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/ |
D | rga.c | 325 #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/ |
D | ge2d.c | 135 #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/ |
D | hackrf.c | 85 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/ |
D | msi2500.c | 96 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable 1190 dev->num_formats = NUM_FORMATS; in msi2500_probe()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 145 #define NUM_FORMATS ARRAY_SIZE(formats) macro 152 for (i = 0; i < NUM_FORMATS; i++) { in find_format()
|
D | s5p_mfc_enc.c | 99 #define NUM_FORMATS ARRAY_SIZE(formats) macro 104 for (i = 0; i < NUM_FORMATS; i++) { in find_format()
|
/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 92 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable 1347 dev->num_formats = NUM_FORMATS; in rtl2832_sdr_probe()
|