Lines Matching refs:t
109 static void sch311x_wdt_set_timeout(int t) in sch311x_wdt_set_timeout() argument
114 if (t > 255) { in sch311x_wdt_set_timeout()
116 t /= 60; in sch311x_wdt_set_timeout()
129 outb(t, sch311x_wdt_data.runtime_reg + WDT_VAL); in sch311x_wdt_set_timeout()
134 unsigned char t; in sch311x_wdt_start() local
149 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start()
150 outb((t & ~0x0d) | 0x0c, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start()
158 unsigned char t; in sch311x_wdt_stop() local
163 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop()
164 outb((t & ~0x0d) | 0x01, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop()
178 static int sch311x_wdt_set_heartbeat(int t) in sch311x_wdt_set_heartbeat() argument
180 if (t < 1 || t > (255*60)) in sch311x_wdt_set_heartbeat()
185 if (t > 255) in sch311x_wdt_set_heartbeat()
186 t = (((t - 1) / 60) + 1) * 60; in sch311x_wdt_set_heartbeat()
188 timeout = t; in sch311x_wdt_set_heartbeat()