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