Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

int mxc_dma_set_channel_priority ( unsigned int  channel,
unsigned int  priority 

Setup the channel priority. This can be used to change the default priority for the channel.

channel channel number
priority priority to be set for the channel
0 on success, error code on failure

Definition at line 694 of file sdma.c.

      if (priority < MXC_SDMA_MIN_PRIORITY
          || priority > MXC_SDMA_MAX_PRIORITY) {
            return -EINVAL;
      return iapi_IoCtl(sdma_data[channel].cd, IAPI_CHANGE_PRIORITY,

Generated by  Doxygen 1.6.0   Back to index