dmaengine_slave_config

The interface has the following parameters.
  • Synopsis:
    int dmaengine_slave_config(struct dma_chan *chan, struct dma_slave_config *config)
  • Description: The interface is used to configure the device (slave) information of a DMA channel.
  • Parameter:
    • chan: The pointer to the handle of the relevant DMA channel.
    • config: Parameters of the slave in the DMA channel.
  • Return:
    • Success: 0.
    • Failure: Error code.