Searched refs:new_margin (Results 1 – 6 of 6) sorted by relevance
138 int new_margin, ret = -ENOTTY; in watchdog_ioctl() local158 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()
126 static void ar7_wdt_update_margin(int new_margin) in ar7_wdt_update_margin() argument132 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin()210 int new_margin; in ar7_wdt_ioctl() local227 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()
98 int new_margin; in riowd_ioctl() local130 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()
166 int new_margin; in scx200_wdt_ioctl() local182 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()
169 int new_margin; in ibwdt_ioctl() local212 if (get_user(new_margin, p)) in ibwdt_ioctl()214 if (ibwdt_set_heartbeat(new_margin)) in ibwdt_ioctl()
726 int new_margin, rv; in wdt_ioctl() local746 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()