/drivers/watchdog/ |
D | moxart_wdt.c | 97 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()
|
D | ath79_wdt.c | 72 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()
|
D | rn5t618_wdt.c | 151 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()
|
D | sun4v_wdt.c | 92 .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()
|
D | ux500_wdt.c | 84 .max_timeout = WATCHDOG_MAX32, 96 ux500_wdt.max_timeout = WATCHDOG_MAX28; in ux500_wdt_probe()
|
D | mt7621_wdt.c | 125 .max_timeout = 0xfffful / 1000, 144 watchdog_init_timeout(&mt7621_wdt_dev, mt7621_wdt_dev.max_timeout, in mt7621_wdt_probe()
|
D | rt2880_wdt.c | 162 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()
|
D | digicolor_wdt.c | 139 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()
|
D | ts4800_wdt.c | 149 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe() 162 wdd->timeout = wdd->max_timeout; in ts4800_wdt_probe()
|
D | meson_wdt.c | 191 meson_wdt->wdt_dev.max_timeout = in meson_wdt_probe() 196 meson_wdt->wdt_dev.max_timeout); in meson_wdt_probe()
|
D | renesas_wdt.c | 178 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()
|
D | qcom-wdt.c | 210 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()
|
D | watchdog_core.c | 91 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()
|
D | lpc18xx_wdt.c | 255 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()
|
D | f71808e_wdt.c | 94 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()
|
D | ebc-c384_wdt.c | 116 wdd->max_timeout = WATCHDOG_MAX_TIMEOUT; in ebc_c384_wdt_probe()
|
D | twl4030_wdt.c | 85 wdt->max_timeout = 30; in twl4030_wdt_probe()
|
D | softdog.c | 130 .max_timeout = 65535,
|
D | stmp3xxx_rtc_wdt.c | 70 .max_timeout = STMP3XXX_MAX_TIMEOUT,
|
D | booke_wdt.c | 229 booke_wdt_dev.max_timeout = MAX_WDT_TIMEOUT; in booke_wdt_init()
|
D | intel-mid_wdt.c | 135 wdt_dev->max_timeout = MID_WDT_TIMEOUT_MAX; in mid_wdt_probe()
|
D | wm8350_wdt.c | 140 .max_timeout = 4,
|
/drivers/media/rc/ |
D | ir-lirc-codec.c | 286 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()
|
D | ene_ir.c | 449 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/ |
D | goodix.c | 210 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()
|