Lines Matching refs:iTCO_version
91 unsigned int iTCO_version; member
143 return p->iTCO_version == 3 ? secs : (secs * 10) / 6; in seconds_to_ticks()
149 return p->iTCO_version == 3 ? ticks : (ticks * 6) / 10; in ticks_to_seconds()
156 switch (p->iTCO_version) { in no_reboot_bit()
245 if (p->iTCO_version >= 6) in iTCO_wdt_no_reboot_bit_setup()
247 else if (p->iTCO_version >= 2) in iTCO_wdt_no_reboot_bit_setup()
249 else if (p->iTCO_version == 1) in iTCO_wdt_no_reboot_bit_setup()
275 if (p->iTCO_version >= 2) in iTCO_wdt_start()
277 else if (p->iTCO_version == 1) in iTCO_wdt_start()
324 if (p->iTCO_version >= 2) { in iTCO_wdt_ping()
326 } else if (p->iTCO_version == 1) { in iTCO_wdt_ping()
348 if (p->iTCO_version == 1) in iTCO_wdt_set_timeout()
355 if ((p->iTCO_version >= 2 && tmrval > 0x3ff) || in iTCO_wdt_set_timeout()
356 (p->iTCO_version == 1 && tmrval > 0x03f)) in iTCO_wdt_set_timeout()
360 if (p->iTCO_version >= 2) { in iTCO_wdt_set_timeout()
371 } else if (p->iTCO_version == 1) { in iTCO_wdt_set_timeout()
396 if (p->iTCO_version >= 2) { in iTCO_wdt_get_timeleft()
403 } else if (p->iTCO_version == 1) { in iTCO_wdt_get_timeleft()
466 p->iTCO_version = pdata->version; in iTCO_wdt_probe()
475 if (p->iTCO_version >= 2 && p->iTCO_version < 6 && in iTCO_wdt_probe()
503 if (turn_SMI_watchdog_clear_off >= p->iTCO_version) { in iTCO_wdt_probe()
525 switch (p->iTCO_version) { in iTCO_wdt_probe()