Lines Matching refs:resolution
73 enum WATCHDOG_RESOLUTION resolution; member
224 enum WATCHDOG_RESOLUTION resolution) in fts_wd_set_resolution() argument
228 if (data->resolution == resolution) in fts_wd_set_resolution()
235 if ((resolution == seconds && ret & BIT(1)) || in fts_wd_set_resolution()
236 (resolution == minutes && (ret & BIT(1)) == 0)) { in fts_wd_set_resolution()
237 data->resolution = resolution; in fts_wd_set_resolution()
241 if (resolution == seconds) in fts_wd_set_resolution()
250 data->resolution = resolution; in fts_wd_set_resolution()
257 enum WATCHDOG_RESOLUTION resolution = seconds; in fts_wd_set_timeout() local
266 resolution = minutes; in fts_wd_set_timeout()
269 ret = fts_wd_set_resolution(data, resolution); in fts_wd_set_timeout()
282 wdd->timeout / (u8)data->resolution); in fts_wd_start()
326 data->resolution = ret & BIT(1) ? seconds : minutes; in fts_watchdog_init()
327 data->wdd.timeout = timeout * (u8)data->resolution; in fts_watchdog_init()