Searched refs:TICKS_TO_SECS (Results 1 – 2 of 2) sorted by relevance
33 #define TICKS_TO_SECS(x, w) ((x) >> (w)->resolution) macro117 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()
30 #define TICKS_TO_SECS(ticks) ((ticks) * 128 / 1000) macro32 #define HPWDT_MAX_TIMER TICKS_TO_SECS(HPWDT_MAX_TICKS)118 return TICKS_TO_SECS(ioread16(hpwdt_timer_reg)); in hpwdt_gettimeleft()