Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/i810/
H A Di810_main.c709 u32 m_reg, n_reg, p_divisor, n_target_max; in i810_calc_dclk() local
722 p_divisor = 1; in i810_calc_dclk()
724 while(!((1000000 * p_divisor)/(16 * 24 * target_freq)) && in i810_calc_dclk()
725 p_divisor <= 32) { in i810_calc_dclk()
726 p_divisor <<= 1; in i810_calc_dclk()
732 f_out = (p_divisor * n_reg * 1000000)/(4 * 24 * m_reg); in i810_calc_dclk()
733 mod = (p_divisor * n_reg * 1000000) % (4 * 24 * m_reg); in i810_calc_dclk()