Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/watchdog/
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()
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()
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
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()
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()
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()
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()
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()
Djz4740_wdt.c170 jz4740_wdt->max_timeout = 0xffff / rate; in jz4740_wdt_probe()
173 jz4740_wdt->max_timeout); in jz4740_wdt_probe()
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()
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()
Dmeson_wdt.c180 meson_wdt->wdt_dev.max_timeout = in meson_wdt_probe()
185 meson_wdt->wdt_dev.max_timeout); in meson_wdt_probe()
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()
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()
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()
Dmarvell_gti_wdt.c194 if (timeout * 3 <= wdog_dev->max_timeout) in gti_wdt_set_pretimeout()
294 wdog_dev->max_timeout = max_pretimeout * 3; in gti_wdt_probe()
Dqcom-wdt.c263 wdt->wdd.max_timeout = 0x10000000U / wdt->rate; in qcom_wdt_probe()
275 wdt->wdd.timeout = min(wdt->wdd.max_timeout, 30U); in qcom_wdt_probe()
Dtwl4030_wdt.c73 wdt->max_timeout = 30; in twl4030_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()
/linux-6.6.21/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()
/linux-6.6.21/include/linux/
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-6.6.21/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()

123456