Home
last modified time | relevance | path

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

/drivers/watchdog/
Dbcm47xx_wdt.c72 unsigned int new_time) in bcm47xx_wdt_hard_set_timeout() argument
77 if (new_time < 1 || new_time > max_timer / 1000) { in bcm47xx_wdt_hard_set_timeout()
79 max_timer / 1000, new_time); in bcm47xx_wdt_hard_set_timeout()
83 wdd->timeout = new_time; in bcm47xx_wdt_hard_set_timeout()
149 unsigned int new_time) in bcm47xx_wdt_soft_set_timeout() argument
151 if (new_time < 1 || new_time > WDT_SOFTTIMER_MAX) { in bcm47xx_wdt_soft_set_timeout()
153 WDT_SOFTTIMER_MAX, new_time); in bcm47xx_wdt_soft_set_timeout()
157 wdd->timeout = new_time; in bcm47xx_wdt_soft_set_timeout()
Dat91rm9200_wdt.c134 static int at91_wdt_settimeout(int new_time) in at91_wdt_settimeout() argument
142 if ((new_time <= 0) || (new_time > WDT_MAX_TIME)) in at91_wdt_settimeout()
147 wdt_time = new_time; in at91_wdt_settimeout()
Dmsc313e_wdt.c71 static int msc313e_wdt_settimeout(struct watchdog_device *wdev, unsigned int new_time) in msc313e_wdt_settimeout() argument
73 wdev->timeout = new_time; in msc313e_wdt_settimeout()
Dcadence_wdt.c231 unsigned int new_time) in cdns_wdt_settimeout() argument
233 wdd->timeout = new_time; in cdns_wdt_settimeout()
/drivers/rtc/
Drtc-wm831x.c173 unsigned long time, new_time; in wm831x_rtc_settime() local
216 new_time = rtc_tm_to_time64(&new_tm); in wm831x_rtc_settime()
219 if (new_time - time > 1) { in wm831x_rtc_settime()
Drtc-zynqmp.c62 unsigned long new_time; in xlnx_rtc_set_time() local
69 new_time = rtc_tm_to_time64(tm) + 1; in xlnx_rtc_set_time()
71 writel(new_time, xrtcdev->reg_base + RTC_SET_TM_WR); in xlnx_rtc_set_time()