summaryrefslogtreecommitdiffstats
path: root/dma/nwl_engine.h
blob: 5f1fa9d68d2217dfdc7b2c58d54630b4cfac8c1e (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_dma_engine_description_t *info, const 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 */