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

static int offset_within_smn ( uint32_t  register_offset  )  [inline, static]

Check that the offset is with the bounds of the SMN register set.

Parameters:
[in] register_offset register offset of SMN.
Returns:
1 if true, 0 if false (not within SMN)

Definition at line 1652 of file scc2_driver.c.

References SMN_HAC_REG, and SMN_STATUS_REG.

{
      return ((register_offset >= SMN_STATUS_REG)
            && (register_offset <= SMN_HAC_REG));
}


Generated by  Doxygen 1.6.0   Back to index