Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/pci/mantis/
H A Dmantis_dma.c35 #define RISC_INSTR(risc_pos, opcode) (mantis->risc_cpu[risc_pos++] = cpu_to_le32(opcode))
60 if (mantis->risc_cpu) { in mantis_dma_exit()
64 mantis->risc_cpu, in mantis_dma_exit()
68 mantis->risc_cpu, mantis->risc_dma); in mantis_dma_exit()
70 mantis->risc_cpu = NULL; in mantis_dma_exit()
94 if (!mantis->risc_cpu) { in mantis_alloc_buffers()
95 mantis->risc_cpu = dma_alloc_coherent(&mantis->pdev->dev, in mantis_alloc_buffers()
99 if (!mantis->risc_cpu) { in mantis_alloc_buffers()
110 mantis->risc_cpu, MANTIS_RISC_SIZE); in mantis_alloc_buffers()
H A Dmantis_common.h125 __le32 *risc_cpu; member
/openbmc/linux/drivers/media/pci/bt8xx/
H A Dbt878.c75 if (bt->risc_cpu) { in bt878_mem_free()
76 dma_free_coherent(&bt->dev->dev, bt->risc_size, bt->risc_cpu, in bt878_mem_free()
78 bt->risc_cpu = NULL; in bt878_mem_free()
93 if (!bt->risc_cpu) { in bt878_mem_alloc()
95 bt->risc_cpu = dma_alloc_coherent(&bt->dev->dev, bt->risc_size, in bt878_mem_alloc()
97 if (!bt->risc_cpu) { in bt878_mem_alloc()
121 #define RISC_INSTR(instr) bt->risc_cpu[bt->risc_pos++] = cpu_to_le32(instr)
H A Dbt878.h119 __le32 *risc_cpu; member