Home
last modified time | relevance | path

Searched refs:new_margin (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dwafer5823wdt.c122 int new_margin; in wafwdt_ioctl() local
148 if (get_user(new_margin, (int *)arg)) in wafwdt_ioctl()
150 if ((new_margin < 1) || (new_margin > 255)) in wafwdt_ioctl()
152 wd_margin = new_margin; in wafwdt_ioctl()
Dib700wdt.c177 int i, new_margin; in ibwdt_ioctl() local
202 if (get_user(new_margin, (int *)arg)) in ibwdt_ioctl()
204 if ((new_margin < 0) || (new_margin > 30)) in ibwdt_ioctl()
207 if (wd_times[i] > new_margin) in ibwdt_ioctl()
Dadvantechwdt.c144 int new_margin; in advwdt_ioctl() local
166 if (get_user(new_margin, (int *)arg)) in advwdt_ioctl()
168 if ((new_margin < 1) || (new_margin > 63)) in advwdt_ioctl()
170 wd_margin = new_margin; in advwdt_ioctl()
Dwdt285.c129 int i, new_margin; in watchdog_ioctl() local
151 if (get_user(new_margin, (int *)arg)) in watchdog_ioctl()
154 if ((new_marg < 0) || (new_margin > 60)) in watchdog_ioctl()
156 soft_margin = new_margin; in watchdog_ioctl()
Di810-tco.c246 int new_margin, u_margin; in i810tco_ioctl() local
286 new_margin = (u_margin * 10 + 5) / 6; in i810tco_ioctl()
287 if ((new_margin < 4) || (new_margin > 63)) in i810tco_ioctl()
289 if (tco_timer_settimer ((unsigned char) new_margin)) in i810tco_ioctl()
291 i810_margin = new_margin; in i810tco_ioctl()
Dsoftdog.c169 int new_margin; in softdog_ioctl() local
189 if (get_user(new_margin, (int *)arg)) in softdog_ioctl()
191 if (new_margin < 1) in softdog_ioctl()
193 soft_margin = new_margin; in softdog_ioctl()
Dscx200_wdt.c170 int new_margin; in scx200_wdt_ioctl() local
189 if (get_user(new_margin, (int *)arg)) in scx200_wdt_ioctl()
191 if (new_margin < 1) in scx200_wdt_ioctl()
193 margin = new_margin; in scx200_wdt_ioctl()
Dwdt_pci.c312 int new_margin; in wdtpci_ioctl() local
338 if (get_user(new_margin, (int *)arg)) in wdtpci_ioctl()
341 new_margin *= 100; in wdtpci_ioctl()
342 if ((new_margin < 0) || (new_margin > WD_TIMO_MAX)) in wdtpci_ioctl()
344 wd_margin = new_margin; in wdtpci_ioctl()
Dwdt.c326 int new_margin; in wdt_ioctl() local
353 if (get_user(new_margin, (int *)arg)) in wdt_ioctl()
356 if ((new_margin < 0) || (new_margin > 60)) in wdt_ioctl()
358 wd_margin = new_margin * 100; in wdt_ioctl()
/linux-2.4.37.9/drivers/sbus/char/
Driowatchdog.c134 int new_margin; in riowd_ioctl() local
166 if (get_user(new_margin, (int *)arg)) in riowd_ioctl()
168 if ((new_margin < 60) || (new_margin > (255 * 60))) in riowd_ioctl()
170 riowd_timeout = (new_margin + 59) / 60; in riowd_ioctl()