Lines Matching refs:iTCO_version
92 unsigned int iTCO_version; member
144 return p->iTCO_version == 3 ? secs : (secs * 10) / 6; in seconds_to_ticks()
150 return p->iTCO_version == 3 ? ticks : (ticks * 6) / 10; in ticks_to_seconds()
157 switch (p->iTCO_version) { in no_reboot_bit()
258 if (p->iTCO_version >= 6) in iTCO_wdt_no_reboot_bit_setup()
260 else if (p->iTCO_version >= 2) in iTCO_wdt_no_reboot_bit_setup()
262 else if (p->iTCO_version == 1) in iTCO_wdt_no_reboot_bit_setup()
288 if (p->iTCO_version >= 2) in iTCO_wdt_start()
290 else if (p->iTCO_version == 1) in iTCO_wdt_start()
337 if (p->iTCO_version >= 2) { in iTCO_wdt_ping()
339 } else if (p->iTCO_version == 1) { in iTCO_wdt_ping()
361 if (p->iTCO_version == 1) in iTCO_wdt_set_timeout()
368 if ((p->iTCO_version >= 2 && tmrval > 0x3ff) || in iTCO_wdt_set_timeout()
369 (p->iTCO_version == 1 && tmrval > 0x03f)) in iTCO_wdt_set_timeout()
373 if (p->iTCO_version >= 2) { in iTCO_wdt_set_timeout()
384 } else if (p->iTCO_version == 1) { in iTCO_wdt_set_timeout()
409 if (p->iTCO_version >= 2) { in iTCO_wdt_get_timeleft()
416 } else if (p->iTCO_version == 1) { in iTCO_wdt_get_timeleft()
475 p->iTCO_version = pdata->version; in iTCO_wdt_probe()
489 turn_SMI_watchdog_clear_off >= p->iTCO_version) { in iTCO_wdt_probe()
500 if (p->iTCO_version >= 2 && p->iTCO_version < 6 && in iTCO_wdt_probe()
520 if (turn_SMI_watchdog_clear_off >= p->iTCO_version) { in iTCO_wdt_probe()
542 switch (p->iTCO_version) { in iTCO_wdt_probe()