Searched refs:m_fd (Results 1 – 9 of 9) sorted by relevance
126 m_fd = open_device_by_path(dev_path); in Card()129 m_fd = open_device_by_path(dev); in Card()149 m_fd = open_device_by_driver(name, num); in Card()151 m_fd = open_first_kms_device(); in Card()159 m_fd = open_device_by_driver(driver, idx); in Card()167 m_fd = fd; in Card()169 m_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in Card()171 if (m_fd < 0) in Card()180 drmVersionPtr ver = drmGetVersion(m_fd); in setup()192 r = fstat(m_fd, &stats); in setup()[all …]
246 : m_fd(fd), m_has_capture(false), m_has_output(false), m_has_m2m(false) in VideoDevice()290 ::close(m_fd); in ~VideoDevice()299 m_capture_streamer = std::unique_ptr<VideoStreamer>(new VideoStreamer(m_fd, type)); in get_capture_streamer()311 m_output_streamer = std::unique_ptr<VideoStreamer>(new VideoStreamer(m_fd, type)); in get_output_streamer()324 int r = ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms); in get_discrete_frame_sizes()329 while (ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms) == 0) { in get_discrete_frame_sizes()342 int r = ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms); in get_frame_sizes()407 : m_fd(fd), m_type(type) in VideoStreamer()421 while (ioctl(m_fd, VIDIOC_ENUMINPUT, &input) == 0) { in get_ports()434 while (ioctl(m_fd, VIDIOC_ENUMOUTPUT, &output) == 0) { in get_ports()[all …]
37 int fd() const { return m_fd; } in fd()42 int m_fd; /* camera file descriptor */ member in CameraPipeline75 r = buffer_export(m_fd, V4L2_BUF_TYPE_VIDEO_CAPTURE, i, &dmafd); in GetDmabufFrameBuffer()103 : m_fd(cam_fd), m_crtc(crtc), m_buffer_provider(buffer_provider), m_prev_fb_index(-1) in CameraPipeline()111 while (ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms) == 0) { in CameraPipeline()142 r = ioctl(m_fd, VIDIOC_G_FMT, &v4lfmt); in CameraPipeline()149 r = ioctl(m_fd, VIDIOC_S_FMT, &v4lfmt); in CameraPipeline()163 r = ioctl(m_fd, VIDIOC_REQBUFS, &v4lreqbuf); in CameraPipeline()183 r = ioctl(m_fd, VIDIOC_QBUF, &v4lbuf); in CameraPipeline()219 ::close(m_fd); in ~CameraPipeline()[all …]
30 int fd() const { return m_fd; } in fd()39 int m_fd;82 int fd() const { return m_fd; } in fd()85 int m_fd;
83 m_fd = open(filename, O_RDWR); in Open()84 if (m_fd < 0) in Open()90 rc = ioctl(m_fd, HIDIOCGRDESCSIZE, &desc_size); in Open()95 rc = ioctl(m_fd, HIDIOCGRDESC, &m_rptDesc); in Open()99 rc = ioctl(m_fd, HIDIOCGRAWINFO, &m_info); in Open()352 count = write(m_fd, m_outputReport + bytesWritten, in Read()435 count = write(m_fd, m_outputReport, m_outputReportSize); in Write()456 rc = ioctl(m_fd, HIDIOCSFEATURE(2), buf); in SetMode()494 rc = ioctl(m_fd, HIDIOCSFEATURE(2), buf); in ToggleInterruptMask()514 close(m_fd); in Close()[all …]
69 int m_fd;
72 : m_fd (kInvalidFd) in NativeHandle()82 : m_fd (kInvalidFd) in NativeHandle()89 if (other.m_fd >= 0) in NativeHandle()94 m_fd = dup(other.m_fd); in NativeHandle()95 TCU_CHECK(m_fd >= 0); in NativeHandle()118 DE_ASSERT(other.m_fd == kInvalidFd); in NativeHandle()142 DE_ASSERT(other.m_fd == kInvalidFd); in NativeHandle()156 : m_fd (fd) in NativeHandle()166 : m_fd (kInvalidFd) in NativeHandle()176 : m_fd (kInvalidFd) in NativeHandle()[all …]
75 int m_fd; member in vkt::ExternalMemoryUtil::NativeHandle
38 int fd() const { return m_fd; } in fd()88 int m_fd; variable