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

int mxc_dma_get_bd_intr ( int  channel,
int  bd_index 

Gets the BD_INTR bit on a buffer descriptor.

channel channel number
bd_index index of buffer descriptor to set
returns the BD_INTR bit status

Definition at line 894 of file sdma.c.

      unsigned long bd_status = 0;

               (bd_index << BD_NUM_OFFSET) |
               IAPI_CHANGE_GET_STATUS, (unsigned long)&bd_status);

      return (bd_status & BD_INTR);

Generated by  Doxygen 1.6.0   Back to index