Searched refs:timeelapsed (Results 1 – 1 of 1) sorted by relevance
147 unsigned int level, newlevel, timeelapsed, newtimer; in init_lirc_timer() local163 timeelapsed = ((now.tv_sec + 1 - tv.tv_sec)*1000000 in init_lirc_timer()165 if (count >= 1000 && timeelapsed > 0) { in init_lirc_timer()168 newtimer = (1000000*count)/timeelapsed; in init_lirc_timer()173 newtimer = (1000000*count)/timeelapsed; in init_lirc_timer()