Searched refs:gpll_ref_freq (Results 1 – 2 of 2) sorted by relevance
95 u16 gpll_ref_freq; /* vlv/chv GPLL reference frequency */ member
1573 return DIV_ROUND_CLOSEST(rps->gpll_ref_freq * (val - 0xb7), 1000); in byt_gpu_freq()1578 return DIV_ROUND_CLOSEST(1000 * val, rps->gpll_ref_freq) + 0xb7; in byt_freq_opcode()1587 return DIV_ROUND_CLOSEST(rps->gpll_ref_freq * val, 2 * 2 * 1000); in chv_gpu_freq()1593 return DIV_ROUND_CLOSEST(2 * 1000 * val, rps->gpll_ref_freq) * 2; in chv_freq_opcode()1634 rps->gpll_ref_freq = in vlv_init_gpll_ref_freq()1640 rps->gpll_ref_freq); in vlv_init_gpll_ref_freq()