Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_INPUT.c140 static void do_set_input(int f, __u32 first_wrong_input, __u32 index) in do_set_input() argument
145 if (first_wrong_input <= index) { in do_set_input()
147 dprintf("\tdo_set_input(f, 0x%X, 0x%X)\n", first_wrong_input, in do_set_input()
172 __u32 i, first_wrong_input; in test_VIDIOC_S_INPUT_invalid_inputs() local
198 first_wrong_input = i; in test_VIDIOC_S_INPUT_invalid_inputs()
202 do_set_input(f, first_wrong_input, i); in test_VIDIOC_S_INPUT_invalid_inputs()
203 do_set_input(f, first_wrong_input, i + 1); in test_VIDIOC_S_INPUT_invalid_inputs()
206 for (i = 0; i <= first_wrong_input + 1; i++) { in test_VIDIOC_S_INPUT_invalid_inputs()
207 do_set_input(f, first_wrong_input, in test_VIDIOC_S_INPUT_invalid_inputs()
211 i = (U32_MAX - 1) - first_wrong_input; in test_VIDIOC_S_INPUT_invalid_inputs()
[all …]