Lines Matching refs:PCM

64         regValue = PCM->CTL0;  in __PCM_setCoreVoltageLevelAdvanced()
71 PCM->CTL0 = (PCM_KEY | (PCM_AM_LDO_VCORE1) in __PCM_setCoreVoltageLevelAdvanced()
77 PCM->CTL0 = (PCM_KEY | (PCM_AM_LDO_VCORE0) in __PCM_setCoreVoltageLevelAdvanced()
86 while (BITBAND_PERI(PCM->CTL1, PCM_CTL1_PMR_BUSY_OFS)) in __PCM_setCoreVoltageLevelAdvanced()
215 regValue = PCM->CTL0; in __PCM_setPowerModeAdvanced()
221 PCM->CTL0 = (PCM_KEY | PCM_AM_LDO_VCORE0 in __PCM_setPowerModeAdvanced()
226 PCM->CTL0 = (PCM_KEY | PCM_AM_LDO_VCORE1 in __PCM_setPowerModeAdvanced()
233 PCM->CTL0 = (PCM_KEY | PCM_AM_DCDC_VCORE1 in __PCM_setPowerModeAdvanced()
237 PCM->CTL0 = (PCM_KEY | PCM_AM_LF_VCORE1 in __PCM_setPowerModeAdvanced()
248 PCM->CTL0 = (PCM_KEY | PCM_AM_DCDC_VCORE0 in __PCM_setPowerModeAdvanced()
252 PCM->CTL0 = (PCM_KEY | PCM_AM_LF_VCORE0 in __PCM_setPowerModeAdvanced()
265 while (BITBAND_PERI(PCM->CTL1, PCM_CTL1_PMR_BUSY_OFS)) in __PCM_setPowerModeAdvanced()
410 if (BITBAND_PERI(PCM->CTL1, PCM_CTL1_PMR_BUSY_OFS)) in PCM_shutdownDevice()
416 PCM->CTL0 = (PCM_KEY | shutdownModeBits in PCM_shutdownDevice()
417 | (PCM->CTL0 & ~(PCM_CTL0_KEY_MASK | PCM_CTL0_LPMR_MASK))); in PCM_shutdownDevice()
456 if (BITBAND_PERI(PCM->CTL1, PCM_CTL1_PMR_BUSY_OFS)) in PCM_gotoLPM0()
491 if (BITBAND_PERI(PCM->CTL1, PCM_CTL1_PMR_BUSY_OFS)) in PCM_gotoLPM3()
495 if ((PCM->CTL0 & PCM_CTL0_LPMR_MASK) == PCM_CTL0_LPMR_10 in PCM_gotoLPM3()
496 || (PCM->CTL0 & PCM_CTL0_LPMR_MASK) == PCM_CTL0_LPMR_12) in PCM_gotoLPM3()
506 PCM->CTL0 = (PCM->CTL0 & ~(PCM_CTL0_KEY_MASK | PCM_CTL0_LPMR_MASK)) | PCM_KEY; in PCM_gotoLPM3()
539 return (PCM->CTL0 & PCM_CTL0_CPM_MASK) >> PCM_CTL0_CPM_OFS; in PCM_getPowerState()
545 PCM->CTL1 = (PCM->CTL1 & ~(PCM_CTL0_KEY_MASK)) | PCM_KEY in PCM_enableRudeMode()
551 PCM->CTL1 = (PCM->CTL1 & ~(PCM_CTL0_KEY_MASK | PCM_CTL1_FORCE_LPM_ENTRY)) in PCM_disableRudeMode()
557 PCM->IE |= flags; in PCM_enableInterrupt()
562 PCM->IE &= ~flags; in PCM_disableInterrupt()
567 return PCM->IFG; in PCM_getInterruptStatus()
572 return PCM_getInterruptStatus() & PCM->IE; in PCM_getEnabledInterruptStatus()
577 PCM->CLRIFG |= flags; in PCM_clearInterruptFlag()