Lines Matching full:resolution
32 #define SECS_TO_TICKS(x, w) ((x) << (w)->resolution)
33 #define TICKS_TO_SECS(x, w) ((x) >> (w)->resolution)
40 * One watchdog tick is 1/(2^resolution) seconds. Resolution can take
42 * resolution of 4 means one tick is 62.5ms.
44 * The watchdog counter is 20 bits. Depending on resolution, the maximum
45 * counter value of 0xfffff expires after about 12 days (resolution 0)
46 * down to only 32s (resolution 15). The default resolution of 4 gives
50 int resolution; member
120 "Resolution: %d / %d\n" in bcm_kona_show()
124 res, wdt->resolution, in bcm_kona_show()
192 if (wdt->resolution > SECWDOG_MAX_RES) in bcm_kona_wdt_set_resolution_reg()
196 wdt->resolution << SECWDOG_CLKS_SHIFT); in bcm_kona_wdt_set_resolution_reg()
284 wdt->resolution = SECWDOG_DEFAULT_RESOLUTION; in bcm_kona_wdt_probe()
287 dev_err(dev, "Failed to set resolution (error: %d)", ret); in bcm_kona_wdt_probe()