Home
last modified time | relevance | path

Searched refs:is_output (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/media/pci/cobalt/
Dcobalt-v4l2.c81 !s->is_output, sg_desc->nents, size, in cobalt_buf_init()
259 if (!s->is_output) { in cobalt_dma_start_streaming()
295 if (s->is_output) { in cobalt_start_streaming()
358 if (!s->is_output) { in cobalt_dma_stop_streaming()
411 if (s->is_audio || s->is_output) in cobalt_stop_streaming()
589 if (!s->is_output) { in cobalt_log_status()
1022 if (edid->pad >= (s->is_output ? 1 : 2)) in cobalt_g_edid()
1220 } else if (s->is_output) { in cobalt_node_register()
1237 vdev->fops = s->is_output ? &cobalt_out_fops : in cobalt_node_register()
1240 vdev->vfl_dir = s->is_output ? VFL_DIR_TX : VFL_DIR_RX; in cobalt_node_register()
[all …]
Dcobalt-driver.c143 if (s->is_output) in cobalt_notify()
424 s->is_output = false; in cobalt_stream_struct_init()
448 s->is_output = true; in cobalt_stream_struct_init()
455 s->is_output = true; in cobalt_stream_struct_init()
Dcobalt-irq.c46 if (s->is_audio || s->is_output) in cobalt_dma_stream_queue_handler()
Dcobalt-driver.h239 bool is_output; member
Dcobalt-alsa-pcm.c470 if (!s->is_output) { in snd_cobalt_pcm_create()
/linux-6.1.9/drivers/media/pci/cx25821/
Dcx25821-video.c682 bool is_output = i > SRAM_CH08; in cx25821_video_register() local
687 if (!is_output) { in cx25821_video_register()
728 q->type = is_output ? V4L2_BUF_TYPE_VIDEO_OUTPUT : in cx25821_video_register()
731 q->io_modes |= is_output ? VB2_WRITE : VB2_READ; in cx25821_video_register()
742 if (!is_output) { in cx25821_video_register()
749 *vdev = is_output ? cx25821_video_out_device : cx25821_video_device; in cx25821_video_register()
751 if (!is_output) in cx25821_video_register()
/linux-6.1.9/drivers/media/common/videobuf2/
Dvideobuf2-core.c907 q->waiting_for_buffers = !q->is_output; in vb2_core_reqbufs()
948 q->waiting_for_buffers = !q->is_output; in vb2_core_create_bufs()
1421 if (q->is_output) { in __buf_prepare()
1688 if (q->is_output && !vb->prepared) { in vb2_core_qbuf()
2185 q->waiting_for_buffers = !q->is_output; in vb2_core_streamoff()
2326 if (q->is_output) { in vb2_mmap()
2460 q->dma_dir = q->is_output ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in vb2_core_queue_init()
2464 q->is_output ? "out" : "cap", q); in vb2_core_queue_init()
2498 if (!q->is_output && !(req_events & (EPOLLIN | EPOLLRDNORM))) in vb2_core_poll()
2500 if (q->is_output && !(req_events & (EPOLLOUT | EPOLLWRNORM))) in vb2_core_poll()
[all …]
Dvideobuf2-v4l2.c147 if (q->is_output) { in __copy_timestamp()
189 if (b->field == V4L2_FIELD_ALTERNATE && q->is_output) { in vb2_fill_vb2_v4l2_buffer()
839 if (!q->is_output && in vb2_dqbuf()
907 q->is_output = V4L2_TYPE_IS_OUTPUT(q->type); in vb2_queue_init_name()
/linux-6.1.9/include/media/
Dvideobuf2-core.h627 unsigned int is_output:1; member
/linux-6.1.9/drivers/media/dvb-core/
Ddvb_vb2.c171 q->is_output = 0; in dvb_vb2_init()
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-mem2mem.c736 if (WARN_ON(q->is_output)) in v4l2_m2m_force_last_buf_done()