/linux-6.6.21/drivers/watchdog/ |
D | moxart_wdt.c | 94 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()
|
D | ath79_wdt.c | 68 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()
|
D | rave-sp-wdt.c | 38 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()
|
D | rn5t618_wdt.c | 146 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()
|
D | sun4v_wdt.c | 88 .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()
|
D | digicolor_wdt.c | 133 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()
|
D | ts4800_wdt.c | 152 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe() 165 wdd->timeout = wdd->max_timeout; in ts4800_wdt_probe()
|
D | visconti_wdt.c | 148 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()
|
D | jz4740_wdt.c | 170 jz4740_wdt->max_timeout = 0xffff / rate; in jz4740_wdt_probe() 173 jz4740_wdt->max_timeout); in jz4740_wdt_probe()
|
D | rt2880_wdt.c | 169 wdt->max_timeout = (0xfffful / drvdata->freq); in rt288x_wdt_probe() 173 watchdog_init_timeout(wdt, wdt->max_timeout, dev); in rt288x_wdt_probe()
|
D | mlx_wdt.c | 253 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()
|
D | meson_wdt.c | 180 meson_wdt->wdt_dev.max_timeout = in meson_wdt_probe() 185 meson_wdt->wdt_dev.max_timeout); in meson_wdt_probe()
|
D | mt7621_wdt.c | 170 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()
|
D | lantiq_wdt.c | 231 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()
|
D | lpc18xx_wdt.c | 238 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()
|
D | marvell_gti_wdt.c | 194 if (timeout * 3 <= wdog_dev->max_timeout) in gti_wdt_set_pretimeout() 294 wdog_dev->max_timeout = max_pretimeout * 3; in gti_wdt_probe()
|
D | qcom-wdt.c | 263 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()
|
D | twl4030_wdt.c | 73 wdt->max_timeout = 30; in twl4030_wdt_probe()
|
D | renesas_wdt.c | 265 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()
|
D | watchdog_core.c | 94 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()
|
D | ebc-c384_wdt.c | 108 wdd->max_timeout = WATCHDOG_MAX_TIMEOUT; in ebc_c384_wdt_probe()
|
/linux-6.6.21/drivers/leds/flash/ |
D | leds-sgm3140.c | 30 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()
|
D | leds-rt8515.c | 56 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/ |
D | watchdog.h | 105 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/ |
D | lirc_dev.c | 414 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()
|