Instead of calling DMA_Init to set up everything it's possible sometimes to just call DMA_CalcBaseAndBitshift, so make the latter public.