summaryrefslogtreecommitdiffstats
path: root/dma/nwl_engine.h
blob: f9f3f60c8e455e6197a6b434dd3514e65e5477b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _PCILIB_DMA_NWL_ENGINE_H
#define _PCILIB_DMA_NWL_ENGINE_H

int dma_nwl_read_engine_config(nwl_dma_t *ctx, pcilib_nwl_engine_description_t *info, char *base);
int dma_nwl_start_engine(nwl_dma_t *ctx, pcilib_dma_engine_t dma);
int dma_nwl_stop_engine(nwl_dma_t *ctx, pcilib_dma_engine_t dma);

int dma_nwl_wait_completion(nwl_dma_t * ctx, pcilib_dma_engine_t dma, pcilib_timeout_t timeout);


#endif /* _PCILIB_DMA_NWL_ENGINE_H */