Lines Matching refs:dma
54 static int isa_get_dma_residue(dmach_t channel, dma_t *dma) in isa_get_dma_residue() argument
65 static void isa_enable_dma(dmach_t channel, dma_t *dma) in isa_enable_dma() argument
67 if (dma->invalid) { in isa_enable_dma()
72 switch (dma->dma_mode & DMA_MODE_MASK) { in isa_enable_dma()
92 if (!dma->using_sg) { in isa_enable_dma()
97 dma->buf.dma_address = pci_map_single(NULL, in isa_enable_dma()
98 dma->buf.address, dma->buf.length, in isa_enable_dma()
102 address = dma->buf.dma_address; in isa_enable_dma()
103 length = dma->buf.length - 1; in isa_enable_dma()
121 if (dma->dma_mode & DMA_AUTOINIT) in isa_enable_dma()
125 dma->invalid = 0; in isa_enable_dma()
130 static void isa_disable_dma(dmach_t channel, dma_t *dma) in isa_disable_dma() argument
149 void __init isa_init_dma(dma_t *dma) in isa_init_dma() argument
170 dma[channel].d_ops = &isa_dma_ops; in isa_init_dma()