Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_OUTPUT.c140 static void do_set_output(int f, __u32 first_wrong_output, __u32 index) in do_set_output() argument
145 if (first_wrong_output <= index) { in do_set_output()
147 dprintf("\tdo_set_output(f, 0x%X, 0x%X)\n", first_wrong_output, in do_set_output()
172 __u32 i, first_wrong_output; in test_VIDIOC_S_OUTPUT_invalid_outputs() local
197 first_wrong_output = i; in test_VIDIOC_S_OUTPUT_invalid_outputs()
201 do_set_output(f, first_wrong_output, i); in test_VIDIOC_S_OUTPUT_invalid_outputs()
202 do_set_output(f, first_wrong_output, i + 1); in test_VIDIOC_S_OUTPUT_invalid_outputs()
205 for (i = 0; i <= first_wrong_output + 1; i++) { in test_VIDIOC_S_OUTPUT_invalid_outputs()
206 do_set_output(f, first_wrong_output, in test_VIDIOC_S_OUTPUT_invalid_outputs()
210 i = (U32_MAX - 1) - first_wrong_output; in test_VIDIOC_S_OUTPUT_invalid_outputs()
[all …]