Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/media/lirc/
Dlirc_parallel.c147 unsigned int level, newlevel, timeelapsed, newtimer; in init_lirc_timer() local
163 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()