/drivers/watchdog/ |
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 | moxart_wdt.c | 96 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()
|
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 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()
|
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 | mt7621_wdt.c | 128 .max_timeout = 0xfffful / 1000, 144 watchdog_init_timeout(&mt7621_wdt_dev, mt7621_wdt_dev.max_timeout, in mt7621_wdt_probe()
|
D | rt2880_wdt.c | 159 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()
|
D | ts4800_wdt.c | 154 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe() 167 wdd->timeout = wdd->max_timeout; in ts4800_wdt_probe()
|
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 | 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 | visconti_wdt.c | 163 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()
|
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 | 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 | lantiq_wdt.c | 230 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()
|
D | lpc18xx_wdt.c | 264 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()
|
D | qcom-wdt.c | 278 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()
|
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()
|
D | twl4030_wdt.c | 73 wdt->max_timeout = 30; in twl4030_wdt_probe()
|
D | tqmx86_wdt.c | 96 priv->wdd.max_timeout = 4096; in tqmx86_wdt_probe()
|
/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()
|
/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()
|
D | rc-ir-raw.c | 261 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()
|