Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_hw_37xx.c199 u8 fuse_min_ratio, fuse_max_ratio, fuse_pn_ratio; in ivpu_pll_init_frequency_ratios() local
207 fuse_max_ratio = REG_GET_FLD(VPU_37XX_BUTTRESS_FMAX_FUSE, MAX_RATIO, fmax_fuse); in ivpu_pll_init_frequency_ratios()
209 hw->pll.min_ratio = clamp_t(u8, ivpu_pll_min_ratio, fuse_min_ratio, fuse_max_ratio); in ivpu_pll_init_frequency_ratios()
210 hw->pll.max_ratio = clamp_t(u8, ivpu_pll_max_ratio, hw->pll.min_ratio, fuse_max_ratio); in ivpu_pll_init_frequency_ratios()
H A Divpu_hw_40xx.c213 u8 fuse_min_ratio, fuse_pn_ratio, fuse_max_ratio; in ivpu_pll_init_frequency_ratios() local
221 fuse_max_ratio = REG_GET_FLD(VPU_40XX_BUTTRESS_FMAX_FUSE, MAX_RATIO, fmax_fuse); in ivpu_pll_init_frequency_ratios()
223 hw->pll.min_ratio = clamp_t(u8, ivpu_pll_min_ratio, fuse_min_ratio, fuse_max_ratio); in ivpu_pll_init_frequency_ratios()
224 hw->pll.max_ratio = clamp_t(u8, ivpu_pll_max_ratio, hw->pll.min_ratio, fuse_max_ratio); in ivpu_pll_init_frequency_ratios()