Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_STD.c42 static void do_test_VIDIOC_G_STD(int ret_input_enum, int errno_input_enum, in do_test_VIDIOC_G_STD() argument
79 if (ret_input_enum == 0) { in do_test_VIDIOC_G_STD()
80 CU_ASSERT_EQUAL(ret_input_enum, 0); in do_test_VIDIOC_G_STD()
94 CU_ASSERT_EQUAL(ret_input_enum, -1); in do_test_VIDIOC_G_STD()
134 int ret_input_enum, int errno_input_enum, in do_set_video_standard() argument
157 if (ret_input_enum == 0) { in do_set_video_standard()
158 CU_ASSERT_EQUAL(ret_input_enum, 0); in do_set_video_standard()
175 CU_ASSERT_EQUAL(ret_input_enum, -1); in do_set_video_standard()
190 static void do_test_VIDIOC_S_STD(int ret_input_enum, int errno_input_enum, in do_test_VIDIOC_S_STD() argument
209 do_set_video_standard(f, V4L2_STD_PAL_B, ret_input_enum, in do_test_VIDIOC_S_STD()
[all …]
Dv4l2_foreach.c34 int ret_input_enum, errno_input_enum; in foreach_input() local
54 ret_input_enum = ioctl(f, VIDIOC_ENUMINPUT, &input); in foreach_input()
59 __FILE__, __LINE__, i, ret_input_enum, errno_input_enum); in foreach_input()
61 if (ret_input_enum == 0) { in foreach_input()
75 if (not_yet_called || ret_input_enum == 0) { in foreach_input()
76 pFunc(ret_input_enum, errno_input_enum, &input); in foreach_input()
81 } while (ret_input_enum == 0 && i != 0); in foreach_input()
Dv4l2_foreach.h12 typedef void (*V4L2InputTestFunc)(int ret_input_enum, int errno_input_enum, struct v4l2_input* inpu…