Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_hw_37xx.c818 u32 pll_curr_ratio; in ivpu_hw_37xx_reg_pll_freq_get() local
820 pll_curr_ratio = REGB_RD32(VPU_37XX_BUTTRESS_CURRENT_PLL); in ivpu_hw_37xx_reg_pll_freq_get()
821 pll_curr_ratio &= VPU_37XX_BUTTRESS_CURRENT_PLL_RATIO_MASK; in ivpu_hw_37xx_reg_pll_freq_get()
826 return ivpu_hw_37xx_pll_to_freq(pll_curr_ratio, vdev->hw->config); in ivpu_hw_37xx_reg_pll_freq_get()
H A Divpu_hw_40xx.c931 u32 pll_curr_ratio; in ivpu_hw_40xx_reg_pll_freq_get() local
933 pll_curr_ratio = REGB_RD32(VPU_40XX_BUTTRESS_PLL_FREQ); in ivpu_hw_40xx_reg_pll_freq_get()
934 pll_curr_ratio &= VPU_40XX_BUTTRESS_PLL_FREQ_RATIO_MASK; in ivpu_hw_40xx_reg_pll_freq_get()
936 return PLL_RATIO_TO_FREQ(pll_curr_ratio); in ivpu_hw_40xx_reg_pll_freq_get()