Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/watchdog/
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()
Dhpwdt.c30 #define TICKS_TO_SECS(ticks) ((ticks) * 128 / 1000) macro
32 #define HPWDT_MAX_TIMER TICKS_TO_SECS(HPWDT_MAX_TICKS)
118 return TICKS_TO_SECS(ioread16(hpwdt_timer_reg)); in hpwdt_gettimeleft()