Searched refs:clk_apll (Results 1 – 1 of 1) sorted by relevance
160 struct vc7_apll_data clk_apll; member531 vc7->clk_apll.xo_ib_h_div = (val32 & VC7_REG_XO_IB_H_DIV_MASK) in vc7_read_apll()542 vc7->clk_apll.en_doubler = val32 & VC7_REG_APLL_EN_DOUBLER; in vc7_read_apll()553 vc7->clk_apll.apll_fb_div_frac = val32 & VC7_REG_APLL_FB_DIV_FRAC_MASK; in vc7_read_apll()564 vc7->clk_apll.apll_fb_div_int = val16 & VC7_REG_APLL_FB_DIV_INT_MASK; in vc7_read_apll()740 if (vc7->clk_apll.xo_ib_h_div < 2) in vc7_get_apll_rate()743 refin_div = div64_u64(xtal_rate, vc7->clk_apll.xo_ib_h_div); in vc7_get_apll_rate()745 if (vc7->clk_apll.en_doubler) in vc7_get_apll_rate()749 apll_rate = (refin_div * vc7->clk_apll.apll_fb_div_int) + in vc7_get_apll_rate()750 ((refin_div * vc7->clk_apll.apll_fb_div_frac) >> VC7_APLL_DENOMINATOR_BITS); in vc7_get_apll_rate()[all …]