Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/ivpu/
Divpu_hw_37xx.c809 u32 pll_curr_ratio; in ivpu_hw_37xx_reg_pll_freq_get() local
811 pll_curr_ratio = REGB_RD32(VPU_37XX_BUTTRESS_CURRENT_PLL); in ivpu_hw_37xx_reg_pll_freq_get()
812 pll_curr_ratio &= VPU_37XX_BUTTRESS_CURRENT_PLL_RATIO_MASK; in ivpu_hw_37xx_reg_pll_freq_get()
817 return ivpu_hw_37xx_pll_to_freq(pll_curr_ratio, vdev->hw->config); in ivpu_hw_37xx_reg_pll_freq_get()
Divpu_hw_40xx.c932 u32 pll_curr_ratio; in ivpu_hw_40xx_reg_pll_freq_get() local
934 pll_curr_ratio = REGB_RD32(VPU_40XX_BUTTRESS_PLL_FREQ); in ivpu_hw_40xx_reg_pll_freq_get()
935 pll_curr_ratio &= VPU_40XX_BUTTRESS_PLL_FREQ_RATIO_MASK; in ivpu_hw_40xx_reg_pll_freq_get()
937 return PLL_RATIO_TO_FREQ(pll_curr_ratio); in ivpu_hw_40xx_reg_pll_freq_get()