Lines Matching refs:req_buf
322 struct v4l2_requestbuffers req_buf; in m_gsc_m2m_stop() local
376 req_buf.count = 0; in m_gsc_m2m_stop()
377 req_buf.type = gsc->src_info.buf.buf_type; in m_gsc_m2m_stop()
378 req_buf.memory = gsc->src_info.buf.mem_type; in m_gsc_m2m_stop()
379 if (ioctl(gsc->gsc_fd, VIDIOC_REQBUFS, &req_buf) < 0) { in m_gsc_m2m_stop()
385 req_buf.count = 0; in m_gsc_m2m_stop()
386 req_buf.type = gsc->dst_info.buf.buf_type; in m_gsc_m2m_stop()
387 req_buf.memory = gsc->dst_info.buf.mem_type;; in m_gsc_m2m_stop()
388 if (ioctl(gsc->gsc_fd, VIDIOC_REQBUFS, &req_buf) < 0) { in m_gsc_m2m_stop()
675 struct v4l2_requestbuffers req_buf; in m_gsc_set_format() local
737 req_buf.count = 1; in m_gsc_set_format()
738 req_buf.type = info->buf.buf_type; in m_gsc_set_format()
739 req_buf.memory = info->buf.mem_type; in m_gsc_set_format()
740 if (ioctl(fd, VIDIOC_REQBUFS, &req_buf) < 0) { in m_gsc_set_format()