Home
last modified time | relevance | path

Searched refs:capq (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c635 return asd->video_out_preview.capq.streaming in atomisp_subdev_streaming_count()
636 + asd->video_out_capture.capq.streaming in atomisp_subdev_streaming_count()
637 + asd->video_out_video_capture.capq.streaming in atomisp_subdev_streaming_count()
638 + asd->video_out_vf.capq.streaming; in atomisp_subdev_streaming_count()
1118 mutex_lock(&pipe->capq.vb_lock); in atomisp_reqbufs()
1119 if (!list_empty(&pipe->capq.stream)) in atomisp_reqbufs()
1120 videobuf_queue_cancel(&pipe->capq); in atomisp_reqbufs()
1122 atomisp_videobuf_free_queue(&pipe->capq); in atomisp_reqbufs()
1123 mutex_unlock(&pipe->capq.vb_lock); in atomisp_reqbufs()
1133 ret = videobuf_reqbufs(&pipe->capq, req); in atomisp_reqbufs()
[all …]
Datomisp_fops.c564 videobuf_queue_vmalloc_init(&pipe->capq, &videobuf_qops, NULL, in atomisp_init_pipe()
789 if (pipe->capq.streaming) in atomisp_release()
794 if (pipe->capq.streaming && in atomisp_release()
1089 return atomisp_videobuf_mmap_mapper(&pipe->capq, vma); in atomisp_mmap()
1105 if (pipe->capq.streaming != 1) { in atomisp_poll()
1111 return videobuf_poll_stream(file, &pipe->capq, pt); in atomisp_poll()
Datomisp_subdev.h72 struct videobuf_queue capq; member
Datomisp_cmd.c691 for (i = 0; pipe->capq.bufs[i]; i++) { in atomisp_css_frame_to_vbuf()
692 vm_mem = pipe->capq.bufs[i]->priv; in atomisp_css_frame_to_vbuf()
695 return pipe->capq.bufs[i]; in atomisp_css_frame_to_vbuf()
710 for (i = 0; pipe->capq.bufs[i]; i++) { in atomisp_flush_video_pipe()
712 if (pipe->capq.bufs[i]->state == VIDEOBUF_ACTIVE || in atomisp_flush_video_pipe()
713 pipe->capq.bufs[i]->state == VIDEOBUF_QUEUED) { in atomisp_flush_video_pipe()
714 pipe->capq.bufs[i]->ts = ktime_get_ns(); in atomisp_flush_video_pipe()
715 pipe->capq.bufs[i]->field_count = in atomisp_flush_video_pipe()
719 if (pipe->capq.bufs[i]->state == VIDEOBUF_QUEUED) in atomisp_flush_video_pipe()
720 list_del_init(&pipe->capq.bufs[i]->queue); in atomisp_flush_video_pipe()
[all …]