Home
last modified time | relevance | path

Searched refs:max_timeout (Results 1 – 25 of 81) sorted by relevance

1234

/drivers/watchdog/
Dmoxart_wdt.c97 unsigned int max_timeout; in moxart_wdt_probe() local
123 max_timeout = UINT_MAX / moxart_wdt->clock_frequency; in moxart_wdt_probe()
127 moxart_wdt->dev.timeout = max_timeout; in moxart_wdt_probe()
129 moxart_wdt->dev.max_timeout = max_timeout; in moxart_wdt_probe()
Dath79_wdt.c72 static int max_timeout; variable
118 if (val < 1 || val > max_timeout) in ath79_wdt_set_timeout()
279 max_timeout = (0xfffffffful / wdt_freq); in ath79_wdt_probe()
280 if (timeout < 1 || timeout > max_timeout) { in ath79_wdt_probe()
281 timeout = max_timeout; in ath79_wdt_probe()
284 max_timeout, timeout); in ath79_wdt_probe()
Drn5t618_wdt.c151 int min_timeout, max_timeout; in rn5t618_wdt_probe() local
158 max_timeout = rn5t618_wdt_map[ARRAY_SIZE(rn5t618_wdt_map) - 1].time; in rn5t618_wdt_probe()
164 wdt->wdt_dev.max_timeout = max_timeout; in rn5t618_wdt_probe()
165 wdt->wdt_dev.timeout = max_timeout; in rn5t618_wdt_probe()
Dsun4v_wdt.c92 .max_timeout = WDT_MAX_TIMEOUT,
153 if (*value < wdd.max_timeout * 1000) in sun4v_wdt_init()
154 wdd.max_timeout = *value / 1000; in sun4v_wdt_init()
Dux500_wdt.c84 .max_timeout = WATCHDOG_MAX32,
96 ux500_wdt.max_timeout = WATCHDOG_MAX28; in ux500_wdt_probe()
Dmt7621_wdt.c125 .max_timeout = 0xfffful / 1000,
144 watchdog_init_timeout(&mt7621_wdt_dev, mt7621_wdt_dev.max_timeout, in mt7621_wdt_probe()
Drt2880_wdt.c162 rt288x_wdt_dev.max_timeout = (0xfffful / rt288x_wdt_freq); in rt288x_wdt_probe()
165 watchdog_init_timeout(&rt288x_wdt_dev, rt288x_wdt_dev.max_timeout, in rt288x_wdt_probe()
Ddigicolor_wdt.c139 dc_wdt_wdd.max_timeout = U32_MAX / clk_get_rate(wdt->clk); in dc_wdt_probe()
140 dc_wdt_wdd.timeout = dc_wdt_wdd.max_timeout; in dc_wdt_probe()
Dts4800_wdt.c149 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe()
162 wdd->timeout = wdd->max_timeout; in ts4800_wdt_probe()
Dmeson_wdt.c191 meson_wdt->wdt_dev.max_timeout = in meson_wdt_probe()
196 meson_wdt->wdt_dev.max_timeout); in meson_wdt_probe()
Drenesas_wdt.c178 priv->wdev.max_timeout = DIV_BY_CLKS_PER_SEC(priv, 65536); in rwdt_probe()
179 priv->wdev.timeout = min(priv->wdev.max_timeout, RWDT_DEFAULT_TIMEOUT); in rwdt_probe()
Dqcom-wdt.c210 wdt->wdd.max_timeout = 0x10000000U / wdt->rate; in qcom_wdt_probe()
222 wdt->wdd.timeout = min(wdt->wdd.max_timeout, 30U); in qcom_wdt_probe()
Dwatchdog_core.c91 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) { in watchdog_check_min_max_timeout()
94 wdd->max_timeout = 0; in watchdog_check_min_max_timeout()
Dlpc18xx_wdt.c255 lpc18xx_wdt->wdt_dev.max_timeout = (LPC18XX_WDT_TC_MAX * in lpc18xx_wdt_probe()
258 lpc18xx_wdt->wdt_dev.timeout = min(lpc18xx_wdt->wdt_dev.max_timeout, in lpc18xx_wdt_probe()
Df71808e_wdt.c94 static const int max_timeout = WATCHDOG_MAX_TIMEOUT; variable
233 || timeout > max_timeout) { in watchdog_set_timeout()
729 || start_withtimeout > max_timeout) { in watchdog_init()
Debc-c384_wdt.c116 wdd->max_timeout = WATCHDOG_MAX_TIMEOUT; in ebc_c384_wdt_probe()
Dtwl4030_wdt.c85 wdt->max_timeout = 30; in twl4030_wdt_probe()
Dsoftdog.c130 .max_timeout = 65535,
Dstmp3xxx_rtc_wdt.c70 .max_timeout = STMP3XXX_MAX_TIMEOUT,
Dbooke_wdt.c229 booke_wdt_dev.max_timeout = MAX_WDT_TIMEOUT; in booke_wdt_init()
Dintel-mid_wdt.c135 wdt_dev->max_timeout = MID_WDT_TIMEOUT_MAX; in mid_wdt_probe()
Dwm8350_wdt.c140 .max_timeout = 4,
/drivers/media/rc/
Dir-lirc-codec.c286 if (!dev->max_timeout) in ir_lirc_ioctl()
292 if (!dev->max_timeout) in ir_lirc_ioctl()
294 val = dev->max_timeout / 1000; in ir_lirc_ioctl()
298 if (!dev->max_timeout) in ir_lirc_ioctl()
307 if (tmp < dev->min_timeout || tmp > dev->max_timeout) in ir_lirc_ioctl()
383 if (dev->max_timeout) in ir_lirc_register()
Dene_ir.c449 dev->rdev->min_timeout = dev->rdev->max_timeout = in ene_rx_setup()
461 dev->rdev->max_timeout = US_TO_NS(200000); in ene_rx_setup()
467 if (dev->rdev->timeout > dev->rdev->max_timeout) in ene_rx_setup()
468 dev->rdev->timeout = dev->rdev->max_timeout; in ene_rx_setup()
/drivers/input/touchscreen/
Dgoodix.c210 unsigned long max_timeout; in goodix_ts_read_input_report() local
219 max_timeout = jiffies + msecs_to_jiffies(GOODIX_BUFFER_STATUS_TIMEOUT); in goodix_ts_read_input_report()
250 } while (time_before(jiffies, max_timeout)); in goodix_ts_read_input_report()

1234