Home
last modified time | relevance | path

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

12345

/drivers/watchdog/
Dath79_wdt.c68 static int max_timeout; variable
114 if (val < 1 || val > max_timeout) in ath79_wdt_set_timeout()
274 max_timeout = (0xfffffffful / wdt_freq); in ath79_wdt_probe()
275 if (timeout < 1 || timeout > max_timeout) { in ath79_wdt_probe()
276 timeout = max_timeout; in ath79_wdt_probe()
279 max_timeout, timeout); in ath79_wdt_probe()
Dmoxart_wdt.c96 unsigned int max_timeout; in moxart_wdt_probe() local
121 max_timeout = UINT_MAX / moxart_wdt->clock_frequency; in moxart_wdt_probe()
125 moxart_wdt->dev.timeout = max_timeout; in moxart_wdt_probe()
127 moxart_wdt->dev.max_timeout = max_timeout; in moxart_wdt_probe()
Drave-sp-wdt.c38 unsigned int max_timeout; member
228 .max_timeout = 255,
235 .max_timeout = 180,
274 wdd->max_timeout = sp_wd->variant->max_timeout; in rave_sp_wdt_probe()
304 wdd->max_hw_heartbeat_ms = wdd->max_timeout * 1000; in rave_sp_wdt_probe()
Drn5t618_wdt.c146 int min_timeout, max_timeout; in rn5t618_wdt_probe() local
153 max_timeout = rn5t618_wdt_map[ARRAY_SIZE(rn5t618_wdt_map) - 1].time; in rn5t618_wdt_probe()
159 wdt->wdt_dev.max_timeout = max_timeout; in rn5t618_wdt_probe()
160 wdt->wdt_dev.timeout = max_timeout; in rn5t618_wdt_probe()
Dsun4v_wdt.c88 .max_timeout = WDT_MAX_TIMEOUT,
149 if (*value < wdd.max_timeout * 1000) in sun4v_wdt_init()
150 wdd.max_timeout = *value / 1000; in sun4v_wdt_init()
Dmt7621_wdt.c128 .max_timeout = 0xfffful / 1000,
144 watchdog_init_timeout(&mt7621_wdt_dev, mt7621_wdt_dev.max_timeout, in mt7621_wdt_probe()
Drt2880_wdt.c159 rt288x_wdt_dev.max_timeout = (0xfffful / rt288x_wdt_freq); in rt288x_wdt_probe()
162 watchdog_init_timeout(&rt288x_wdt_dev, rt288x_wdt_dev.max_timeout, in rt288x_wdt_probe()
Dts4800_wdt.c154 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe()
167 wdd->timeout = wdd->max_timeout; in ts4800_wdt_probe()
Ddigicolor_wdt.c133 dc_wdt_wdd.max_timeout = U32_MAX / clk_get_rate(wdt->clk); in dc_wdt_probe()
134 dc_wdt_wdd.timeout = dc_wdt_wdd.max_timeout; in dc_wdt_probe()
Dmlx_wdt.c253 wdt->wdd.max_timeout = MLXREG_WDT_MAX_TIMEOUT_TYPE1; in mlxreg_wdt_config()
257 wdt->wdd.max_timeout = MLXREG_WDT_MAX_TIMEOUT_TYPE2; in mlxreg_wdt_config()
261 wdt->wdd.max_timeout = MLXREG_WDT_MAX_TIMEOUT_TYPE3; in mlxreg_wdt_config()
Dvisconti_wdt.c163 wdev->max_timeout = 0xffffffff / VISCONTI_WDT_FREQ; in visconti_wdt_probe()
164 wdev->timeout = min(wdev->max_timeout, WDT_DEFAULT_TIMEOUT); in visconti_wdt_probe()
Djz4740_wdt.c170 jz4740_wdt->max_timeout = 0xffff / rate; in jz4740_wdt_probe()
173 jz4740_wdt->max_timeout); in jz4740_wdt_probe()
Dmeson_wdt.c180 meson_wdt->wdt_dev.max_timeout = in meson_wdt_probe()
185 meson_wdt->wdt_dev.max_timeout); in meson_wdt_probe()
Dlantiq_wdt.c230 wdt->max_timeout = LTQ_WDT_CR_MAX_TIMEOUT / priv->clk_rate; in ltq_wdt_probe()
231 wdt->timeout = wdt->max_timeout; in ltq_wdt_probe()
Dlpc18xx_wdt.c264 lpc18xx_wdt->wdt_dev.max_timeout = (LPC18XX_WDT_TC_MAX * in lpc18xx_wdt_probe()
267 lpc18xx_wdt->wdt_dev.timeout = min(lpc18xx_wdt->wdt_dev.max_timeout, in lpc18xx_wdt_probe()
Dqcom-wdt.c278 wdt->wdd.max_timeout = 0x10000000U / wdt->rate; in qcom_wdt_probe()
290 wdt->wdd.timeout = min(wdt->wdd.max_timeout, 30U); in qcom_wdt_probe()
Drenesas_wdt.c265 priv->wdev.max_timeout = DIV_BY_CLKS_PER_SEC(priv, 65536); in rwdt_probe()
266 priv->wdev.timeout = min(priv->wdev.max_timeout, RWDT_DEFAULT_TIMEOUT); in rwdt_probe()
Dwatchdog_core.c94 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) { in watchdog_check_min_max_timeout()
97 wdd->max_timeout = 0; in watchdog_check_min_max_timeout()
Debc-c384_wdt.c108 wdd->max_timeout = WATCHDOG_MAX_TIMEOUT; in ebc_c384_wdt_probe()
Dtwl4030_wdt.c73 wdt->max_timeout = 30; in twl4030_wdt_probe()
Dtqmx86_wdt.c96 priv->wdd.max_timeout = 4096; in tqmx86_wdt_probe()
/drivers/leds/flash/
Dleds-sgm3140.c30 u32 max_timeout; member
152 s->max = priv->max_timeout; in sgm3140_init_flash_timeout()
223 &priv->max_timeout); in sgm3140_probe()
225 priv->max_timeout = FLASH_MAX_TIMEOUT_DEFAULT; in sgm3140_probe()
234 priv->timeout = min(priv->max_timeout, FLASH_TIMEOUT_DEFAULT); in sgm3140_probe()
Dleds-rt8515.c56 u32 max_timeout; /* Flash max timeout */ member
182 s->max = rt->max_timeout; in rt8515_init_flash_timeout()
188 s->val = min(rt->max_timeout, RT8515_TIMEOUT_US); in rt8515_init_flash_timeout()
325 &rt->max_timeout); in rt8515_probe()
327 rt->max_timeout = RT8515_MAX_TIMEOUT_US; in rt8515_probe()
/drivers/media/rc/
Dlirc_dev.c414 if (dev->max_timeout) in lirc_ioctl()
530 if (!dev->max_timeout) in lirc_ioctl()
537 if (!dev->max_timeout) in lirc_ioctl()
540 val = dev->max_timeout; in lirc_ioctl()
544 if (!dev->max_timeout) { in lirc_ioctl()
547 if (val < dev->min_timeout || val > dev->max_timeout) in lirc_ioctl()
Drc-ir-raw.c261 if (!dev->max_timeout) in change_protocol()
280 else if (timeout > dev->max_timeout) in change_protocol()
281 timeout = dev->max_timeout; in change_protocol()

12345