Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/dvb/mantis/
Dmantis_dma.c56 if (mantis->buf_cpu) { in mantis_dma_exit()
60 mantis->buf_cpu, in mantis_dma_exit()
64 mantis->buf_cpu, mantis->buf_dma); in mantis_dma_exit()
66 mantis->buf_cpu = NULL; in mantis_dma_exit()
87 if (!mantis->buf_cpu) { in mantis_alloc_buffers()
88 mantis->buf_cpu = pci_alloc_consistent(mantis->pdev, in mantis_alloc_buffers()
91 if (!mantis->buf_cpu) { in mantis_alloc_buffers()
100 mantis->buf_cpu, MANTIS_BUF_SIZE); in mantis_alloc_buffers()
253 (&mantis->demux, &mantis->buf_cpu[mantis->last_block * MANTIS_BLOCK_BYTES], MANTIS_BLOCK_BYTES); in mantis_dma_xfer()
Dmantis_common.h130 u8 *buf_cpu; member
/linux-2.6.39/drivers/media/dvb/bt8xx/
Dbt878.c86 if (bt->buf_cpu) { in bt878_mem_free()
87 pci_free_consistent(bt->dev, bt->buf_size, bt->buf_cpu, in bt878_mem_free()
89 bt->buf_cpu = NULL; in bt878_mem_free()
101 if (!bt->buf_cpu) { in bt878_mem_alloc()
104 bt->buf_cpu = in bt878_mem_alloc()
108 if (!bt->buf_cpu) in bt878_mem_alloc()
111 memset(bt->buf_cpu, 0, bt->buf_size); in bt878_mem_alloc()
Dbt878.h127 u8 *buf_cpu; member
Ddvb-bt8xx.c61 &card->bt->buf_cpu[card->bt->last_block * in dvb_bt8xx_task()
/linux-2.6.39/drivers/staging/dt3155v4l/
Ddt3155v4l.c886 void *buf_cpu; in dt3155_init_board() local
952 buf_cpu = dma_alloc_coherent(&dev->dev, DT3155_BUF_SIZE, &buf_dma, in dt3155_init_board()
954 if (!buf_cpu) { in dt3155_init_board()
978 dma_free_coherent(&dev->dev, DT3155_BUF_SIZE, buf_cpu, buf_dma); in dt3155_init_board()