- g2_dma->channel[chan].size,
- g2_dma->channel[chan].root_addr,
- g2_dma->channel[chan].g2_addr,
- g2_dma->channel[chan].direction,
- g2_dma->channel[chan].ctrl,
- g2_dma->channel[chan].chan_enable,
- g2_dma->channel[chan].xfer_enable);
+ g2_dma->channel[chan_nr].size,
+ g2_dma->channel[chan_nr].root_addr,
+ g2_dma->channel[chan_nr].g2_addr,
+ g2_dma->channel[chan_nr].direction,
+ g2_dma->channel[chan_nr].ctrl,
+ g2_dma->channel[chan_nr].chan_enable,
+ g2_dma->channel[chan_nr].xfer_enable);