Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_REQBUFS.c35 int ret_req, errno_req; in do_VIDIOC_REQBUFS_capture_mmap() local
50 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_capture_mmap()
54 __FILE__, __LINE__, count, ret_req, errno_req); in do_VIDIOC_REQBUFS_capture_mmap()
63 CU_ASSERT_EQUAL(ret_req, 0); in do_VIDIOC_REQBUFS_capture_mmap()
71 CU_ASSERT_EQUAL(ret_req, -1); in do_VIDIOC_REQBUFS_capture_mmap()
82 if (ret_req == 0) { in do_VIDIOC_REQBUFS_capture_mmap()
104 int ret_req, errno_req; in do_VIDIOC_REQBUFS_capture_userptr() local
119 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_capture_userptr()
123 __FILE__, __LINE__, count, ret_req, errno_req); in do_VIDIOC_REQBUFS_capture_userptr()
127 (cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) && ret_req == 0) { in do_VIDIOC_REQBUFS_capture_userptr()
[all …]
Dtest_VIDIOC_QUERYBUF.c35 int ret_req, errno_req; in do_VIDIOC_QUERYBUF() local
65 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_QUERYBUF()
69 CU_ASSERT_EQUAL(ret_req, 0); in do_VIDIOC_QUERYBUF()
71 CU_ASSERT_EQUAL(ret_req, -1); in do_VIDIOC_QUERYBUF()
77 __FILE__, __LINE__, count, type, memory, ret_req, errno_req); in do_VIDIOC_QUERYBUF()
79 if (ret_req == 0) { in do_VIDIOC_QUERYBUF()
83 if (ret_req != 0) { in do_VIDIOC_QUERYBUF()
231 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_QUERYBUF()
235 __FILE__, __LINE__, count, ret_req, errno_req); in do_VIDIOC_QUERYBUF()
238 CU_ASSERT_EQUAL(ret_req, 0); in do_VIDIOC_QUERYBUF()
[all …]