Lines Matching refs:iomd_dma
25 struct iomd_dma { struct
54 static void iomd_get_next_sg(struct iomd_dma *idma) in iomd_get_next_sg() argument
97 struct iomd_dma *idma = dev_id; in iomd_dma_handle()
136 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); in iomd_request_dma()
144 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); in iomd_free_dma()
157 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); in iomd_enable_dma()
194 struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma); in iomd_disable_dma()
333 static struct iomd_dma iomd_dma[6]; variable
364 iomd_dma[DMA_0].base = IOMD_BASE + IOMD_IO0CURA; in rpc_dma_init()
365 iomd_dma[DMA_0].irq = IRQ_DMA0; in rpc_dma_init()
366 iomd_dma[DMA_1].base = IOMD_BASE + IOMD_IO1CURA; in rpc_dma_init()
367 iomd_dma[DMA_1].irq = IRQ_DMA1; in rpc_dma_init()
368 iomd_dma[DMA_2].base = IOMD_BASE + IOMD_IO2CURA; in rpc_dma_init()
369 iomd_dma[DMA_2].irq = IRQ_DMA2; in rpc_dma_init()
370 iomd_dma[DMA_3].base = IOMD_BASE + IOMD_IO3CURA; in rpc_dma_init()
371 iomd_dma[DMA_3].irq = IRQ_DMA3; in rpc_dma_init()
372 iomd_dma[DMA_S0].base = IOMD_BASE + IOMD_SD0CURA; in rpc_dma_init()
373 iomd_dma[DMA_S0].irq = IRQ_DMAS0; in rpc_dma_init()
374 iomd_dma[DMA_S1].base = IOMD_BASE + IOMD_SD1CURA; in rpc_dma_init()
375 iomd_dma[DMA_S1].irq = IRQ_DMAS1; in rpc_dma_init()
378 iomd_dma[i].dma.d_ops = &iomd_dma_ops; in rpc_dma_init()
380 ret = isa_dma_add(i, &iomd_dma[i].dma); in rpc_dma_init()