/kernel/linux/linux-5.10/drivers/watchdog/ |
D | smsc37b787_wdt.c | 163 static inline void wdt_timeout_value(unsigned char new_timeout) in wdt_timeout_value() argument 168 write_io_cr(0xF2, new_timeout); in wdt_timeout_value() 273 static void wb_smsc_wdt_set_timeout(unsigned char new_timeout) in wb_smsc_wdt_set_timeout() argument 280 wdt_timer_ctrl((new_timeout == 0) ? 0x00 : 0x02); in wb_smsc_wdt_set_timeout() 283 wdt_timeout_value(new_timeout); in wb_smsc_wdt_set_timeout() 422 int new_timeout; in wb_smsc_wdt_ioctl() local 468 if (get_user(new_timeout, uarg.i)) in wb_smsc_wdt_ioctl() 472 new_timeout /= 60; in wb_smsc_wdt_ioctl() 473 if (new_timeout < 0 || new_timeout > MAX_TIMEOUT) in wb_smsc_wdt_ioctl() 475 timeout = new_timeout; in wb_smsc_wdt_ioctl() [all …]
|
D | rc32434_wdt.c | 71 static int rc32434_wdt_set(int new_timeout) in rc32434_wdt_set() argument 75 if (new_timeout < 0 || new_timeout > max_to) { in rc32434_wdt_set() 79 timeout = new_timeout; in rc32434_wdt_set() 192 int new_timeout; in rc32434_wdt_ioctl() local 229 if (copy_from_user(&new_timeout, argp, sizeof(int))) in rc32434_wdt_ioctl() 231 if (rc32434_wdt_set(new_timeout)) in rc32434_wdt_ioctl()
|
D | pc87413_wdt.c | 381 int new_timeout; in pc87413_ioctl() local 428 if (get_user(new_timeout, uarg.i)) in pc87413_ioctl() 431 new_timeout /= 60; in pc87413_ioctl() 432 if (new_timeout < 0 || new_timeout > MAX_TIMEOUT) in pc87413_ioctl() 434 timeout = new_timeout; in pc87413_ioctl() 438 new_timeout = timeout * 60; in pc87413_ioctl() 439 return put_user(new_timeout, uarg.i); in pc87413_ioctl()
|
D | pnx833x_wdt.c | 141 int options, new_timeout = 0; in pnx833x_wdt_ioctl() local 182 if (get_user(new_timeout, (int *)arg)) in pnx833x_wdt_ioctl() 185 pnx833x_wdt_timeout = new_timeout; in pnx833x_wdt_ioctl() 187 PNX833X_CONFIG_CPU_WATCHDOG_COMPARE) = new_timeout; in pnx833x_wdt_ioctl() 188 return put_user(new_timeout, (int *)arg); in pnx833x_wdt_ioctl()
|
D | wafer5823wdt.c | 125 int new_timeout; in wafwdt_ioctl() local 170 if (get_user(new_timeout, p)) in wafwdt_ioctl() 172 if ((new_timeout < 1) || (new_timeout > 255)) in wafwdt_ioctl() 174 timeout = new_timeout; in wafwdt_ioctl()
|
D | sbc60xxwdt.c | 258 int new_timeout; in fop_ioctl() local 259 if (get_user(new_timeout, p)) in fop_ioctl() 262 if (new_timeout < 1 || new_timeout > 3600) in fop_ioctl() 265 timeout = new_timeout; in fop_ioctl()
|
D | w83877f_wdt.c | 280 int new_timeout; in fop_ioctl() local 282 if (get_user(new_timeout, p)) in fop_ioctl() 286 if (new_timeout < 1 || new_timeout > 3600) in fop_ioctl() 289 timeout = new_timeout; in fop_ioctl()
|
D | sc1200wdt.c | 183 int new_timeout; in sc1200wdt_ioctl() local 229 if (get_user(new_timeout, p)) in sc1200wdt_ioctl() 232 new_timeout /= 60; in sc1200wdt_ioctl() 233 if (new_timeout < 0 || new_timeout > MAX_TIMEOUT) in sc1200wdt_ioctl() 235 timeout = new_timeout; in sc1200wdt_ioctl()
|
D | alim7101_wdt.c | 272 int new_timeout; in fop_ioctl() local 274 if (get_user(new_timeout, p)) in fop_ioctl() 277 if (new_timeout < 1 || new_timeout > 3600) in fop_ioctl() 279 timeout = new_timeout; in fop_ioctl()
|
D | imx2_wdt.c | 169 unsigned int new_timeout) in __imx2_wdt_set_timeout() argument 174 WDOG_SEC_TO_COUNT(new_timeout)); in __imx2_wdt_set_timeout() 178 unsigned int new_timeout) in imx2_wdt_set_timeout() argument 182 actual = min(new_timeout, IMX2_WDT_MAX_TIME); in imx2_wdt_set_timeout() 184 wdog->timeout = new_timeout; in imx2_wdt_set_timeout()
|
D | jz4740_wdt.c | 56 unsigned int new_timeout) in jz4740_wdt_set_timeout() argument 59 u16 timeout_value = (u16)(drvdata->clk_rate * new_timeout); in jz4740_wdt_set_timeout() 71 wdt_dev->timeout = new_timeout; in jz4740_wdt_set_timeout()
|
D | sbc7240_wdt.c | 190 int new_timeout; in fop_ioctl() local 192 if (get_user(new_timeout, (int __user *)arg)) in fop_ioctl() 195 if (wdt_set_timeout(new_timeout)) in fop_ioctl()
|
D | via_wdt.c | 128 unsigned int new_timeout) in wdt_set_timeout() argument 130 writel(new_timeout, wdt_mem + VIA_WDT_COUNT); in wdt_set_timeout() 131 wdd->timeout = new_timeout; in wdt_set_timeout()
|
D | advantechwdt.c | 133 int new_timeout; in advwdt_ioctl() local 175 if (get_user(new_timeout, p)) in advwdt_ioctl() 177 if (advwdt_set_heartbeat(new_timeout)) in advwdt_ioctl()
|
D | alim1535_wdt.c | 216 int new_timeout; in ali_ioctl() local 217 if (get_user(new_timeout, p)) in ali_ioctl() 219 if (ali_settimer(new_timeout)) in ali_ioctl()
|
D | sc520_wdt.c | 314 int new_timeout; in fop_ioctl() local 316 if (get_user(new_timeout, p)) in fop_ioctl() 319 if (wdt_set_heartbeat(new_timeout)) in fop_ioctl()
|
D | stmp3xxx_rtc_wdt.c | 45 static int wdt_set_timeout(struct watchdog_device *wdd, unsigned new_timeout) in wdt_set_timeout() argument 47 wdd->timeout = new_timeout; in wdt_set_timeout()
|
D | wdt977.c | 353 int new_timeout; in wdt977_ioctl() local 394 if (get_user(new_timeout, uarg.i)) in wdt977_ioctl() 397 if (wdt977_set_timeout(new_timeout)) in wdt977_ioctl()
|
D | w83977f_wdt.c | 377 int new_timeout; in wdt_ioctl() local 418 if (get_user(new_timeout, uarg.i)) in wdt_ioctl() 421 if (wdt_set_timeout(new_timeout)) in wdt_ioctl()
|
D | txx9wdt.c | 75 unsigned int new_timeout) in txx9wdt_set_timeout() argument 77 wdt_dev->timeout = new_timeout; in txx9wdt_set_timeout()
|
D | sch311x_wdt.c | 247 int new_timeout; in sch311x_wdt_ioctl() local 293 if (get_user(new_timeout, p)) in sch311x_wdt_ioctl() 295 if (sch311x_wdt_set_heartbeat(new_timeout)) in sch311x_wdt_ioctl()
|
D | tangox_wdt.c | 48 unsigned int new_timeout) in tangox_wdt_set_timeout() argument 50 wdt->timeout = new_timeout; in tangox_wdt_set_timeout()
|
D | pnx4008_wdt.c | 119 unsigned int new_timeout) in pnx4008_wdt_set_timeout() argument 121 wdd->timeout = new_timeout; in pnx4008_wdt_set_timeout()
|
D | imgpdc_wdt.c | 125 unsigned int new_timeout) in pdc_wdt_set_timeout() argument 129 wdt->wdt_dev.timeout = new_timeout; in pdc_wdt_set_timeout()
|
D | lpc18xx_wdt.c | 113 unsigned int new_timeout) in lpc18xx_wdt_set_timeout() argument 117 lpc18xx_wdt->wdt_dev.timeout = new_timeout; in lpc18xx_wdt_set_timeout()
|