typedef void(* dma_callback_t )(struct dma_resource *const resource)
Type definition for a DMA resource callback function.