Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_STD.c45 v4l2_std_id std_id; in do_test_VIDIOC_G_STD() local
71 memset(&std_id, 0xff, sizeof(std_id)); in do_test_VIDIOC_G_STD()
72 ret_std_get = ioctl(f, VIDIOC_G_STD, &std_id); in do_test_VIDIOC_G_STD()
77 __FILE__, __LINE__, ret_std_get, errno_std_get, std_id); in do_test_VIDIOC_G_STD()
87 CU_ASSERT(valid_v4l2_std_id(std_id)); in do_test_VIDIOC_G_STD()
98 CU_ASSERT(valid_v4l2_std_id(std_id)); in do_test_VIDIOC_G_STD()
139 v4l2_std_id std_id; in do_set_video_standard() local
141 std_id = id; in do_set_video_standard()
142 ret_std_set = ioctl(f, VIDIOC_S_STD, &std_id); in do_set_video_standard()
147 __FILE__, __LINE__, ret_std_set, errno_std_set, std_id, id); in do_set_video_standard()
[all …]
Dv4l2_validator.c27 int valid_v4l2_std_id(v4l2_std_id std_id) in valid_v4l2_std_id() argument
31 if ((std_id & ~(V4L2_STD_PAL_B | in valid_v4l2_std_id()
Dv4l2_validator.h13 int valid_v4l2_std_id(v4l2_std_id std_id);