Lines Matching full:pm
7 * @brief Atmel SAM4L MCU family Power Management (PM) module
54 mask = *(&PM->CPUMASK + bus_id); in soc_pmc_peripheral_enable()
56 PM->UNLOCK = PM_UNLOCK_KEY(0xAAu) | in soc_pmc_peripheral_enable()
57 PM_UNLOCK_ADDR(((uint32_t)&PM->CPUMASK - in soc_pmc_peripheral_enable()
58 (uint32_t)PM) + in soc_pmc_peripheral_enable()
60 *(&PM->CPUMASK + bus_id) = mask; in soc_pmc_peripheral_enable()
80 mask = *(&PM->CPUMASK + bus_id); in soc_pmc_peripheral_disable()
82 PM->UNLOCK = PM_UNLOCK_KEY(0xAAu) | in soc_pmc_peripheral_disable()
83 PM_UNLOCK_ADDR(((uint32_t)&PM->CPUMASK - in soc_pmc_peripheral_disable()
84 (uint32_t)PM) + in soc_pmc_peripheral_disable()
86 *(&PM->CPUMASK + bus_id) = mask; in soc_pmc_peripheral_disable()
106 mask = *(&PM->CPUMASK + bus_id); in soc_pmc_peripheral_is_enabled()
115 temp_mask = PM->PBADIVMASK; in soc_pm_enable_pba_divmask()
118 PM->UNLOCK = PM_UNLOCK_KEY(0xAAu) | in soc_pm_enable_pba_divmask()
119 PM_UNLOCK_ADDR((uint32_t)&PM->PBADIVMASK - in soc_pm_enable_pba_divmask()
120 (uint32_t)PM); in soc_pm_enable_pba_divmask()
121 PM->PBADIVMASK = temp_mask; in soc_pm_enable_pba_divmask()