Lines Matching refs:resolution
82 enum WATCHDOG_RESOLUTION resolution; member
233 enum WATCHDOG_RESOLUTION resolution) in fts_wd_set_resolution() argument
237 if (data->resolution == resolution) in fts_wd_set_resolution()
244 if ((resolution == seconds && ret & BIT(1)) || in fts_wd_set_resolution()
245 (resolution == minutes && (ret & BIT(1)) == 0)) { in fts_wd_set_resolution()
246 data->resolution = resolution; in fts_wd_set_resolution()
250 if (resolution == seconds) in fts_wd_set_resolution()
259 data->resolution = resolution; in fts_wd_set_resolution()
266 enum WATCHDOG_RESOLUTION resolution = seconds; in fts_wd_set_timeout() local
275 resolution = minutes; in fts_wd_set_timeout()
278 ret = fts_wd_set_resolution(data, resolution); in fts_wd_set_timeout()
291 wdd->timeout / (u8)data->resolution); in fts_wd_start()
335 data->resolution = ret & BIT(1) ? seconds : minutes; in fts_watchdog_init()
336 data->wdd.timeout = timeout * (u8)data->resolution; in fts_watchdog_init()