/linux-6.3-rc2/drivers/watchdog/ |
A D | smsc37b787_wdt.c | 168 write_io_cr(0xF2, new_timeout); in wdt_timeout_value() 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() 479 new_timeout = timeout; in wb_smsc_wdt_ioctl() 481 new_timeout *= 60; in wb_smsc_wdt_ioctl() [all …]
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | imx2_wdt.c | 185 unsigned int new_timeout) in __imx2_wdt_set_timeout() argument 190 WDOG_SEC_TO_COUNT(new_timeout)); in __imx2_wdt_set_timeout() 194 unsigned int new_timeout) in imx2_wdt_set_timeout() argument 198 actual = min(new_timeout, IMX2_WDT_MAX_TIME); in imx2_wdt_set_timeout() 200 wdog->timeout = new_timeout; in imx2_wdt_set_timeout()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | txx9wdt.c | 75 unsigned int new_timeout) in txx9wdt_set_timeout() argument 77 wdt_dev->timeout = new_timeout; in txx9wdt_set_timeout()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | at91sam9_wdt.c | 146 static int at91_wdt_set_timeout(struct watchdog_device *wdd, unsigned int new_timeout) in at91_wdt_set_timeout() argument 148 wdd->timeout = new_timeout; in at91_wdt_set_timeout()
|
/linux-6.3-rc2/drivers/rtc/ |
A D | rtc-abx80x.c | 627 unsigned int new_timeout) in abx80x_wdog_set_timeout() argument 632 err = __abx80x_wdog_set_timeout(wdog, new_timeout); in abx80x_wdog_set_timeout() 635 wdog->timeout = new_timeout; in abx80x_wdog_set_timeout()
|