dma_request_channel

The interface has the following parameters.
  • Synopsis:
    struct dma_channel *dma_request_channel(struct device *dev, const char *name)
  • Description: The interface is used to request an available DMA channel.
  • Parameter:
  • Return:
    • Success: A pointer to the handle of DMA channel.
    • Failure: NULL.