Searched refs:startcnt (Results 1 – 2 of 2) sorted by relevance
169 uint64_t curcnt, endcnt, startcnt, ticks; in epit_do_delay() local180 curcnt = startcnt = epit_read_counter(sc); in epit_do_delay()181 endcnt = startcnt + ticks; in epit_do_delay()184 if (curcnt < startcnt) in epit_do_delay()
400 uint64_t curcnt, endcnt, startcnt, ticks; in imx_gpt_do_delay() local411 curcnt = startcnt = READ4(sc, IMX_GPT_CNT); in imx_gpt_do_delay()412 endcnt = startcnt + ticks; in imx_gpt_do_delay()415 if (curcnt < startcnt) in imx_gpt_do_delay()