blob: 2640f6c3ac5f36bf90405baa978ed98fce407233 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* Request an ISA DMA channel
*/
int isa_request_dma(int channel, dma_t *dma, const char *dev_name);
/*
* Free an ISA DMA channel
*/
void isa_free_dma(int channel, dma_t *dma);
/*
* Get ISA DMA channel residue
*/
int isa_get_dma_residue(int channel, dma_t *dma);
/*
* Enable (and set up) an ISA DMA channel
*/
void isa_enable_dma(int channel, dma_t *dma);
/*
* Disable an ISA DMA channel
*/
void isa_disable_dma(int channel, dma_t *dma);
/*
* Initialise DMA
*/
int isa_init_dma(void);
|