Home
last modified time | relevance | path

Searched refs:buf_cpu (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/media/pci/mantis/
Dmantis_dma.c48 if (mantis->buf_cpu) { in mantis_dma_exit()
52 mantis->buf_cpu, in mantis_dma_exit()
56 mantis->buf_cpu, mantis->buf_dma); in mantis_dma_exit()
58 mantis->buf_cpu = NULL; in mantis_dma_exit()
79 if (!mantis->buf_cpu) { in mantis_alloc_buffers()
80 mantis->buf_cpu = dma_alloc_coherent(&mantis->pdev->dev, in mantis_alloc_buffers()
83 if (!mantis->buf_cpu) { in mantis_alloc_buffers()
92 mantis->buf_cpu, MANTIS_BUF_SIZE); in mantis_alloc_buffers()
213 (&mantis->demux, &mantis->buf_cpu[mantis->last_block * MANTIS_BLOCK_BYTES], MANTIS_BLOCK_BYTES); in mantis_dma_xfer()
Dmantis_common.h123 u8 *buf_cpu; member
/Linux-v6.6/drivers/media/pci/bt8xx/
Dbt878.c69 if (bt->buf_cpu) { in bt878_mem_free()
70 dma_free_coherent(&bt->dev->dev, bt->buf_size, bt->buf_cpu, in bt878_mem_free()
72 bt->buf_cpu = NULL; in bt878_mem_free()
84 if (!bt->buf_cpu) { in bt878_mem_alloc()
87 bt->buf_cpu = dma_alloc_coherent(&bt->dev->dev, bt->buf_size, in bt878_mem_alloc()
89 if (!bt->buf_cpu) in bt878_mem_alloc()
Dbt878.h115 u8 *buf_cpu; member
Ddvb-bt8xx.c52 &card->bt->buf_cpu[card->bt->last_block * in dvb_bt8xx_task()