Lines Matching refs:iTCO_version
97 unsigned int iTCO_version; member
148 return p->iTCO_version == 3 ? secs : (secs * 10) / 6; in seconds_to_ticks()
154 return p->iTCO_version == 3 ? ticks : (ticks * 6) / 10; in ticks_to_seconds()
161 switch (p->iTCO_version) { in no_reboot_bit()
272 if (p->iTCO_version >= 6) in iTCO_wdt_no_reboot_bit_setup()
274 else if (p->iTCO_version >= 2) in iTCO_wdt_no_reboot_bit_setup()
276 else if (p->iTCO_version == 1) in iTCO_wdt_no_reboot_bit_setup()
302 if (p->iTCO_version >= 2) in iTCO_wdt_start()
304 else if (p->iTCO_version == 1) in iTCO_wdt_start()
351 if (p->iTCO_version >= 2) { in iTCO_wdt_ping()
353 } else if (p->iTCO_version == 1) { in iTCO_wdt_ping()
375 if (p->iTCO_version == 1) in iTCO_wdt_set_timeout()
382 if ((p->iTCO_version >= 2 && tmrval > 0x3ff) || in iTCO_wdt_set_timeout()
383 (p->iTCO_version == 1 && tmrval > 0x03f)) in iTCO_wdt_set_timeout()
387 if (p->iTCO_version >= 2) { in iTCO_wdt_set_timeout()
398 } else if (p->iTCO_version == 1) { in iTCO_wdt_set_timeout()
423 if (p->iTCO_version >= 2) { in iTCO_wdt_get_timeleft()
430 } else if (p->iTCO_version == 1) { in iTCO_wdt_get_timeleft()
502 p->iTCO_version = pdata->version; in iTCO_wdt_probe()
516 turn_SMI_watchdog_clear_off >= p->iTCO_version) { in iTCO_wdt_probe()
527 if (p->iTCO_version >= 2 && p->iTCO_version < 6 && in iTCO_wdt_probe()
541 if (turn_SMI_watchdog_clear_off >= p->iTCO_version) { in iTCO_wdt_probe()
563 switch (p->iTCO_version) { in iTCO_wdt_probe()
582 ident.firmware_version = p->iTCO_version; in iTCO_wdt_probe()