Home
last modified time | relevance | path

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

/Zephyr-latest/soc/snps/arc_iot/
Dsysconf.c16 #define sysconf_reg_ptr ((sysconf_reg_t *)(DT_REG_ADDR(DT_NODELABEL(sysconf)))) macro
58 sysconf_reg_ptr->CLKSEL = CLKSEL_EXT_16M; in arc_iot_pll_conf_reg()
60 sysconf_reg_ptr->PLLCON = val | (0x52000000); in arc_iot_pll_conf_reg()
62 sysconf_reg_ptr->PLLCON = val | (1 << PLLCON_BIT_OFFSET_PLLRST); in arc_iot_pll_conf_reg()
63 sysconf_reg_ptr->PLLCON = val & (~(1 << PLLCON_BIT_OFFSET_PLLRST)); in arc_iot_pll_conf_reg()
65 while (!(sysconf_reg_ptr->PLLSTAT & (1 << PLLSTAT_BIT_OFFSET_PLLSTB))) { in arc_iot_pll_conf_reg()
69 sysconf_reg_ptr->CLKSEL = CLKSEL_PLL; in arc_iot_pll_conf_reg()
71 sysconf_reg_ptr->AHBCLKDIV_SEL |= 1; in arc_iot_pll_conf_reg()
73 sysconf_reg_ptr->AHBCLKDIV = 0x1; in arc_iot_pll_conf_reg()
81 sysconf_reg_ptr->CLKSEL = CLKSEL_EXT_16M; in arc_iot_pll_fout_config()
[all …]