Searched refs:h_period (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/core/
H A Dfbmon.c1185 * duty cycle = C - (M * h_period)
1187 * where: h_period = SQRT(100 - C + (0.4 * xres * M)/dclk) + C - 100
1196 u32 duty_cycle, h_period, hblank; fb_get_hblank_by_dclk() local
1199 h_period = 100 - C_VAL; fb_get_hblank_by_dclk()
1200 h_period *= h_period; fb_get_hblank_by_dclk()
1201 h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk); fb_get_hblank_by_dclk()
1202 h_period *= 10000; fb_get_hblank_by_dclk()
1204 h_period = int_sqrt(h_period); fb_get_hblank_by_dclk()
1205 h_period -= (100 - C_VAL) * 100; fb_get_hblank_by_dclk()
1206 h_period *= 1000; fb_get_hblank_by_dclk()
1207 h_period /= 2 * M_VAL; fb_get_hblank_by_dclk()
1209 duty_cycle = C_VAL * 1000 - (M_VAL * h_period)/100; fb_get_hblank_by_dclk()
/linux-4.1.27/drivers/video/fbdev/
H A Dbfin-lq035q1-fb.c106 u32 h_period; member in struct:bfin_lq035q1fb_info
251 fbi->h_period = (336 * clocks_per_pix); /* HS period */ bfin_lq035q1_calc_timing()
257 fbi->v_period = (fbi->h_period * fbi->v_lines); /* VS period */ bfin_lq035q1_calc_timing()
312 set_gptimer_period(TIMER_HSYNC_id, fbi->h_period); bfin_lq035q1_init_timers()

Completed in 121 milliseconds