Lines Matching refs:fd
42 int priority_test(int fd)
50 ret = ioctl(fd, VIDIOC_G_PRIORITY, &old_priority);
56 ret = ioctl(fd, VIDIOC_S_PRIORITY, &new_priority);
61 ret = ioctl(fd, VIDIOC_G_PRIORITY, &priority_to_compare);
73 ret = ioctl(fd, VIDIOC_S_PRIORITY, &old_priority);
81 int loop_test(int fd)
99 ret = ioctl(fd, VIDIOC_QUERYCAP, &vcap);
105 ret = ioctl(fd, VIDIOC_G_TUNER, &vtuner);
121 int fd;
143 fd = open(video_dev, O_RDWR);
144 if (fd == -1) {
149 test_result = priority_test(fd);
155 loop_test(fd);