Lines Matching refs:resolution
72 enum WATCHDOG_RESOLUTION resolution; member
223 enum WATCHDOG_RESOLUTION resolution) in fts_wd_set_resolution() argument
227 if (data->resolution == resolution) in fts_wd_set_resolution()
234 if ((resolution == seconds && ret & BIT(1)) || in fts_wd_set_resolution()
235 (resolution == minutes && (ret & BIT(1)) == 0)) { in fts_wd_set_resolution()
236 data->resolution = resolution; in fts_wd_set_resolution()
240 if (resolution == seconds) in fts_wd_set_resolution()
249 data->resolution = resolution; in fts_wd_set_resolution()
256 enum WATCHDOG_RESOLUTION resolution = seconds; in fts_wd_set_timeout() local
265 resolution = minutes; in fts_wd_set_timeout()
268 ret = fts_wd_set_resolution(data, resolution); in fts_wd_set_timeout()
281 wdd->timeout / (u8)data->resolution); in fts_wd_start()
325 data->resolution = ret & BIT(1) ? seconds : minutes; in fts_watchdog_init()
326 data->wdd.timeout = timeout * (u8)data->resolution; in fts_watchdog_init()