Logo Search packages:      
Sourcecode: linux version File versions

int mxc_dma_get_bd_intr ( int  channel,
int  bd_index 
)

Gets the BD_INTR bit on a buffer descriptor.

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

Definition at line 810 of file sdma.c.

{
      unsigned long bd_status = 0;

      iapi_IoCtl(sdma_data[channel].cd,
               (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