dmaengine: cppi41: convert callback to helper function