Lines Matching refs:wordIndex

1773 void Cy_SysPm_BackupWordStore(uint32_t wordIndex, uint32_t *wordSrcPointer, uint32_t wordSize)  in Cy_SysPm_BackupWordStore()  argument
1775 CY_ASSERT_L3(CY_SYSPM_IS_WORD_INDEX_VALID(wordIndex)); in Cy_SysPm_BackupWordStore()
1776 CY_ASSERT_L3(CY_SYSPM_IS_WORD_SIZE_VALID(wordSize + wordIndex)); in Cy_SysPm_BackupWordStore()
1780 if(wordIndex < CY_SRSS_BACKUP_BREG1_START_POS) in Cy_SysPm_BackupWordStore()
1782 BACKUP_BREG_SET0[wordIndex] = *wordSrcPointer; in Cy_SysPm_BackupWordStore()
1784 else if(wordIndex < CY_SRSS_BACKUP_BREG2_START_POS) in Cy_SysPm_BackupWordStore()
1786 BACKUP_BREG_SET1[wordIndex - CY_SRSS_BACKUP_BREG1_START_POS] = *wordSrcPointer; in Cy_SysPm_BackupWordStore()
1788 else if(wordIndex < CY_SRSS_BACKUP_BREG3_START_POS) in Cy_SysPm_BackupWordStore()
1790 BACKUP_BREG_SET2[wordIndex - CY_SRSS_BACKUP_BREG2_START_POS] = *wordSrcPointer; in Cy_SysPm_BackupWordStore()
1794 BACKUP_BREG_SET3[wordIndex - CY_SRSS_BACKUP_BREG3_START_POS] = *wordSrcPointer; in Cy_SysPm_BackupWordStore()
1797 wordIndex++; in Cy_SysPm_BackupWordStore()
1803 void Cy_SysPm_BackupWordReStore(uint32_t wordIndex, uint32_t *wordDstPointer, uint32_t wordSize) in Cy_SysPm_BackupWordReStore() argument
1805 CY_ASSERT_L3(CY_SYSPM_IS_WORD_INDEX_VALID(wordIndex)); in Cy_SysPm_BackupWordReStore()
1806 CY_ASSERT_L3(CY_SYSPM_IS_WORD_SIZE_VALID(wordSize + wordIndex)); in Cy_SysPm_BackupWordReStore()
1811 if(wordIndex < CY_SRSS_BACKUP_BREG1_START_POS) in Cy_SysPm_BackupWordReStore()
1813 *wordDstPointer = BACKUP_BREG_SET0[wordIndex]; in Cy_SysPm_BackupWordReStore()
1815 else if(wordIndex < CY_SRSS_BACKUP_BREG2_START_POS) in Cy_SysPm_BackupWordReStore()
1817 *wordDstPointer = BACKUP_BREG_SET1[wordIndex - CY_SRSS_BACKUP_BREG1_START_POS]; in Cy_SysPm_BackupWordReStore()
1819 else if(wordIndex < CY_SRSS_BACKUP_BREG3_START_POS) in Cy_SysPm_BackupWordReStore()
1821 *wordDstPointer = BACKUP_BREG_SET2[wordIndex - CY_SRSS_BACKUP_BREG2_START_POS]; in Cy_SysPm_BackupWordReStore()
1825 *wordDstPointer = BACKUP_BREG_SET3[wordIndex - CY_SRSS_BACKUP_BREG3_START_POS]; in Cy_SysPm_BackupWordReStore()
1828 wordIndex++; in Cy_SysPm_BackupWordReStore()