This driver supports both eDMA3 and eDMA4 (also referred to as DMA0 / DMA1 in some contexts..) The IP blocks are almost identical, with sufficiently minor differences to use them via a unified driver. The price is a great amount of code obfuscation in the hardware description layer.