HW_APB_CTRL2
if (DMA_RD(sc, HW_APB_CTRL2) & (1<<chan->chan_index)) {
if (DMA_RD(sc, HW_APB_CTRL2) & (1<<chan->chan_index)<<16)