1 #ifndef _BFLB_PLATFORM_DMA_H 2 #define _BFLB_PLATFORM_DMA_H 10 #define PLFM_DMA_CHANNEL_MAX 5 void bflb_platform_dma_buserr_isr(struct bflb_device_s *dev)
Interrupt service routine when a bus error is detected while in a DMA transfer. This error is conside...
void bflb_platform_dma_clear_eot(struct bflb_device_s *dev)
Active wait until DMA channel become inactive.
void bflb_platform_dma_init(struct bflb_device_s *dev)
Initialize the bridge DMA registers.
void bflb_platform_dma_wait_eot(struct bflb_device_s *dev)
Active wait until DMA channel become inactive.
void bflb_platform_dma_push(struct bflb_device_s *dev, struct bflb_platform_dma_desc *first, struct bflb_platform_dma_desc *last)
Chains a chained list of descriptors in the DMA.
#define PLFM_DMA_CHANNEL_MAX