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:
- dev: The DMA applicant device.
- name: Name of the DMA channel. The value corresponds with the value of dma-names in .DMA Requester Device Tree Configuration
- Return:
- Success: A pointer to the handle of DMA channel.
- Failure: NULL.