Home
last modified time | relevance | path

Searched refs:get_video_fd (Results 1 – 25 of 35) sorted by relevance

12

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_AUDOUT.c58 ret_get = ioctl(get_video_fd(), VIDIOC_G_AUDOUT, &audioout); in test_VIDIOC_G_AUDOUT()
125 reg_get1 = ioctl(get_video_fd(), VIDIOC_G_AUDOUT, &audioout); in test_VIDIOC_G_AUDOUT_ignore_index()
133 reg_get2 = ioctl(get_video_fd(), VIDIOC_G_AUDOUT, &audioout2); in test_VIDIOC_G_AUDOUT_ignore_index()
159 ret_get = ioctl(get_video_fd(), VIDIOC_G_AUDOUT, &audioout); in test_VIDIOC_G_AUDOUT_NULL()
165 ret_null = ioctl(get_video_fd(), VIDIOC_G_AUDOUT, NULL); in test_VIDIOC_G_AUDOUT_NULL()
208 ret_orig = ioctl(get_video_fd(), VIDIOC_G_AUDOUT, &audioout_orig); in test_VIDIOC_S_AUDOUT()
228 ioctl(get_video_fd(), VIDIOC_ENUMAUDOUT, &audioout_enum); in test_VIDIOC_S_AUDOUT()
235 ioctl(get_video_fd(), VIDIOC_S_AUDOUT, in test_VIDIOC_S_AUDOUT()
255 ret_set = ioctl(get_video_fd(), VIDIOC_S_AUDOUT, &audioout_set); in test_VIDIOC_S_AUDOUT()
267 ret_set = ioctl(get_video_fd(), VIDIOC_S_AUDOUT, &audioout_set); in test_VIDIOC_S_AUDOUT()
[all …]
Dtest_VIDIOC_FREQUENCY.c43 ret_get = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, &freq); in test_VIDIOC_G_FREQUENCY()
98 ret_get = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, &freq); in test_VIDIOC_G_FREQUENCY_S32_MAX()
118 ret_get = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, &freq); in test_VIDIOC_G_FREQUENCY_S32_MAX_1()
138 ret_get = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, &freq); in test_VIDIOC_G_FREQUENCY_U32_MAX()
160 ret_get = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, &freq); in test_VIDIOC_G_FREQUENCY_NULL()
166 ret_null = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, NULL); in test_VIDIOC_G_FREQUENCY_NULL()
198 ret_get = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, &orig_freq); in test_VIDIOC_S_FREQUENCY()
212 ret_set = ioctl(get_video_fd(), VIDIOC_S_FREQUENCY, &orig_freq); in test_VIDIOC_S_FREQUENCY()
226 ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, in test_VIDIOC_S_FREQUENCY()
256 ret_set = ioctl(get_video_fd(), VIDIOC_S_FREQUENCY, &freq); in test_VIDIOC_S_FREQUENCY()
[all …]
Dtest_VIDIOC_AUDIO.c71 ret_get = ioctl(get_video_fd(), VIDIOC_G_AUDIO, &audio); in test_VIDIOC_G_AUDIO()
136 ret_get = ioctl(get_video_fd(), VIDIOC_G_AUDIO, &audio); in test_VIDIOC_G_AUDIO_ignore_index()
144 ret2 = ioctl(get_video_fd(), VIDIOC_G_AUDIO, &audio2); in test_VIDIOC_G_AUDIO_ignore_index()
169 ret_get = ioctl(get_video_fd(), VIDIOC_G_AUDIO, &audio); in test_VIDIOC_G_AUDIO_NULL()
175 ret_null = ioctl(get_video_fd(), VIDIOC_G_AUDIO, NULL); in test_VIDIOC_G_AUDIO_NULL()
217 ret_orig = ioctl(get_video_fd(), VIDIOC_G_AUDIO, &audio_orig); in test_VIDIOC_S_AUDIO()
236 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDIO, &audio_enum); in test_VIDIOC_S_AUDIO()
243 ioctl(get_video_fd(), VIDIOC_S_AUDIO, &audio_set); in test_VIDIOC_S_AUDIO()
262 ret_set = ioctl(get_video_fd(), VIDIOC_S_AUDIO, &audio_set); in test_VIDIOC_S_AUDIO()
274 ret_set = ioctl(get_video_fd(), VIDIOC_S_AUDIO, &audio_set); in test_VIDIOC_S_AUDIO()
[all …]
Dtest_VIDIOC_PRIORITY.c59 ret_set = ioctl(get_video_fd(), VIDIOC_S_PRIORITY, &priority); in do_set_priority()
69 ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &new_priority); in do_set_priority()
88 ret_set = ioctl(get_video_fd(), VIDIOC_S_PRIORITY, &priority); in do_set_invalid_priority()
99 ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &new_priority); in do_set_invalid_priority()
115 ret_get = ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &orig_priority); in test_VIDIOC_G_PRIORITY()
141 ret_get = ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &priority); in test_VIDIOC_G_PRIORITY_NULL()
147 ret_null = ioctl(get_video_fd(), VIDIOC_G_PRIORITY, NULL); in test_VIDIOC_G_PRIORITY_NULL()
172 ret_get = ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &orig_priority); in test_VIDIOC_S_PRIORITY()
207 ret_get = ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &orig_priority); in test_VIDIOC_S_PRIORITY_invalid()
242 ret_orig = ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &priority_orig); in test_VIDIOC_S_PRIORITY_NULL()
[all …]
Dtest_VIDIOC_ENUM_FMT.c55 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in do_enumerate_formats()
142 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_S32_MAX()
170 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_S32_MAX_1()
198 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_U32_MAX()
231 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_invalid_type()
252 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_invalid_type()
273 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_invalid_type()
296 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_invalid_type()
323 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_invalid_type()
358 ret_capture = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in test_VIDIOC_ENUM_FMT_NULL()
[all …]
Dtest_VIDIOC_CTRL.c47 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in do_get_control()
75 ret_get = ioctl(get_video_fd(), VIDIOC_G_CTRL, &control); in do_get_control()
156 ret_get = ioctl(get_video_fd(), VIDIOC_G_CTRL, &control); in test_VIDIOC_G_CTRL_NULL()
164 ret_null = ioctl(get_video_fd(), VIDIOC_G_CTRL, NULL); in test_VIDIOC_G_CTRL_NULL()
202 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in do_set_control()
230 ret_orig = ioctl(get_video_fd(), VIDIOC_G_CTRL, &control_orig); in do_set_control()
253 ioctl(get_video_fd(), VIDIOC_S_CTRL, in do_set_control()
278 ioctl(get_video_fd(), VIDIOC_G_CTRL, in do_set_control()
364 ioctl(get_video_fd(), VIDIOC_S_CTRL, &control); in do_set_control()
382 ioctl(get_video_fd(), VIDIOC_S_CTRL, &control); in do_set_control()
[all …]
Dtest_VIDIOC_EXT_CTRLS.c39 ret_get = ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, &controls); in test_VIDIOC_G_EXT_CTRLS_zero()
74 ret_get = ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, &controls); in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count()
90 ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, &controls); in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count()
126 ret_get_invalid = ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, &controls); in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count()
154 ret_get_invalid = ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, &controls); in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count()
192 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in do_get_ext_control_one()
226 ret_get = ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, &controls); in do_get_ext_control_one()
315 ret_get = ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, &controls); in test_VIDIOC_G_EXT_CTRLS_NULL()
321 ret_null = ioctl(get_video_fd(), VIDIOC_G_EXT_CTRLS, NULL); in test_VIDIOC_G_EXT_CTRLS_NULL()
352 ret_set = ioctl(get_video_fd(), VIDIOC_S_EXT_CTRLS, &controls); in test_VIDIOC_S_EXT_CTRLS_zero()
[all …]
Dtest_VIDIOC_CROP.c35 ret1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in do_get_crop()
65 ret1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in do_get_crop_invalid()
100 ret_get1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in test_VIDIOC_G_CROP_NULL()
109 ret_get2 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in test_VIDIOC_G_CROP_NULL()
118 ret_get3 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in test_VIDIOC_G_CROP_NULL()
124 ret_null = ioctl(get_video_fd(), VIDIOC_G_CROP, NULL); in test_VIDIOC_G_CROP_NULL()
162 ret_orig = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop_orig); in do_set_crop()
174 ret_cap = ioctl(get_video_fd(), VIDIOC_CROPCAP, &cropcap); in do_set_crop()
191 ret_set = ioctl(get_video_fd(), VIDIOC_S_CROP, &crop); in do_set_crop()
202 ret_new = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop_new); in do_set_crop()
[all …]
Dtest_invalid_ioctl.c47 do_invalid_ioctl(get_video_fd(), _IO(0, 0)); in test_invalid_ioctl_1()
52 do_invalid_ioctl(get_video_fd(), _IO(0xFF, 0xFF)); in test_invalid_ioctl_2()
57 do_invalid_ioctl(get_video_fd(), _IO('v', 0xFF)); in test_invalid_ioctl_3()
62 do_invalid_ioctl(get_video_fd(), _IO('V', 0xFF)); in test_invalid_ioctl_4()
Dtest_VIDIOC_TUNER.c195 f = get_video_fd(); in test_VIDIOC_G_TUNER()
215 ret_get = ioctl(get_video_fd(), VIDIOC_G_TUNER, &tuner); in test_VIDIOC_G_TUNER_S32_MAX()
239 ret_get = ioctl(get_video_fd(), VIDIOC_G_TUNER, &tuner); in test_VIDIOC_G_TUNER_S32_MAX_1()
263 ret_get = ioctl(get_video_fd(), VIDIOC_G_TUNER, &tuner); in test_VIDIOC_G_TUNER_U32_MAX()
285 ret_get = ioctl(get_video_fd(), VIDIOC_G_TUNER, &tuner); in test_VIDIOC_G_TUNER_NULL()
290 ret_null = ioctl(get_video_fd(), VIDIOC_G_TUNER, NULL); in test_VIDIOC_G_TUNER_NULL()
320 ret_set = ioctl(get_video_fd(), VIDIOC_S_TUNER, &tuner); in do_set_tuner_audmode()
339 ret_set = ioctl(get_video_fd(), VIDIOC_S_TUNER, &tuner); in do_set_tuner_audmode_invalid()
360 ret_get = ioctl(get_video_fd(), VIDIOC_G_TUNER, &tuner_orig); in test_VIDIOC_S_TUNER()
405 ret_set = ioctl(get_video_fd(), VIDIOC_S_TUNER, &tuner_orig); in test_VIDIOC_S_TUNER()
[all …]
Dtest_VIDIOC_G_SLICED_VBI_CAP.c33 ioctl(get_video_fd(), VIDIOC_G_SLICED_VBI_CAP, &sliced_vbi_cap); in do_get_sliced_vbi_cap()
64 ioctl(get_video_fd(), VIDIOC_G_SLICED_VBI_CAP, &sliced_vbi_cap); in do_get_sliced_vbi_cap_invalid()
102 ioctl(get_video_fd(), VIDIOC_G_SLICED_VBI_CAP, &sliced_vbi_cap); in test_VIDIOC_G_SLICED_VBI_CAP_NULL()
112 ioctl(get_video_fd(), VIDIOC_G_SLICED_VBI_CAP, &sliced_vbi_cap); in test_VIDIOC_G_SLICED_VBI_CAP_NULL()
123 ioctl(get_video_fd(), VIDIOC_G_SLICED_VBI_CAP, &sliced_vbi_cap); in test_VIDIOC_G_SLICED_VBI_CAP_NULL()
130 ret_null = ioctl(get_video_fd(), VIDIOC_G_SLICED_VBI_CAP, NULL); in test_VIDIOC_G_SLICED_VBI_CAP_NULL()
Dtest_VIDIOC_ENUM_FRAMESIZES.c61 ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in do_test_VIDIOC_ENUM_FRAMESIZES()
173 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in do_test_VIDIOC_ENUM_FRAMESIZES_type()
211 ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
227 ret_frame = ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
243 ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
260 ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
277 ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index()
303 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in do_test_VIDIOC_ENUM_FRAMESIZES_type_invalid_index()
347 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format); in supported_pixel_format_type()
402 ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in do_test_VIDIOC_ENUM_FRAMESIZES_invalid_pixel_format()
[all …]
Dtest_VIDIOC_QUERYBUF.c65 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_QUERYBUF()
92 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYBUF, &buf); in do_VIDIOC_QUERYBUF()
144 ioctl(get_video_fd(), VIDIOC_QUERYBUF, in do_VIDIOC_QUERYBUF()
165 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYBUF, &buf); in do_VIDIOC_QUERYBUF()
180 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYBUF, &buf); in do_VIDIOC_QUERYBUF()
197 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYBUF, &buf); in do_VIDIOC_QUERYBUF()
214 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYBUF, &buf); in do_VIDIOC_QUERYBUF()
231 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_QUERYBUF()
256 ret_cap = ioctl(get_video_fd(), VIDIOC_QUERYCAP, &cap); in test_VIDIOC_QUERYBUF_capture_mmap()
295 ret_cap = ioctl(get_video_fd(), VIDIOC_QUERYCAP, &cap); in test_VIDIOC_QUERYBUF_capture_userptr()
[all …]
Dtest_VIDIOC_OUTPUT.c65 f = get_video_fd(); in test_VIDIOC_G_OUTPUT()
97 f = get_video_fd(); in test_VIDIOC_S_OUTPUT_from_enum()
175 f = get_video_fd(); in test_VIDIOC_S_OUTPUT_invalid_outputs()
234 ret_get = ioctl(get_video_fd(), VIDIOC_G_OUTPUT, &index); in test_VIDIOC_G_OUTPUT_NULL()
240 ret_null = ioctl(get_video_fd(), VIDIOC_G_OUTPUT, NULL); in test_VIDIOC_G_OUTPUT_NULL()
269 ret_orig = ioctl(get_video_fd(), VIDIOC_G_OUTPUT, &index_orig); in test_VIDIOC_S_OUTPUT_NULL()
277 ret_set = ioctl(get_video_fd(), VIDIOC_S_OUTPUT, &index); in test_VIDIOC_S_OUTPUT_NULL()
283 ret_null = ioctl(get_video_fd(), VIDIOC_S_OUTPUT, NULL); in test_VIDIOC_S_OUTPUT_NULL()
Dtest_VIDIOC_QUERYMENU.c88 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYMENU, &menu); in do_query_menu()
122 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYMENU, &menu); in do_query_menu_invalid()
149 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYMENU()
216 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYMENU_private()
275 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYMENU_private_last_1()
300 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYMENU_NULL()
317 ioctl(get_video_fd(), VIDIOC_QUERYMENU, in test_VIDIOC_QUERYMENU_NULL()
344 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYMENU_NULL()
361 ioctl(get_video_fd(), VIDIOC_QUERYMENU, in test_VIDIOC_QUERYMENU_NULL()
386 ret_null = ioctl(get_video_fd(), VIDIOC_QUERYMENU, NULL); in test_VIDIOC_QUERYMENU_NULL()
Dtest_VIDIOC_INPUT.c67 f = get_video_fd(); in test_VIDIOC_G_INPUT()
99 f = get_video_fd(); in test_VIDIOC_S_INPUT_from_enum()
175 f = get_video_fd(); in test_VIDIOC_S_INPUT_invalid_inputs()
236 ret_get = ioctl(get_video_fd(), VIDIOC_G_INPUT, &index); in test_VIDIOC_G_INPUT_NULL()
242 ret_null = ioctl(get_video_fd(), VIDIOC_G_INPUT, NULL); in test_VIDIOC_G_INPUT_NULL()
271 ret_orig = ioctl(get_video_fd(), VIDIOC_G_INPUT, &index_orig); in test_VIDIOC_S_INPUT_NULL()
279 ret_set = ioctl(get_video_fd(), VIDIOC_S_INPUT, &index); in test_VIDIOC_S_INPUT_NULL()
285 ret_null = ioctl(get_video_fd(), VIDIOC_S_INPUT, NULL); in test_VIDIOC_S_INPUT_NULL()
Dtest_VIDIOC_CROPCAP.c45 ret_cap = ioctl(get_video_fd(), VIDIOC_CROPCAP, &cropcap); in do_ioctl_VIDIOC_CROPCAP()
158 f = get_video_fd(); in test_VIDIOC_CROPCAP_enum_INPUT()
218 ret_capture = ioctl(get_video_fd(), VIDIOC_CROPCAP, &cropcap); in test_VIDIOC_CROPCAP_NULL()
226 ret_output = ioctl(get_video_fd(), VIDIOC_CROPCAP, &cropcap); in test_VIDIOC_CROPCAP_NULL()
234 ret_overlay = ioctl(get_video_fd(), VIDIOC_CROPCAP, &cropcap); in test_VIDIOC_CROPCAP_NULL()
242 ret_private = ioctl(get_video_fd(), VIDIOC_CROPCAP, &cropcap); in test_VIDIOC_CROPCAP_NULL()
250 ret_private_1 = ioctl(get_video_fd(), VIDIOC_CROPCAP, &cropcap); in test_VIDIOC_CROPCAP_NULL()
257 ret_null = ioctl(get_video_fd(), VIDIOC_CROPCAP, NULL); in test_VIDIOC_CROPCAP_NULL()
Dtest_VIDIOC_ENUMAUDOUT.c54 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDOUT, &audioout); in test_VIDIOC_ENUMAUDOUT()
124 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDOUT, &audioout); in test_VIDIOC_ENUMAUDOUT_S32_MAX()
144 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDOUT, &audioout); in test_VIDIOC_ENUMAUDOUT_S32_MAX_1()
164 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDOUT, &audioout); in test_VIDIOC_ENUMAUDOUT_U32_MAX()
184 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDOUT, &audioout); in test_VIDIOC_ENUMAUDOUT_NULL()
190 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMAUDOUT, NULL); in test_VIDIOC_ENUMAUDOUT_NULL()
Dtest_VIDIOC_ENUMAUDIO.c49 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDIO, &audio); in test_VIDIOC_ENUMAUDIO()
115 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDIO, &audio); in test_VIDIOC_ENUMAUDIO_S32_MAX()
135 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDIO, &audio); in test_VIDIOC_ENUMAUDIO_S32_MAX_1()
155 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDIO, &audio); in test_VIDIOC_ENUMAUDIO_U32_MAX()
175 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMAUDIO, &audio); in test_VIDIOC_ENUMAUDIO_NULL()
181 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMAUDIO, NULL); in test_VIDIOC_ENUMAUDIO_NULL()
Dtest_VIDIOC_ENUMOUTPUT.c48 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, &output); in test_VIDIOC_ENUMOUTPUT()
128 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, &output); in test_VIDIOC_ENUMOUTPUT_S32_MAX()
147 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, &output); in test_VIDIOC_ENUMOUTPUT_S32_MAX_1()
166 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, &output); in test_VIDIOC_ENUMOUTPUT_U32_MAX()
185 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, &output); in test_VIDIOC_ENUMOUTPUT_NULL()
191 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMOUTPUT, NULL); in test_VIDIOC_ENUMOUTPUT_NULL()
Dtest_VIDIOC_ENUMINPUT.c54 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, &input); in test_VIDIOC_ENUMINPUT()
121 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, &input); in test_VIDIOC_ENUMINPUT_S32_MAX()
143 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, &input); in test_VIDIOC_ENUMINPUT_S32_MAX_1()
165 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, &input); in test_VIDIOC_ENUMINPUT_U32_MAX()
187 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, &input); in test_VIDIOC_ENUMINPUT_NULL()
193 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, NULL); in test_VIDIOC_ENUMINPUT_NULL()
Dtest_VIDIOC_FMT.c197 ret_get = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in do_get_formats()
514 ret_get = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in do_get_format_invalid()
580 ret_capture = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in test_VIDIOC_G_FMT_NULL()
590 ret_output = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in test_VIDIOC_G_FMT_NULL()
600 ret_video_overlay = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in test_VIDIOC_G_FMT_NULL()
610 ret_vbi_capture = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in test_VIDIOC_G_FMT_NULL()
620 ret_vbi_output = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in test_VIDIOC_G_FMT_NULL()
630 ret_sliced_vbi_capture = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in test_VIDIOC_G_FMT_NULL()
641 ret_sliced_vbi_output = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in test_VIDIOC_G_FMT_NULL()
652 ret_video_output_overlay = ioctl(get_video_fd(), VIDIOC_G_FMT, &format); in test_VIDIOC_G_FMT_NULL()
[all …]
Dtest_VIDIOC_REQBUFS.c42 ret_cap = ioctl(get_video_fd(), VIDIOC_QUERYCAP, &cap); in do_VIDIOC_REQBUFS_capture_mmap()
50 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_capture_mmap()
111 ret_cap = ioctl(get_video_fd(), VIDIOC_QUERYCAP, &cap); in do_VIDIOC_REQBUFS_capture_userptr()
119 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_capture_userptr()
176 ret_cap = ioctl(get_video_fd(), VIDIOC_QUERYCAP, &cap); in do_VIDIOC_REQBUFS_output_mmap()
184 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_output_mmap()
245 ret_cap = ioctl(get_video_fd(), VIDIOC_QUERYCAP, &cap); in do_VIDIOC_REQBUFS_output_userptr()
253 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_output_userptr()
312 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_invalid_memory()
371 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_invalid_type()
Dtest_VIDIOC_ENUMSTD.c57 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMSTD, &std); in test_VIDIOC_ENUMSTD()
131 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMSTD, &std); in test_VIDIOC_ENUMSTD_S32_MAX()
150 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMSTD, &std); in test_VIDIOC_ENUMSTD_S32_MAX_1()
169 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMSTD, &std); in test_VIDIOC_ENUMSTD_U32_MAX()
191 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMSTD, &std); in test_VIDIOC_ENUMSTD_NULL()
197 ret_null = ioctl(get_video_fd(), VIDIOC_ENUMSTD, NULL); in test_VIDIOC_ENUMSTD_NULL()
Dtest_VIDIOC_QUERYCTRL.c94 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL()
230 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_BASE_1()
254 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_LASTP1()
278 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_LASTP1_1()
311 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_flag_NEXT_CTRL()
348 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_flag_NEXT_CTRL()
392 ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_flag_NEXT_CTRL()
456 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_private()
592 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_private_base_1()
620 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); in test_VIDIOC_QUERYCTRL_private_last_1()
[all …]

12