Searched refs:new_margin (Results 1 – 10 of 10) sorted by relevance
/linux-2.4.37.9/drivers/char/ |
D | wafer5823wdt.c | 122 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()
|
D | ib700wdt.c | 177 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()
|
D | advantechwdt.c | 144 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()
|
D | wdt285.c | 129 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()
|
D | i810-tco.c | 246 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()
|
D | softdog.c | 169 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()
|
D | scx200_wdt.c | 170 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()
|
D | wdt_pci.c | 312 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()
|
D | wdt.c | 326 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/ |
D | riowatchdog.c | 134 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()
|