Searched refs:__prci_readl (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/clk/sifive/ |
H A D | sifive-prci.c | 31 static u32 __prci_readl(struct __prci_data *pd, u32 offs) in __prci_readl() function 229 r = __prci_readl(pd, pwd->cfg1_offs); in sifive_clk_is_enabled() 264 r = __prci_readl(pd, pwd->cfg1_offs); in sifive_prci_clock_disable() 316 r = __prci_readl(pd, PRCI_CORECLKSEL_OFFSET); in sifive_prci_coreclksel_use_hfclk() 337 r = __prci_readl(pd, PRCI_CORECLKSEL_OFFSET); in sifive_prci_coreclksel_use_corepll() 359 r = __prci_readl(pd, PRCI_CORECLKSEL_OFFSET); in sifive_prci_coreclksel_use_final_corepll() 380 r = __prci_readl(pd, PRCI_COREPLLSEL_OFFSET); in sifive_prci_corepllsel_use_dvfscorepll() 401 r = __prci_readl(pd, PRCI_COREPLLSEL_OFFSET); in sifive_prci_corepllsel_use_corepll() 422 r = __prci_readl(pd, PRCI_HFPCLKPLLSEL_OFFSET); in sifive_prci_hfpclkpllsel_use_hfclk() 443 r = __prci_readl(pd, PRCI_HFPCLKPLLSEL_OFFSET); in sifive_prci_hfpclkpllsel_use_hfpclkpll() [all …]
|
/openbmc/u-boot/drivers/clk/sifive/ |
H A D | fu540-prci.c | 234 static u32 __prci_readl(struct __prci_data *pd, u32 offs) in __prci_readl() function 333 __prci_wrpll_unpack(&pwd->c, __prci_readl(pd, pwd->cfg0_offs)); in __prci_wrpll_read_cfg() 374 r = __prci_readl(pd, PRCI_CORECLKSEL_OFFSET); in __prci_coreclksel_use_hfclk() 378 r = __prci_readl(pd, PRCI_CORECLKSEL_OFFSET); /* barrier */ in __prci_coreclksel_use_hfclk() 394 r = __prci_readl(pd, PRCI_CORECLKSEL_OFFSET); in __prci_coreclksel_use_corepll() 398 r = __prci_readl(pd, PRCI_CORECLKSEL_OFFSET); /* barrier */ in __prci_coreclksel_use_corepll() 470 v = __prci_readl(pd, PRCI_CLKMUXSTATUSREG_OFFSET); in sifive_fu540_prci_tlclksel_recalc_rate()
|