Lines Matching refs:resolution
71 enum WATCHDOG_RESOLUTION resolution; member
222 enum WATCHDOG_RESOLUTION resolution) in fts_wd_set_resolution() argument
226 if (data->resolution == resolution) in fts_wd_set_resolution()
233 if ((resolution == seconds && ret & BIT(1)) || in fts_wd_set_resolution()
234 (resolution == minutes && (ret & BIT(1)) == 0)) { in fts_wd_set_resolution()
235 data->resolution = resolution; in fts_wd_set_resolution()
239 if (resolution == seconds) in fts_wd_set_resolution()
248 data->resolution = resolution; in fts_wd_set_resolution()
255 enum WATCHDOG_RESOLUTION resolution = seconds; in fts_wd_set_timeout() local
264 resolution = minutes; in fts_wd_set_timeout()
267 ret = fts_wd_set_resolution(data, resolution); in fts_wd_set_timeout()
280 wdd->timeout / (u8)data->resolution); in fts_wd_start()
324 data->resolution = ret & BIT(1) ? seconds : minutes; in fts_watchdog_init()
325 data->wdd.timeout = timeout * (u8)data->resolution; in fts_watchdog_init()