Home
last modified time | relevance | path

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

12345

/linux/drivers/watchdog/
H A Dmoxart_wdt.c94 unsigned int max_timeout; in moxart_wdt_probe() local
119 max_timeout = UINT_MAX / moxart_wdt->clock_frequency; in moxart_wdt_probe()
123 moxart_wdt->dev.timeout = max_timeout; in moxart_wdt_probe()
125 moxart_wdt->dev.max_timeout = max_timeout; in moxart_wdt_probe()
H A 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()
H A Drn5t618_wdt.c146 int min_timeout, max_timeout; in rn5t618_wdt_probe() local
155 max_timeout = rn5t618_wdt_map[ARRAY_SIZE(rn5t618_wdt_map) - 1].time; in rn5t618_wdt_probe()
161 wdt->wdt_dev.max_timeout = max_timeout; in rn5t618_wdt_probe()
162 wdt->wdt_dev.timeout = max_timeout; in rn5t618_wdt_probe()
H A 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()
H A 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()
H A Dts4800_wdt.c152 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe()
165 wdd->timeout = wdd->max_timeout; in ts4800_wdt_probe()
H A Dvisconti_wdt.c148 wdev->max_timeout = 0xffffffff / VISCONTI_WDT_FREQ; in visconti_wdt_probe()
149 wdev->timeout = min(wdev->max_timeout, WDT_DEFAULT_TIMEOUT); in visconti_wdt_probe()
H A Dmlx_wdt.c252 wdt->wdd.max_timeout = MLXREG_WDT_MAX_TIMEOUT_TYPE1; in mlxreg_wdt_config()
256 wdt->wdd.max_timeout = MLXREG_WDT_MAX_TIMEOUT_TYPE2; in mlxreg_wdt_config()
260 wdt->wdd.max_timeout = MLXREG_WDT_MAX_TIMEOUT_TYPE3; in mlxreg_wdt_config()
H A Drt2880_wdt.c169 wdt->max_timeout = (0xfffful / drvdata->freq); in rt288x_wdt_probe()
173 watchdog_init_timeout(wdt, wdt->max_timeout, dev); in rt288x_wdt_probe()
H A Djz4740_wdt.c170 jz4740_wdt->max_timeout = 0xffff / rate; in jz4740_wdt_probe()
173 jz4740_wdt->max_timeout); in jz4740_wdt_probe()
H A Dmeson_wdt.c180 meson_wdt->wdt_dev.max_timeout = in meson_wdt_probe()
185 meson_wdt->wdt_dev.max_timeout); in meson_wdt_probe()
H A Dmt7621_wdt.c170 mt7621_wdt->max_timeout = 0xfffful / 1000; in mt7621_wdt_probe()
175 watchdog_init_timeout(mt7621_wdt, mt7621_wdt->max_timeout, dev); in mt7621_wdt_probe()
H A Dlantiq_wdt.c231 wdt->max_timeout = LTQ_WDT_CR_MAX_TIMEOUT / priv->clk_rate; in ltq_wdt_probe()
232 wdt->timeout = wdt->max_timeout; in ltq_wdt_probe()
H A Dlpc18xx_wdt.c238 lpc18xx_wdt->wdt_dev.max_timeout = (LPC18XX_WDT_TC_MAX * in lpc18xx_wdt_probe()
241 lpc18xx_wdt->wdt_dev.timeout = min(lpc18xx_wdt->wdt_dev.max_timeout, in lpc18xx_wdt_probe()
H A Dqcom-wdt.c266 wdt->wdd.max_timeout = data->max_tick_count / wdt->rate; in qcom_wdt_probe()
278 wdt->wdd.timeout = min(wdt->wdd.max_timeout, 30U); in qcom_wdt_probe()
H A Dmarvell_gti_wdt.c201 if (timeout * 3 <= wdog_dev->max_timeout) in gti_wdt_set_pretimeout()
301 wdog_dev->max_timeout = max_pretimeout * 3; in gti_wdt_probe()
H A 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()
H A 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()
H A Dtwl4030_wdt.c73 wdt->max_timeout = 30; in twl4030_wdt_probe()
H A Debc-c384_wdt.c108 wdd->max_timeout = WATCHDOG_MAX_TIMEOUT; in ebc_c384_wdt_probe()
/linux/drivers/leds/flash/
H A Dleds-sgm3140.c30 u32 max_timeout; member
155 s->max = priv->max_timeout; in sgm3140_init_flash_timeout()
226 &priv->max_timeout); in sgm3140_probe()
228 priv->max_timeout = FLASH_MAX_TIMEOUT_DEFAULT; in sgm3140_probe()
237 priv->timeout = min(priv->max_timeout, FLASH_TIMEOUT_DEFAULT); in sgm3140_probe()
H A 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()
/linux/include/linux/
H A Dwatchdog.h105 unsigned int max_timeout; member
182 (!wdd->max_hw_heartbeat_ms && wdd->max_timeout && in watchdog_timeout_invalid()
183 t > wdd->max_timeout); in watchdog_timeout_invalid()
/linux/drivers/media/rc/
H A Dlirc_dev.c416 if (dev->max_timeout) in lirc_ioctl()
532 if (!dev->max_timeout) in lirc_ioctl()
539 if (!dev->max_timeout) in lirc_ioctl()
542 val = dev->max_timeout; in lirc_ioctl()
546 if (!dev->max_timeout) { in lirc_ioctl()
549 if (val < dev->min_timeout || val > dev->max_timeout) in lirc_ioctl()
H A 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