Home
last modified time | relevance | path

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

/freebsd/sys/arm/freescale/imx/
H A Dimx_gpt.c254 t1 = READ4(sc, IMX_GPT_CNT); in imx_gpt_attach()
256 t2 = READ4(sc, IMX_GPT_CNT); in imx_gpt_attach()
295 WRITE4(sc, IMX_GPT_OCR2, READ4(sc, IMX_GPT_CNT) + sc->sc_period); in imx_gpt_timer_start()
310 WRITE4(sc, IMX_GPT_OCR3, READ4(sc, IMX_GPT_CNT) + ticks); in imx_gpt_timer_start()
365 WRITE4(sc, IMX_GPT_OCR2, READ4(sc, IMX_GPT_CNT) + in imx_gpt_intr()
378 return (READ4(sc, IMX_GPT_CNT)); in imx_gpt_get_timecount()
411 curcnt = startcnt = READ4(sc, IMX_GPT_CNT); in imx_gpt_do_delay()
414 curcnt = READ4(sc, IMX_GPT_CNT); in imx_gpt_do_delay()
H A Dimx_gptreg.h100 #define IMX_GPT_CNT 0x0024 /* Counter Register RO */ macro