Home
last modified time | relevance | path

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

/linux/drivers/watchdog/
A Dbcm_kona_wdt.c33 #define TICKS_TO_SECS(x, w) ((x) >> (w)->resolution) macro
117 ctl_sec = TICKS_TO_SECS(ctl, wdt); in bcm_kona_show()
118 cur_sec = TICKS_TO_SECS(cur, wdt); in bcm_kona_show()
229 return TICKS_TO_SECS(val & SECWDOG_COUNT_MASK, wdt); in bcm_kona_wdt_get_timeleft()
A Dhpwdt.c28 #define TICKS_TO_SECS(ticks) ((ticks) * 128 / 1000) macro
30 #define HPWDT_MAX_TIMER TICKS_TO_SECS(HPWDT_MAX_TICKS)
116 return TICKS_TO_SECS(ioread16(hpwdt_timer_reg)); in hpwdt_gettimeleft()

Completed in 5 milliseconds