Searched refs:PMC (Results 1 – 16 of 16) sorted by relevance
116 PMC->PMC_MCKR = (PMC->PMC_MCKR & (~PMC_MCKR_PRES_Msk)) | reg_val; in soc_pmc_mck_set_prescaler()118 while (!(PMC->PMC_SR & PMC_SR_MCKRDY)) { in soc_pmc_mck_set_prescaler()152 PMC->PMC_MCKR = (PMC->PMC_MCKR & (~PMC_MCKR_MDIV_Msk)) | reg_val; in soc_pmc_mck_set_divider()154 while (!(PMC->PMC_SR & PMC_SR_MCKRDY)) { in soc_pmc_mck_set_divider()167 PMC->PMC_MCKR = (PMC->PMC_MCKR & (~PMC_MCKR_CSS_Msk)) | (uint32_t)source; in soc_pmc_mck_set_source()169 while (!(PMC->PMC_SR & PMC_SR_MCKRDY)) { in soc_pmc_mck_set_source()181 PMC->CKGR_MOR |= CKGR_MOR_KEY_PASSWD | CKGR_MOR_MOSCRCEN; in soc_pmc_switch_mainck_to_fastrc()184 while (!(PMC->PMC_SR & PMC_SR_MOSCRCS)) { in soc_pmc_switch_mainck_to_fastrc()188 PMC->CKGR_MOR = (PMC->CKGR_MOR & ~CKGR_MOR_MOSCRCF_Msk) in soc_pmc_switch_mainck_to_fastrc()193 while (!(PMC->PMC_SR & PMC_SR_MOSCRCS)) { in soc_pmc_switch_mainck_to_fastrc()[all …]
24 PMC->PMC_PCER0 = BIT(id); in soc_pmc_peripheral_enable()27 PMC->PMC_PCER1 = BIT(id & 0x1F); in soc_pmc_peripheral_enable()41 PMC->PMC_PCDR0 = BIT(id); in soc_pmc_peripheral_disable()44 PMC->PMC_PCDR1 = BIT(id & 0x1F); in soc_pmc_peripheral_disable()58 return (PMC->PMC_PCSR0 & BIT(id)) != 0; in soc_pmc_peripheral_is_enabled()61 return (PMC->PMC_PCSR1 & BIT(id & 0x1F)) != 0; in soc_pmc_peripheral_is_enabled()
41 PMC->PMC_SCDR = PMC_SCDR_PCK3; in atmel_same70_config()42 while ((PMC->PMC_SCSR) & PMC_SCSR_PCK3) { in atmel_same70_config()46 PMC->PMC_PCK[3] = PMC_MCKR_CSS_PLLA_CLK; in atmel_same70_config()48 PMC->PMC_SCER = PMC_SCER_PCK3; in atmel_same70_config()50 while (!((PMC->PMC_SR) & PMC_SR_PCKRDY3)) { in atmel_same70_config()
42 PMC->PMC_SCDR = PMC_SCDR_PCK3; in atmel_samv71_config()43 while ((PMC->PMC_SCSR) & PMC_SCSR_PCK3) { in atmel_samv71_config()47 PMC->PMC_PCK[3] = PMC_MCKR_CSS_PLLA_CLK; in atmel_samv71_config()49 PMC->PMC_SCER = PMC_SCER_PCK3; in atmel_samv71_config()51 while (!((PMC->PMC_SR) & PMC_SR_PCKRDY3)) { in atmel_samv71_config()
17 #define PMC(port) (PORT_NSR + 0x400 + port) macro38 uint8_t pmc = sys_read8(PMC(pin->port)); in pinctrl_configure_pin()51 sys_write8(pmc | BIT(pin->pin), PMC(pin->port)); in pinctrl_configure_pin()
136 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()140 PMC->REGSC |= PMC_REGSC_BGBE_MASK; in soc_early_init_hook()
1 # INTEL PMC TGPIO configuration options
75 PMC->CKGR_UCKR |= CKGR_UCKR_UPLLEN; in usb_dc_enable_clock()78 while (!(PMC->PMC_SR & PMC_SR_LOCKU)) { in usb_dc_enable_clock()86 PMC->PMC_MCKR &= ~PMC_MCKR_UPLLDIV2; in usb_dc_enable_clock()87 PMC->PMC_USB = PMC_USB_USBDIV(9) | PMC_USB_USBS; in usb_dc_enable_clock()90 PMC->PMC_SCER |= PMC_SCER_USBCLK; in usb_dc_enable_clock()98 PMC->PMC_SCER &= ~PMC_SCER_USBCLK; in usb_dc_disable_clock()101 PMC->CKGR_UCKR &= ~CKGR_UCKR_UPLLEN; in usb_dc_disable_clock()
124 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
84 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
102 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
153 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
119 PMC->REGSC |= PMC_REGSC_BGBE_MASK; in soc_early_init_hook()
198 PMC->PMICCFG = 0xFF; in power_manager_set_profile()
85 PMC->PMC_SCER |= PMC_SCER_PCK5; in can_sam_clock_enable()
426 0x00f01500 0x100 /* Host PMC */