Home
last modified time | relevance | path

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

/linux-6.12.1/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.c133 static int at91_wdt_settimeout(int new_time) in at91_wdt_settimeout() argument
141 if ((new_time <= 0) || (new_time > WDT_MAX_TIME)) in at91_wdt_settimeout()
146 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()
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_qos.c27 ktime_t current_time, threshold_time, new_time; in sparx5_new_base_time() local
33 new_time = org_base_time; in sparx5_new_base_time()
38 diff_time = threshold_time - new_time; in sparx5_new_base_time()
42 if (new_time >= threshold_time) { in sparx5_new_base_time()
43 *new_base_time = new_time; in sparx5_new_base_time()
57 if (new_time < threshold_time) { in sparx5_new_base_time()
58 new_time += cycle_time * nr_of_cycles_p2; in sparx5_new_base_time()
59 while (new_time < threshold_time) in sparx5_new_base_time()
60 new_time += cycle_time * nr_of_cycles_p2; in sparx5_new_base_time()
61 new_time -= cycle_time * nr_of_cycles_p2; in sparx5_new_base_time()
[all …]
/linux-6.12.1/fs/bcachefs/
Dlru.c64 u64 old_time, u64 new_time) in bch2_lru_change() argument
66 if (old_time == new_time) in bch2_lru_change()
70 bch2_lru_set(trans, lru_id, dev_bucket, new_time); in bch2_lru_change()
/linux-6.12.1/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()
/linux-6.12.1/include/linux/iio/
Diio-gts-helper.h197 int old_time, int new_time,
/linux-6.12.1/drivers/iio/
Dindustrialio-gts-helper.c1060 int old_time, int new_time, in iio_gts_find_new_gain_by_old_gain_time() argument
1069 itime_new = iio_gts_find_itime_by_time(gts, new_time); in iio_gts_find_new_gain_by_old_gain_time()