Home
last modified time | relevance | path

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

/drivers/watchdog/
Dwdt285.c138 int new_margin, ret = -ENOTTY; in watchdog_ioctl() local
158 ret = get_user(new_margin, int_arg); in watchdog_ioctl()
163 if (new_margin < 0 || new_margin > 60) { in watchdog_ioctl()
168 soft_margin = new_margin; in watchdog_ioctl()
Dar7_wdt.c126 static void ar7_wdt_update_margin(int new_margin) in ar7_wdt_update_margin() argument
132 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin()
210 int new_margin; in ar7_wdt_ioctl() local
227 if (get_user(new_margin, (int *)arg)) in ar7_wdt_ioctl()
229 if (new_margin < 1) in ar7_wdt_ioctl()
233 ar7_wdt_update_margin(new_margin); in ar7_wdt_ioctl()
Driowd.c98 int new_margin; in riowd_ioctl() local
130 if (get_user(new_margin, (int __user *)argp)) in riowd_ioctl()
132 if ((new_margin < 60) || (new_margin > (255 * 60))) in riowd_ioctl()
134 riowd_timeout = (new_margin + 59) / 60; in riowd_ioctl()
Dscx200_wdt.c166 int new_margin; in scx200_wdt_ioctl() local
182 if (get_user(new_margin, p)) in scx200_wdt_ioctl()
184 if (new_margin < 1) in scx200_wdt_ioctl()
186 margin = new_margin; in scx200_wdt_ioctl()
Dib700wdt.c169 int new_margin; in ibwdt_ioctl() local
212 if (get_user(new_margin, p)) in ibwdt_ioctl()
214 if (ibwdt_set_heartbeat(new_margin)) in ibwdt_ioctl()
/drivers/rtc/
Drtc-m41t80.c726 int new_margin, rv; in wdt_ioctl() local
746 if (get_user(new_margin, (int __user *)arg)) in wdt_ioctl()
749 if (new_margin < 1 || new_margin > 124) in wdt_ioctl()
751 wdt_margin = new_margin; in wdt_ioctl()