Searched refs:h_period (Results 1 – 1 of 1) sorted by relevance
1112 u32 duty_cycle, h_period, hblank; in fb_get_hblank_by_dclk() local1115 h_period = 100 - C_VAL; in fb_get_hblank_by_dclk()1116 h_period *= h_period; in fb_get_hblank_by_dclk()1117 h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk); in fb_get_hblank_by_dclk()1118 h_period *= 10000; in fb_get_hblank_by_dclk()1120 h_period = int_sqrt(h_period); in fb_get_hblank_by_dclk()1121 h_period -= (100 - C_VAL) * 100; in fb_get_hblank_by_dclk()1122 h_period *= 1000; in fb_get_hblank_by_dclk()1123 h_period /= 2 * M_VAL; in fb_get_hblank_by_dclk()1125 duty_cycle = C_VAL * 1000 - (M_VAL * h_period)/100; in fb_get_hblank_by_dclk()