Home
last modified time | relevance | path

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

/drivers/media/platform/
Dmx2_emmaprp.c184 #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()
417 for (i = 0; i < NUM_FORMATS; ++i) { in enum_fmt()
428 if (i < NUM_FORMATS) { in enum_fmt()
Dvim2m.c104 #define NUM_FORMATS ARRAY_SIZE(formats) macro
128 for (k = 0; k < NUM_FORMATS; k++) { in find_format()
134 if (k == NUM_FORMATS) in find_format()
444 for (i = 0; i < NUM_FORMATS; ++i) { in enum_fmt()
455 if (i < NUM_FORMATS) { in enum_fmt()
Dm2m-deinterlace.c63 #define NUM_FORMATS ARRAY_SIZE(formats) macro
115 for (k = 0; k < NUM_FORMATS; k++) { in find_format()
122 if (k == NUM_FORMATS) in find_format()
478 for (i = 0; i < NUM_FORMATS; ++i) { in enum_fmt()
489 if (i < NUM_FORMATS) { in enum_fmt()
Dfsl-viu.c228 #define NUM_FORMATS ARRAY_SIZE(formats) macro
236 for (i = 0; i < NUM_FORMATS; i++) { in format_by_fourcc()
581 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/drivers/media/usb/airspy/
Dairspy.c97 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
637 if (f->index >= NUM_FORMATS) in airspy_enum_fmt_sdr_cap()
669 for (i = 0; i < NUM_FORMATS; i++) { in airspy_s_fmt_sdr_cap()
692 for (i = 0; i < NUM_FORMATS; i++) { in airspy_try_fmt_sdr_cap()
/drivers/media/platform/s5p-g2d/
Dg2d.c66 #define NUM_FORMATS ARRAY_SIZE(formats) macro
83 for (i = 0; i < NUM_FORMATS; i++) { in find_fmt()
311 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt()
/drivers/media/pci/zoran/
Dzoran_driver.c163 #define NUM_FORMATS ARRAY_SIZE(zoran_formats) macro
1527 for (num = i = 0; i < NUM_FORMATS; i++) { in zoran_enum_fmt()
1724 for (i = 0; i < NUM_FORMATS; i++) in zoran_try_fmt_vid_cap()
1728 if (i == NUM_FORMATS) in zoran_try_fmt_vid_cap()
1849 for (i = 0; i < NUM_FORMATS; i++) in zoran_s_fmt_vid_cap()
1852 if (i == NUM_FORMATS) { in zoran_s_fmt_vid_cap()
1916 for (i = 0; i < NUM_FORMATS; i++) in zoran_s_fbuf()
1919 if (i == NUM_FORMATS) { in zoran_s_fbuf()
/drivers/media/usb/hackrf/
Dhackrf.c94 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
952 for (i = 0; i < NUM_FORMATS; i++) { in hackrf_s_fmt_sdr()
994 for (i = 0; i < NUM_FORMATS; i++) { in hackrf_try_fmt_sdr()
1014 if (f->index >= NUM_FORMATS) in hackrf_enum_fmt_sdr()
/drivers/media/common/saa7146/
Dsaa7146_video.c89 static int NUM_FORMATS = sizeof(formats)/sizeof(struct saa7146_format); variable
93 int i, j = NUM_FORMATS; in saa7146_format_by_fourcc()
523 if (f->index >= NUM_FORMATS) in vidioc_enum_fmt_vid_cap()
/drivers/media/usb/msi2500/
Dmsi2500.c112 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
1217 dev->num_formats = NUM_FORMATS; in msi2500_probe()
/drivers/media/platform/vivid/
Dvivid-sdr-cap.c54 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c157 #define NUM_FORMATS ARRAY_SIZE(formats) macro
164 for (i = 0; i < NUM_FORMATS; i++) { in find_format()
Ds5p_mfc_enc.c108 #define NUM_FORMATS ARRAY_SIZE(formats) macro
113 for (i = 0; i < NUM_FORMATS; i++) { in find_format()
/drivers/media/dvb-frontends/
Drtl2832_sdr.c107 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats); variable
1407 dev->num_formats = NUM_FORMATS; in rtl2832_sdr_probe()