xdma_alloc_channels
ret = xdma_alloc_channels(xdev, DMA_MEM_TO_DEV);
ret = xdma_alloc_channels(xdev, DMA_DEV_TO_MEM);