Home
last modified time | relevance | path

Searched refs:dma_queue (Results 1 – 22 of 22) sorted by relevance

/linux-5.19.10/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c171 buf = list_first_entry(&video->dma_queue, in sun6i_video_start_streaming()
213 list_for_each_entry(buf, &video->dma_queue, list) in sun6i_video_start_streaming()
215 INIT_LIST_HEAD(&video->dma_queue); in sun6i_video_start_streaming()
238 list_for_each_entry(buf, &video->dma_queue, list) in sun6i_video_stop_streaming()
240 INIT_LIST_HEAD(&video->dma_queue); in sun6i_video_stop_streaming()
254 list_add_tail(&buf->list, &video->dma_queue); in sun6i_video_buffer_queue()
266 buf = list_first_entry(&video->dma_queue, in sun6i_video_frame_done()
268 if (list_is_last(&buf->list, &video->dma_queue)) { in sun6i_video_frame_done()
293 if (!list_is_last(&next_buf->list, &video->dma_queue)) { in sun6i_video_frame_done()
620 INIT_LIST_HEAD(&video->dma_queue); in sun6i_video_init()
Dsun6i_video.h25 struct list_head dma_queue; member
/linux-5.19.10/drivers/media/platform/ti/davinci/
Dvpif_display.c155 list_add_tail(&buf->list, &common->dma_queue); in vpif_buffer_queue()
199 list_entry(common->dma_queue.next, in vpif_start_streaming()
235 list_for_each_entry_safe(buf, tmp, &common->dma_queue, list) { in vpif_start_streaming()
283 while (!list_empty(&common->dma_queue)) { in vpif_stop_streaming()
284 common->next_frm = list_entry(common->dma_queue.next, in vpif_stop_streaming()
309 common->next_frm = list_entry(common->dma_queue.next, in process_progressive_mode()
343 if (list_empty(&common->dma_queue) in process_interlaced_mode()
380 if (list_empty(&common->dma_queue)) { in vpif_channel_isr()
1180 INIT_LIST_HEAD(&common->dma_queue); in vpif_probe_complete()
Dvpif_capture.h56 struct list_head dma_queue; member
Dvpif_display.h78 struct list_head dma_queue; /* Queue of filled frames */ member
Dvpbe_display.c80 if (list_empty(&layer->dma_queue) || in vpbe_isr_odd_field()
91 layer->next_frm = list_entry(layer->dma_queue.next, in vpbe_isr_odd_field()
265 list_add_tail(&buf->list, &layer->dma_queue); in vpbe_buffer_queue()
278 layer->next_frm = layer->cur_frm = list_entry(layer->dma_queue.next, in vpbe_start_streaming()
294 list_for_each_entry_safe(buf, tmp, &layer->dma_queue, list) { in vpbe_start_streaming()
338 while (!list_empty(&layer->dma_queue)) { in vpbe_stop_streaming()
339 layer->next_frm = list_entry(layer->dma_queue.next, in vpbe_stop_streaming()
1441 INIT_LIST_HEAD(&disp_dev->dev[i]->dma_queue); in vpbe_display_probe()
Dvpif_capture.c155 list_add_tail(&buf->list, &common->dma_queue); in vpif_buffer_queue()
206 common->cur_frm = common->next_frm = list_entry(common->dma_queue.next, in vpif_start_streaming()
240 list_for_each_entry_safe(buf, tmp, &common->dma_queue, list) { in vpif_start_streaming()
296 while (!list_empty(&common->dma_queue)) { in vpif_stop_streaming()
297 common->next_frm = list_entry(common->dma_queue.next, in vpif_stop_streaming()
345 common->next_frm = list_entry(common->dma_queue.next, in vpif_schedule_next_buffer()
389 if (list_empty(&common->dma_queue)) { in vpif_channel_isr()
438 if (list_empty(&common->dma_queue) || in vpif_channel_isr()
1441 INIT_LIST_HEAD(&common->dma_queue); in vpif_probe_complete()
Dvpfe_capture.c462 vpfe_dev->next_frm = list_entry(vpfe_dev->dma_queue.next, in vpfe_schedule_next_buffer()
548 if (!list_empty(&vpfe_dev->dma_queue) && in vpfe_isr()
582 !list_empty(&vpfe_dev->dma_queue) && in vdint1_isr()
1220 list_add_tail(&vb->queue, &vpfe_dev->dma_queue); in vpfe_videobuf_queue()
1241 INIT_LIST_HEAD(&vpfe_dev->dma_queue); in vpfe_videobuf_release()
1294 INIT_LIST_HEAD(&vpfe_dev->dma_queue); in vpfe_reqbufs()
1435 vpfe_dev->next_frm = list_entry(vpfe_dev->dma_queue.next, in vpfe_streamon()
/linux-5.19.10/include/media/davinci/
Dvpbe_display.h77 struct list_head dma_queue; member
Dvpfe_capture.h143 struct list_head dma_queue; member
/linux-5.19.10/drivers/media/platform/atmel/
Datmel-isc-base.c368 isc->cur_frm = list_first_entry(&isc->dma_queue, in isc_start_streaming()
389 list_for_each_entry(buf, &isc->dma_queue, list) in isc_start_streaming()
391 INIT_LIST_HEAD(&isc->dma_queue); in isc_start_streaming()
433 list_for_each_entry(buf, &isc->dma_queue, list) in isc_stop_streaming()
435 INIT_LIST_HEAD(&isc->dma_queue); in isc_stop_streaming()
447 if (!isc->cur_frm && list_empty(&isc->dma_queue) && in isc_buffer_queue()
452 list_add_tail(&buf->list, &isc->dma_queue); in isc_buffer_queue()
1242 if (!list_empty(&isc->dma_queue) && !isc->stop) { in isc_interrupt()
1243 isc->cur_frm = list_first_entry(&isc->dma_queue, in isc_interrupt()
1884 INIT_LIST_HEAD(&isc->dma_queue); in isc_async_complete()
Datmel-isc.h277 struct list_head dma_queue; member
/linux-5.19.10/drivers/media/platform/ti/omap/
Domap_vout.c469 if (list_empty(&vout->dma_queue) || in omapvid_handle_interlace_display()
540 if (list_empty(&vout->dma_queue)) in omap_vout_isr()
543 vout->next_frm = list_entry(vout->dma_queue.next, in omap_vout_isr()
991 list_add_tail(&voutbuf->queue, &vout->dma_queue); in omap_vout_vb2_queue()
1004 vout->next_frm = vout->cur_frm = list_entry(vout->dma_queue.next, in omap_vout_vb2_start_streaming()
1076 list_for_each_entry_safe(buf, tmp, &vout->dma_queue, queue) { in omap_vout_vb2_start_streaming()
1111 list_for_each_entry_safe(buf, tmp, &vout->dma_queue, queue) { in omap_vout_vb2_stop_streaming()
1368 INIT_LIST_HEAD(&vout->dma_queue); in omap_vout_setup_video_data()
Domap_voutdef.h172 struct list_head dma_queue; member
/linux-5.19.10/drivers/media/platform/ti/am437x/
Dam437x-vpfe.h273 struct list_head dma_queue; member
Dam437x-vpfe.c1114 if (list_empty(&vpfe->dma_queue)) { in vpfe_schedule_next_buffer()
1119 vpfe->next_frm = list_entry(vpfe->dma_queue.next, in vpfe_schedule_next_buffer()
1834 list_add_tail(&buf->list, &vpfe->dma_queue); in vpfe_buffer_queue()
1845 list_for_each_entry_safe(buf, node, &vpfe->dma_queue, list) { in vpfe_return_all_buffers()
1892 vpfe->next_frm = list_entry(vpfe->dma_queue.next, in vpfe_start_streaming()
2246 INIT_LIST_HEAD(&vpfe->dma_queue); in vpfe_probe_complete()
/linux-5.19.10/drivers/net/ethernet/ti/
Dnetcp.h37 void *dma_queue; member
Dnetcp_core.c1257 knav_queue_push(tx_pipe->dma_queue, dma, dma_sz, 0); in netcp_tx_submit_skb()
1349 tx_pipe->dma_queue = knav_queue_open(name, tx_pipe->dma_queue_id, in netcp_txpipe_open()
1351 if (IS_ERR(tx_pipe->dma_queue)) { in netcp_txpipe_open()
1353 name, tx_pipe->dma_queue); in netcp_txpipe_open()
1354 ret = PTR_ERR(tx_pipe->dma_queue); in netcp_txpipe_open()
/linux-5.19.10/drivers/vme/bridges/
Dvme_ca91cx42.h39 wait_queue_head_t dma_queue; member
Dvme_tsi148.c81 wake_up(&bridge->dma_queue[0]); in tsi148_DMA_irqhandler()
85 wake_up(&bridge->dma_queue[1]); in tsi148_DMA_irqhandler()
1854 retval = wait_event_interruptible(bridge->dma_queue[channel], in tsi148_dma_list_exec()
1861 wait_event(bridge->dma_queue[channel], in tsi148_dma_list_exec()
2331 init_waitqueue_head(&tsi148_device->dma_queue[0]); in tsi148_probe()
2332 init_waitqueue_head(&tsi148_device->dma_queue[1]); in tsi148_probe()
Dvme_ca91cx42.c57 wake_up(&bridge->dma_queue); in ca91cx42_DMA_irqhandler()
1234 retval = wait_event_interruptible(bridge->dma_queue, in ca91cx42_dma_list_exec()
1241 wait_event(bridge->dma_queue, in ca91cx42_dma_list_exec()
1659 init_waitqueue_head(&ca91cx42_device->dma_queue); in ca91cx42_probe()
Dvme_tsi148.h35 wait_queue_head_t dma_queue[2]; member