Searched refs:tmrval (Results 1 - 4 of 4) sorted by relevance

/drivers/watchdog/
H A Dwdt977.c205 int tmrval; local
208 tmrval = (t + 59) / 60;
215 tmrval += tmrval;
218 if (tmrval < 1 || tmrval > 255)
224 timeoutM = tmrval;
H A DiTCO_wdt.c284 unsigned int tmrval; local
286 tmrval = seconds_to_ticks(t);
290 tmrval /= 2;
294 if (tmrval < 0x04)
296 if (((iTCO_wdt_private.iTCO_version >= 2) && (tmrval > 0x3ff)) ||
297 ((iTCO_wdt_private.iTCO_version == 1) && (tmrval > 0x03f)))
300 iTCO_vendor_pre_set_heartbeat(tmrval);
307 val16 |= tmrval;
312 if ((val16 & 0x3ff) != tmrval)
318 val8 |= (tmrval
[all...]
H A Dnv_tco.c115 unsigned char tmrval; local
121 * tmrval=seconds_to_ticks(t). Check that the count in seconds isn't
122 * out of range on it's own (to avoid overflow in tmrval).
126 tmrval = seconds_to_ticks(t);
129 if (tmrval > 0x3f || tmrval < 0x04)
136 val |= tmrval;
140 if ((val & 0x3f) != tmrval)
H A Dw83977f_wdt.c227 int tmrval; local
239 tmrval = ((t + 15) + 29) / 30;
241 if (tmrval > 255)
248 timeoutW = tmrval;

Completed in 220 milliseconds