Home
last modified time | relevance | path

Searched refs:PMC (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/soc/atmel/sam/common/
Dsoc_pmc.h116 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 …]
Dsoc_pmc.c24 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()
/Zephyr-latest/soc/atmel/sam/same70/
Dsoc_config.c41 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()
/Zephyr-latest/soc/atmel/sam/samv71/
Dsoc_config.c42 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()
/Zephyr-latest/drivers/pinctrl/renesas/rz/
Dpinctrl_rzt2m.c17 #define PMC(port) (PORT_NSR + 0x400 + port) macro
38 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()
/Zephyr-latest/soc/nxp/kinetis/k6x/
Dsoc.c136 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
140 PMC->REGSC |= PMC_REGSC_BGBE_MASK; in soc_early_init_hook()
/Zephyr-latest/drivers/misc/timeaware_gpio/
DKconfig.timeaware_gpio_intel1 # INTEL PMC TGPIO configuration options
/Zephyr-latest/drivers/usb/device/
Dusb_dc_sam_usbhs.c75 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()
/Zephyr-latest/soc/nxp/kinetis/k2x/
Dsoc.c124 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
/Zephyr-latest/soc/nxp/kinetis/kv5x/
Dsoc.c84 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
/Zephyr-latest/soc/nxp/kinetis/k8x/
Dsoc.c102 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
/Zephyr-latest/soc/nxp/kinetis/kwx/
Dsoc_kw2xd.c153 PMC->REGSC |= PMC_REGSC_ACKISO_MASK; in soc_early_init_hook()
/Zephyr-latest/soc/nxp/mcx/mcxc/
Dsoc.c119 PMC->REGSC |= PMC_REGSC_BGBE_MASK; in soc_early_init_hook()
/Zephyr-latest/boards/nxp/mimxrt595_evk/
Dboard.c198 PMC->PMICCFG = 0xFF; in power_manager_set_profile()
/Zephyr-latest/drivers/can/
Dcan_sam.c85 PMC->PMC_SCER |= PMC_SCER_PCK5; in can_sam_clock_enable()
/Zephyr-latest/dts/riscv/ite/
Dit8xxx2.dtsi426 0x00f01500 0x100 /* Host PMC */