Searched refs:new_margin (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | wdt285.c | 138 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()
|
D | intel_scu_watchdog.c | 96 static int check_timer_margin(int new_margin) in check_timer_margin() argument 98 if ((new_margin < MIN_TIME_CYCLE) || in check_timer_margin() 99 (new_margin > MAX_TIME - timer_set)) { in check_timer_margin() 101 new_margin, MIN_TIME_CYCLE, MAX_TIME - timer_set); in check_timer_margin() 353 u32 new_margin; in intel_scu_ioctl() local 377 if (get_user(new_margin, p)) in intel_scu_ioctl() 380 if (check_timer_margin(new_margin)) in intel_scu_ioctl() 383 if (intel_scu_set_heartbeat(new_margin)) in intel_scu_ioctl()
|
D | ar7_wdt.c | 128 static void ar7_wdt_update_margin(int new_margin) in ar7_wdt_update_margin() argument 134 change = new_margin * (vbus_rate / prescale_value); in ar7_wdt_update_margin() 212 int new_margin; in ar7_wdt_ioctl() local 229 if (get_user(new_margin, (int *)arg)) in ar7_wdt_ioctl() 231 if (new_margin < 1) in ar7_wdt_ioctl() 235 ar7_wdt_update_margin(new_margin); in ar7_wdt_ioctl()
|
D | riowd.c | 99 int new_margin; in riowd_ioctl() local 131 if (get_user(new_margin, (int __user *)argp)) in riowd_ioctl() 133 if ((new_margin < 60) || (new_margin > (255 * 60))) in riowd_ioctl() 135 riowd_timeout = (new_margin + 59) / 60; in riowd_ioctl()
|
D | scx200_wdt.c | 166 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()
|
D | ib700wdt.c | 169 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()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-m41t80.c | 716 int new_margin, rv; in wdt_ioctl() local 736 if (get_user(new_margin, (int __user *)arg)) in wdt_ioctl() 739 if (new_margin < 1 || new_margin > 124) in wdt_ioctl() 741 wdt_margin = new_margin; in wdt_ioctl()
|