&pbl_dma_stm32h7_bdma_ops), \
.mux = (_mux), \
.bdma = (_bdma), \
.clk = _clk, \
.irqs = {_i0, _i1, _i2, _i3, _i4, _i5, _i6, _i7}, \
.chans = sym##_chans, \
}; \
PBL_DMA_STM32H7_BDMA_CHAN_IRQ(sym, 0, _i0); \
PBL_DMA_STM32H7_BDMA_CHAN_IRQ(sym, 1, _i1); \
PBL_DMA_STM32H7_BDMA_CHAN_IRQ(sym, 2, _i2); \
PBL_DMA_STM32H7_BDMA_CHAN_IRQ(sym, 3, _i3); \
PBL_DMA_STM32H7_BDMA_CHAN_IRQ(sym, 4, _i4); \
PBL_DMA_STM32H7_BDMA_CHAN_IRQ(sym, 5, _i5); \
PBL_DMA_STM32H7_BDMA_CHAN_IRQ(sym, 6, _i6); \
PBL_DMA_STM32H7_BDMA_CHAN_IRQ(sym, 7, _i7)
Channel state.
Definition stm32h7_bdma.h:37
Controller.
Definition stm32h7_bdma.h:45
#define PBL_DMA_STM32H7_BDMA_NUM_CHANNELS
Channels of the BDMA.
Definition stm32h7_bdma.h:34
#define PBL_DMA_STM32H7_BDMA_NUM_REQUESTS
Request lines of DMAMUX2, 1 to 31; 0 is none.
Definition stm32h7_bdma.h:31
A DMA controller.
Definition dma.h:176
#define PBL_DMA_CONTROLLER_STATE_DEFINE(sym, _num_channels)
Define the class state of DMA controller sym, for the driver's define macro.
Definition dma.h:193
#define PBL_DMA_CONTROLLER_INIT(sym, _name, _init, _parent, _ops)
Initializer for the struct pbl_dma_controller of controller sym.
Definition dma.h:207
Define the controller.