Lines Matching refs:t
113 static void sch311x_wdt_set_timeout(int t) in sch311x_wdt_set_timeout() argument
118 if (t > 255) { in sch311x_wdt_set_timeout()
120 t /= 60; in sch311x_wdt_set_timeout()
133 outb(t, sch311x_wdt_data.runtime_reg + WDT_VAL); in sch311x_wdt_set_timeout()
138 unsigned char t; in sch311x_wdt_start() local
153 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start()
154 outb((t & ~0x0d) | 0x0c, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start()
162 unsigned char t; in sch311x_wdt_stop() local
167 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop()
168 outb((t & ~0x0d) | 0x01, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop()
182 static int sch311x_wdt_set_heartbeat(int t) in sch311x_wdt_set_heartbeat() argument
184 if (t < 1 || t > (255*60)) in sch311x_wdt_set_heartbeat()
189 if (t > 255) in sch311x_wdt_set_heartbeat()
190 t = (((t - 1) / 60) + 1) * 60; in sch311x_wdt_set_heartbeat()
192 timeout = t; in sch311x_wdt_set_heartbeat()