/openbmc/linux/drivers/media/platform/nxp/ |
H A 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()
|
H A D | imx-pxp.c | 160 #define NUM_FORMATS ARRAY_SIZE(formats) macro 191 for (k = 0; k < NUM_FORMATS; k++) { in find_format() 197 if (k == NUM_FORMATS) in find_format() 1145 for (i = 0; i < NUM_FORMATS; ++i) { in pxp_enum_fmt() 1158 if (i < NUM_FORMATS) { in pxp_enum_fmt()
|
/openbmc/linux/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 137 #define NUM_FORMATS ARRAY_SIZE(zoran_formats) macro 267 for (num = i = 0; i < NUM_FORMATS; i++) { in zoran_enum_fmt() 404 for (i = 0; i < NUM_FORMATS; i++) in zoran_try_fmt_vid_cap() 408 if (i == NUM_FORMATS) { in zoran_try_fmt_vid_cap() 521 for (i = 0; i < NUM_FORMATS; i++) in zoran_s_fmt_vid_cap() 524 if (i == NUM_FORMATS) { in zoran_s_fmt_vid_cap()
|
/openbmc/linux/drivers/media/platform/ |
H A 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()
|
/openbmc/linux/drivers/media/test-drivers/ |
H A D | vim2m.c | 131 #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()
|
/openbmc/linux/drivers/media/usb/airspy/ |
H A D | airspy.c | 86 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()
|
/openbmc/linux/drivers/media/platform/st/stm32/dma2d/ |
H A D | dma2d.c | 78 #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()
|
/openbmc/linux/drivers/media/platform/samsung/s5p-g2d/ |
H A 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()
|
/openbmc/linux/drivers/media/platform/rockchip/rga/ |
H A D | rga.c | 322 #define NUM_FORMATS ARRAY_SIZE(formats) macro 328 for (i = 0; i < NUM_FORMATS; i++) { in rga_fmt_find() 441 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
|
/openbmc/linux/drivers/media/platform/nuvoton/ |
H A D | npcm-video.c | 158 #define NUM_FORMATS ARRAY_SIZE(npcm_fmt_list) macro 184 for (k = 0; k < NUM_FORMATS; k++) { in npcm_video_find_format() 190 if (k == NUM_FORMATS) in npcm_video_find_format() 702 for (k = 0; k < NUM_FORMATS; k++) { in npcm_video_get_bpp() 1147 if (f->index >= NUM_FORMATS) in npcm_video_enum_format()
|
/openbmc/linux/drivers/media/platform/amlogic/meson-ge2d/ |
H A 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()
|
/openbmc/linux/drivers/media/usb/hackrf/ |
H A 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()
|
/openbmc/linux/drivers/media/usb/msi2500/ |
H A D | msi2500.c | 96 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable 1190 dev->num_formats = NUM_FORMATS; in msi2500_probe()
|
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_dec.c | 163 #define NUM_FORMATS ARRAY_SIZE(formats) macro 170 for (i = 0; i < NUM_FORMATS; i++) { in find_format()
|
H A D | s5p_mfc_enc.c | 99 #define NUM_FORMATS ARRAY_SIZE(formats) macro 104 for (i = 0; i < NUM_FORMATS; i++) { in find_format()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | rtl2832_sdr.c | 92 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable 1350 dev->num_formats = NUM_FORMATS; in rtl2832_sdr_probe()
|