wdog 253 drivers/mmc/host/cavium.c u64 emm_switch, wdog; wdog 260 drivers/mmc/host/cavium.c wdog = readq(slot->host->base + MIO_EMM_WDOG(host)); wdog 267 drivers/mmc/host/cavium.c writeq(wdog, slot->host->base + MIO_EMM_WDOG(host)); wdog 116 drivers/rtc/rtc-abx80x.c struct watchdog_device wdog; wdog 600 drivers/rtc/rtc-abx80x.c static int __abx80x_wdog_set_timeout(struct watchdog_device *wdog, wdog 603 drivers/rtc/rtc-abx80x.c struct abx80x_priv *priv = watchdog_get_drvdata(wdog); wdog 613 drivers/rtc/rtc-abx80x.c static int abx80x_wdog_set_timeout(struct watchdog_device *wdog, wdog 618 drivers/rtc/rtc-abx80x.c if (watchdog_hw_running(wdog)) wdog 619 drivers/rtc/rtc-abx80x.c err = __abx80x_wdog_set_timeout(wdog, new_timeout); wdog 622 drivers/rtc/rtc-abx80x.c wdog->timeout = new_timeout; wdog 627 drivers/rtc/rtc-abx80x.c static int abx80x_wdog_ping(struct watchdog_device *wdog) wdog 629 drivers/rtc/rtc-abx80x.c return __abx80x_wdog_set_timeout(wdog, wdog->timeout); wdog 632 drivers/rtc/rtc-abx80x.c static int abx80x_wdog_start(struct watchdog_device *wdog) wdog 634 drivers/rtc/rtc-abx80x.c return __abx80x_wdog_set_timeout(wdog, wdog->timeout); wdog 637 drivers/rtc/rtc-abx80x.c static int abx80x_wdog_stop(struct watchdog_device *wdog) wdog 639 drivers/rtc/rtc-abx80x.c return __abx80x_wdog_set_timeout(wdog, 0); wdog 657 drivers/rtc/rtc-abx80x.c priv->wdog.parent = &priv->client->dev; wdog 658 drivers/rtc/rtc-abx80x.c priv->wdog.ops = &abx80x_wdog_ops; wdog 659 drivers/rtc/rtc-abx80x.c priv->wdog.info = &abx80x_wdog_info; wdog 660 drivers/rtc/rtc-abx80x.c priv->wdog.min_timeout = 1; wdog 661 drivers/rtc/rtc-abx80x.c priv->wdog.max_timeout = ABX8XX_WDT_MAX_TIME; wdog 662 drivers/rtc/rtc-abx80x.c priv->wdog.timeout = ABX8XX_WDT_MAX_TIME; wdog 664 drivers/rtc/rtc-abx80x.c watchdog_set_drvdata(&priv->wdog, priv); wdog 666 drivers/rtc/rtc-abx80x.c return devm_watchdog_register_device(&priv->client->dev, &priv->wdog); wdog 317 drivers/watchdog/alim1535_wdt.c u32 wdog; wdog 342 drivers/watchdog/alim1535_wdt.c pci_read_config_dword(pdev, 0xCC, &wdog); wdog 345 drivers/watchdog/alim1535_wdt.c wdog &= ~0x3F; wdog 347 drivers/watchdog/alim1535_wdt.c wdog &= ~((1 << 27)|(1 << 26)|(1 << 25)|(1 << 24)); wdog 349 drivers/watchdog/alim1535_wdt.c wdog &= ~((1 << 16)|(1 << 13)|(1 << 12)|(1 << 11)|(1 << 10)|(1 << 9)); wdog 351 drivers/watchdog/alim1535_wdt.c pci_write_config_dword(pdev, 0xCC, wdog); wdog 65 drivers/watchdog/bcm2835_wdt.c static int bcm2835_wdt_start(struct watchdog_device *wdog) wdog 67 drivers/watchdog/bcm2835_wdt.c struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); wdog 73 drivers/watchdog/bcm2835_wdt.c writel_relaxed(PM_PASSWORD | (SECS_TO_WDOG_TICKS(wdog->timeout) & wdog 84 drivers/watchdog/bcm2835_wdt.c static int bcm2835_wdt_stop(struct watchdog_device *wdog) wdog 86 drivers/watchdog/bcm2835_wdt.c struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); wdog 92 drivers/watchdog/bcm2835_wdt.c static unsigned int bcm2835_wdt_get_timeleft(struct watchdog_device *wdog) wdog 94 drivers/watchdog/bcm2835_wdt.c struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); wdog 115 drivers/watchdog/bcm2835_wdt.c static int bcm2835_restart(struct watchdog_device *wdog, wdog 118 drivers/watchdog/bcm2835_wdt.c struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); wdog 37 drivers/watchdog/bcm7038_wdt.c static void bcm7038_wdt_set_timeout_reg(struct watchdog_device *wdog) wdog 39 drivers/watchdog/bcm7038_wdt.c struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); wdog 42 drivers/watchdog/bcm7038_wdt.c timeout = wdt->rate * wdog->timeout; wdog 47 drivers/watchdog/bcm7038_wdt.c static int bcm7038_wdt_ping(struct watchdog_device *wdog) wdog 49 drivers/watchdog/bcm7038_wdt.c struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); wdog 57 drivers/watchdog/bcm7038_wdt.c static int bcm7038_wdt_start(struct watchdog_device *wdog) wdog 59 drivers/watchdog/bcm7038_wdt.c bcm7038_wdt_set_timeout_reg(wdog); wdog 60 drivers/watchdog/bcm7038_wdt.c bcm7038_wdt_ping(wdog); wdog 65 drivers/watchdog/bcm7038_wdt.c static int bcm7038_wdt_stop(struct watchdog_device *wdog) wdog 67 drivers/watchdog/bcm7038_wdt.c struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); wdog 75 drivers/watchdog/bcm7038_wdt.c static int bcm7038_wdt_set_timeout(struct watchdog_device *wdog, wdog 79 drivers/watchdog/bcm7038_wdt.c bcm7038_wdt_stop(wdog); wdog 80 drivers/watchdog/bcm7038_wdt.c wdog->timeout = t; wdog 81 drivers/watchdog/bcm7038_wdt.c bcm7038_wdt_start(wdog); wdog 86 drivers/watchdog/bcm7038_wdt.c static unsigned int bcm7038_wdt_get_timeleft(struct watchdog_device *wdog) wdog 88 drivers/watchdog/bcm7038_wdt.c struct bcm7038_watchdog *wdt = watchdog_get_drvdata(wdog); wdog 199 drivers/watchdog/bcm_kona_wdt.c static int bcm_kona_wdt_set_timeout_reg(struct watchdog_device *wdog, wdog 202 drivers/watchdog/bcm_kona_wdt.c struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); wdog 205 drivers/watchdog/bcm_kona_wdt.c SECS_TO_TICKS(wdog->timeout, wdt) | wdog 209 drivers/watchdog/bcm_kona_wdt.c static int bcm_kona_wdt_set_timeout(struct watchdog_device *wdog, wdog 212 drivers/watchdog/bcm_kona_wdt.c wdog->timeout = t; wdog 216 drivers/watchdog/bcm_kona_wdt.c static unsigned int bcm_kona_wdt_get_timeleft(struct watchdog_device *wdog) wdog 218 drivers/watchdog/bcm_kona_wdt.c struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); wdog 232 drivers/watchdog/bcm_kona_wdt.c static int bcm_kona_wdt_start(struct watchdog_device *wdog) wdog 234 drivers/watchdog/bcm_kona_wdt.c return bcm_kona_wdt_set_timeout_reg(wdog, wdog 238 drivers/watchdog/bcm_kona_wdt.c static int bcm_kona_wdt_stop(struct watchdog_device *wdog) wdog 240 drivers/watchdog/bcm_kona_wdt.c struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); wdog 105 drivers/watchdog/booke_wdt.c struct watchdog_device *wdog = data; wdog 109 drivers/watchdog/booke_wdt.c val |= WDTP(sec_to_period(wdog->timeout)); wdog 124 drivers/watchdog/booke_wdt.c static int booke_wdt_ping(struct watchdog_device *wdog) wdog 134 drivers/watchdog/booke_wdt.c struct watchdog_device *wdog = data; wdog 140 drivers/watchdog/booke_wdt.c val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(sec_to_period(wdog->timeout))); wdog 166 drivers/watchdog/booke_wdt.c static int booke_wdt_start(struct watchdog_device *wdog) wdog 168 drivers/watchdog/booke_wdt.c on_each_cpu(__booke_wdt_enable, wdog, 0); wdog 169 drivers/watchdog/booke_wdt.c pr_debug("watchdog enabled (timeout = %u sec)\n", wdog->timeout); wdog 174 drivers/watchdog/booke_wdt.c static int booke_wdt_stop(struct watchdog_device *wdog) wdog 48 drivers/watchdog/digicolor_wdt.c static int dc_wdt_restart(struct watchdog_device *wdog, unsigned long action, wdog 51 drivers/watchdog/digicolor_wdt.c struct dc_wdt *wdt = watchdog_get_drvdata(wdog); wdog 60 drivers/watchdog/digicolor_wdt.c static int dc_wdt_start(struct watchdog_device *wdog) wdog 62 drivers/watchdog/digicolor_wdt.c struct dc_wdt *wdt = watchdog_get_drvdata(wdog); wdog 64 drivers/watchdog/digicolor_wdt.c dc_wdt_set(wdt, wdog->timeout * clk_get_rate(wdt->clk)); wdog 69 drivers/watchdog/digicolor_wdt.c static int dc_wdt_stop(struct watchdog_device *wdog) wdog 71 drivers/watchdog/digicolor_wdt.c struct dc_wdt *wdt = watchdog_get_drvdata(wdog); wdog 78 drivers/watchdog/digicolor_wdt.c static int dc_wdt_set_timeout(struct watchdog_device *wdog, unsigned int t) wdog 80 drivers/watchdog/digicolor_wdt.c struct dc_wdt *wdt = watchdog_get_drvdata(wdog); wdog 83 drivers/watchdog/digicolor_wdt.c wdog->timeout = t; wdog 88 drivers/watchdog/digicolor_wdt.c static unsigned int dc_wdt_get_timeleft(struct watchdog_device *wdog) wdog 90 drivers/watchdog/digicolor_wdt.c struct dc_wdt *wdt = watchdog_get_drvdata(wdog); wdog 66 drivers/watchdog/imx2_wdt.c struct watchdog_device wdog; wdog 92 drivers/watchdog/imx2_wdt.c static int imx2_wdt_restart(struct watchdog_device *wdog, unsigned long action, wdog 95 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 122 drivers/watchdog/imx2_wdt.c static inline void imx2_wdt_setup(struct watchdog_device *wdog) wdog 124 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 142 drivers/watchdog/imx2_wdt.c val |= WDOG_SEC_TO_COUNT(wdog->timeout); wdog 160 drivers/watchdog/imx2_wdt.c static int imx2_wdt_ping(struct watchdog_device *wdog) wdog 162 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 169 drivers/watchdog/imx2_wdt.c static void __imx2_wdt_set_timeout(struct watchdog_device *wdog, wdog 172 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 178 drivers/watchdog/imx2_wdt.c static int imx2_wdt_set_timeout(struct watchdog_device *wdog, wdog 184 drivers/watchdog/imx2_wdt.c __imx2_wdt_set_timeout(wdog, actual); wdog 185 drivers/watchdog/imx2_wdt.c wdog->timeout = new_timeout; wdog 189 drivers/watchdog/imx2_wdt.c static int imx2_wdt_set_pretimeout(struct watchdog_device *wdog, wdog 192 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 197 drivers/watchdog/imx2_wdt.c wdog->pretimeout = new_pretimeout; wdog 207 drivers/watchdog/imx2_wdt.c struct watchdog_device *wdog = wdog_arg; wdog 208 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 213 drivers/watchdog/imx2_wdt.c watchdog_notify_pretimeout(wdog); wdog 218 drivers/watchdog/imx2_wdt.c static int imx2_wdt_start(struct watchdog_device *wdog) wdog 220 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 223 drivers/watchdog/imx2_wdt.c imx2_wdt_set_timeout(wdog, wdog->timeout); wdog 225 drivers/watchdog/imx2_wdt.c imx2_wdt_setup(wdog); wdog 227 drivers/watchdog/imx2_wdt.c set_bit(WDOG_HW_RUNNING, &wdog->status); wdog 229 drivers/watchdog/imx2_wdt.c return imx2_wdt_ping(wdog); wdog 251 drivers/watchdog/imx2_wdt.c struct watchdog_device *wdog; wdog 277 drivers/watchdog/imx2_wdt.c wdog = &wdev->wdog; wdog 278 drivers/watchdog/imx2_wdt.c wdog->info = &imx2_wdt_info; wdog 279 drivers/watchdog/imx2_wdt.c wdog->ops = &imx2_wdt_ops; wdog 280 drivers/watchdog/imx2_wdt.c wdog->min_timeout = 1; wdog 281 drivers/watchdog/imx2_wdt.c wdog->timeout = IMX2_WDT_DEFAULT_TIME; wdog 282 drivers/watchdog/imx2_wdt.c wdog->max_hw_heartbeat_ms = IMX2_WDT_MAX_TIME * 1000; wdog 283 drivers/watchdog/imx2_wdt.c wdog->parent = &pdev->dev; wdog 288 drivers/watchdog/imx2_wdt.c dev_name(&pdev->dev), wdog)) wdog 289 drivers/watchdog/imx2_wdt.c wdog->info = &imx2_wdt_pretimeout_info; wdog 296 drivers/watchdog/imx2_wdt.c wdog->bootstatus = val & IMX2_WDT_WRSR_TOUT ? WDIOF_CARDRESET : 0; wdog 300 drivers/watchdog/imx2_wdt.c platform_set_drvdata(pdev, wdog); wdog 301 drivers/watchdog/imx2_wdt.c watchdog_set_drvdata(wdog, wdev); wdog 302 drivers/watchdog/imx2_wdt.c watchdog_set_nowayout(wdog, nowayout); wdog 303 drivers/watchdog/imx2_wdt.c watchdog_set_restart_priority(wdog, 128); wdog 304 drivers/watchdog/imx2_wdt.c watchdog_init_timeout(wdog, timeout, &pdev->dev); wdog 307 drivers/watchdog/imx2_wdt.c imx2_wdt_set_timeout(wdog, wdog->timeout); wdog 308 drivers/watchdog/imx2_wdt.c set_bit(WDOG_HW_RUNNING, &wdog->status); wdog 318 drivers/watchdog/imx2_wdt.c ret = watchdog_register_device(wdog); wdog 323 drivers/watchdog/imx2_wdt.c wdog->timeout, nowayout); wdog 334 drivers/watchdog/imx2_wdt.c struct watchdog_device *wdog = platform_get_drvdata(pdev); wdog 335 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 337 drivers/watchdog/imx2_wdt.c watchdog_unregister_device(wdog); wdog 340 drivers/watchdog/imx2_wdt.c imx2_wdt_ping(wdog); wdog 348 drivers/watchdog/imx2_wdt.c struct watchdog_device *wdog = platform_get_drvdata(pdev); wdog 349 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 356 drivers/watchdog/imx2_wdt.c imx2_wdt_set_timeout(wdog, IMX2_WDT_MAX_TIME); wdog 357 drivers/watchdog/imx2_wdt.c imx2_wdt_ping(wdog); wdog 366 drivers/watchdog/imx2_wdt.c struct watchdog_device *wdog = dev_get_drvdata(dev); wdog 367 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 375 drivers/watchdog/imx2_wdt.c __imx2_wdt_set_timeout(wdog, IMX2_WDT_MAX_TIME); wdog 376 drivers/watchdog/imx2_wdt.c imx2_wdt_ping(wdog); wdog 387 drivers/watchdog/imx2_wdt.c struct watchdog_device *wdog = dev_get_drvdata(dev); wdog 388 drivers/watchdog/imx2_wdt.c struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); wdog 395 drivers/watchdog/imx2_wdt.c if (watchdog_active(wdog) && !imx2_wdt_is_running(wdev)) { wdog 401 drivers/watchdog/imx2_wdt.c imx2_wdt_setup(wdog); wdog 404 drivers/watchdog/imx2_wdt.c imx2_wdt_set_timeout(wdog, wdog->timeout); wdog 405 drivers/watchdog/imx2_wdt.c imx2_wdt_ping(wdog); wdog 68 drivers/watchdog/imx7ulp_wdt.c static int imx7ulp_wdt_ping(struct watchdog_device *wdog) wdog 70 drivers/watchdog/imx7ulp_wdt.c struct imx7ulp_wdt_device *wdt = watchdog_get_drvdata(wdog); wdog 77 drivers/watchdog/imx7ulp_wdt.c static int imx7ulp_wdt_start(struct watchdog_device *wdog) wdog 79 drivers/watchdog/imx7ulp_wdt.c struct imx7ulp_wdt_device *wdt = watchdog_get_drvdata(wdog); wdog 86 drivers/watchdog/imx7ulp_wdt.c static int imx7ulp_wdt_stop(struct watchdog_device *wdog) wdog 88 drivers/watchdog/imx7ulp_wdt.c struct imx7ulp_wdt_device *wdt = watchdog_get_drvdata(wdog); wdog 95 drivers/watchdog/imx7ulp_wdt.c static int imx7ulp_wdt_set_timeout(struct watchdog_device *wdog, wdog 98 drivers/watchdog/imx7ulp_wdt.c struct imx7ulp_wdt_device *wdt = watchdog_get_drvdata(wdog); wdog 104 drivers/watchdog/imx7ulp_wdt.c wdog->timeout = timeout; wdog 109 drivers/watchdog/imx7ulp_wdt.c static int imx7ulp_wdt_restart(struct watchdog_device *wdog, wdog 112 drivers/watchdog/imx7ulp_wdt.c struct imx7ulp_wdt_device *wdt = watchdog_get_drvdata(wdog); wdog 163 drivers/watchdog/imx7ulp_wdt.c struct watchdog_device *wdog; wdog 190 drivers/watchdog/imx7ulp_wdt.c wdog = &imx7ulp_wdt->wdd; wdog 191 drivers/watchdog/imx7ulp_wdt.c wdog->info = &imx7ulp_wdt_info; wdog 192 drivers/watchdog/imx7ulp_wdt.c wdog->ops = &imx7ulp_wdt_ops; wdog 193 drivers/watchdog/imx7ulp_wdt.c wdog->min_timeout = 1; wdog 194 drivers/watchdog/imx7ulp_wdt.c wdog->max_timeout = MAX_TIMEOUT; wdog 195 drivers/watchdog/imx7ulp_wdt.c wdog->parent = dev; wdog 196 drivers/watchdog/imx7ulp_wdt.c wdog->timeout = DEFAULT_TIMEOUT; wdog 198 drivers/watchdog/imx7ulp_wdt.c watchdog_init_timeout(wdog, 0, dev); wdog 199 drivers/watchdog/imx7ulp_wdt.c watchdog_stop_on_reboot(wdog); wdog 200 drivers/watchdog/imx7ulp_wdt.c watchdog_stop_on_unregister(wdog); wdog 201 drivers/watchdog/imx7ulp_wdt.c watchdog_set_drvdata(wdog, imx7ulp_wdt); wdog 202 drivers/watchdog/imx7ulp_wdt.c imx7ulp_wdt_init(imx7ulp_wdt->base, wdog->timeout * WDOG_CLOCK_RATE); wdog 204 drivers/watchdog/imx7ulp_wdt.c return devm_watchdog_register_device(dev, wdog); wdog 50 drivers/watchdog/imx_sc_wdt.c static int imx_sc_wdt_ping(struct watchdog_device *wdog) wdog 60 drivers/watchdog/imx_sc_wdt.c static int imx_sc_wdt_start(struct watchdog_device *wdog) wdog 75 drivers/watchdog/imx_sc_wdt.c static int imx_sc_wdt_stop(struct watchdog_device *wdog) wdog 85 drivers/watchdog/imx_sc_wdt.c static int imx_sc_wdt_set_timeout(struct watchdog_device *wdog, wdog 90 drivers/watchdog/imx_sc_wdt.c wdog->timeout = timeout; wdog 97 drivers/watchdog/imx_sc_wdt.c static int imx_sc_wdt_set_pretimeout(struct watchdog_device *wdog, wdog 108 drivers/watchdog/imx_sc_wdt.c (wdog->timeout - pretimeout) * 1000, 0, 0, 0, wdog 113 drivers/watchdog/imx_sc_wdt.c wdog->pretimeout = pretimeout; wdog 161 drivers/watchdog/imx_sc_wdt.c struct watchdog_device *wdog; wdog 171 drivers/watchdog/imx_sc_wdt.c wdog = &imx_sc_wdd->wdd; wdog 172 drivers/watchdog/imx_sc_wdt.c wdog->info = &imx_sc_wdt_info; wdog 173 drivers/watchdog/imx_sc_wdt.c wdog->ops = &imx_sc_wdt_ops; wdog 174 drivers/watchdog/imx_sc_wdt.c wdog->min_timeout = 1; wdog 175 drivers/watchdog/imx_sc_wdt.c wdog->max_timeout = MAX_TIMEOUT; wdog 176 drivers/watchdog/imx_sc_wdt.c wdog->parent = dev; wdog 177 drivers/watchdog/imx_sc_wdt.c wdog->timeout = DEFAULT_TIMEOUT; wdog 179 drivers/watchdog/imx_sc_wdt.c watchdog_init_timeout(wdog, 0, dev); wdog 181 drivers/watchdog/imx_sc_wdt.c ret = imx_sc_wdt_set_timeout(wdog, wdog->timeout); wdog 185 drivers/watchdog/imx_sc_wdt.c watchdog_stop_on_reboot(wdog); wdog 186 drivers/watchdog/imx_sc_wdt.c watchdog_stop_on_unregister(wdog); wdog 188 drivers/watchdog/imx_sc_wdt.c ret = devm_watchdog_register_device(dev, wdog); wdog 402 drivers/watchdog/octeon-wdt-main.c static int octeon_wdt_ping(struct watchdog_device __always_unused *wdog) wdog 452 drivers/watchdog/octeon-wdt-main.c static int octeon_wdt_set_timeout(struct watchdog_device *wdog, wdog 478 drivers/watchdog/octeon-wdt-main.c octeon_wdt_ping(wdog); /* Get the irqs back on. */ wdog 482 drivers/watchdog/octeon-wdt-main.c static int octeon_wdt_start(struct watchdog_device *wdog) wdog 484 drivers/watchdog/octeon-wdt-main.c octeon_wdt_ping(wdog); wdog 489 drivers/watchdog/octeon-wdt-main.c static int octeon_wdt_stop(struct watchdog_device *wdog) wdog 492 drivers/watchdog/octeon-wdt-main.c octeon_wdt_ping(wdog); wdog 55 drivers/watchdog/omap_wdt.c #define to_omap_wdt_dev(_wdog) container_of(_wdog, struct omap_wdt_dev, wdog) wdog 63 drivers/watchdog/omap_wdt.c struct watchdog_device wdog; wdog 131 drivers/watchdog/omap_wdt.c static int omap_wdt_start(struct watchdog_device *wdog) wdog 133 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdog 157 drivers/watchdog/omap_wdt.c omap_wdt_set_timer(wdev, wdog->timeout); wdog 166 drivers/watchdog/omap_wdt.c static int omap_wdt_stop(struct watchdog_device *wdog) wdog 168 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdog 178 drivers/watchdog/omap_wdt.c static int omap_wdt_ping(struct watchdog_device *wdog) wdog 180 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdog 189 drivers/watchdog/omap_wdt.c static int omap_wdt_set_timeout(struct watchdog_device *wdog, wdog 192 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdog 199 drivers/watchdog/omap_wdt.c wdog->timeout = timeout; wdog 205 drivers/watchdog/omap_wdt.c static unsigned int omap_wdt_get_timeleft(struct watchdog_device *wdog) wdog 207 drivers/watchdog/omap_wdt.c struct omap_wdt_dev *wdev = to_omap_wdt_dev(wdog); wdog 249 drivers/watchdog/omap_wdt.c wdev->wdog.info = &omap_wdt_info; wdog 250 drivers/watchdog/omap_wdt.c wdev->wdog.ops = &omap_wdt_ops; wdog 251 drivers/watchdog/omap_wdt.c wdev->wdog.min_timeout = TIMER_MARGIN_MIN; wdog 252 drivers/watchdog/omap_wdt.c wdev->wdog.max_timeout = TIMER_MARGIN_MAX; wdog 253 drivers/watchdog/omap_wdt.c wdev->wdog.timeout = TIMER_MARGIN_DEFAULT; wdog 254 drivers/watchdog/omap_wdt.c wdev->wdog.parent = &pdev->dev; wdog 256 drivers/watchdog/omap_wdt.c watchdog_init_timeout(&wdev->wdog, timer_margin, &pdev->dev); wdog 258 drivers/watchdog/omap_wdt.c watchdog_set_nowayout(&wdev->wdog, nowayout); wdog 268 drivers/watchdog/omap_wdt.c wdev->wdog.bootstatus = WDIOF_CARDRESET; wdog 274 drivers/watchdog/omap_wdt.c ret = watchdog_register_device(&wdev->wdog); wdog 282 drivers/watchdog/omap_wdt.c wdev->wdog.timeout); wdog 285 drivers/watchdog/omap_wdt.c omap_wdt_start(&wdev->wdog); wdog 309 drivers/watchdog/omap_wdt.c watchdog_unregister_device(&wdev->wdog); wdog 54 drivers/watchdog/retu_wdt.c static int retu_wdt_start(struct watchdog_device *wdog) wdog 56 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdog 60 drivers/watchdog/retu_wdt.c return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); wdog 63 drivers/watchdog/retu_wdt.c static int retu_wdt_stop(struct watchdog_device *wdog) wdog 65 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdog 72 drivers/watchdog/retu_wdt.c static int retu_wdt_ping(struct watchdog_device *wdog) wdog 74 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdog 76 drivers/watchdog/retu_wdt.c return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); wdog 79 drivers/watchdog/retu_wdt.c static int retu_wdt_set_timeout(struct watchdog_device *wdog, wdog 82 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdog 84 drivers/watchdog/retu_wdt.c wdog->timeout = timeout; wdog 85 drivers/watchdog/retu_wdt.c return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); wdog 148 drivers/watchdog/retu_wdt.c struct watchdog_device *wdog = platform_get_drvdata(pdev); wdog 149 drivers/watchdog/retu_wdt.c struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); wdog 151 drivers/watchdog/retu_wdt.c watchdog_unregister_device(wdog); wdog 70 drivers/watchdog/sb_wdog.c static void sbwdog_set(char __iomem *wdog, unsigned long t) wdog 73 drivers/watchdog/sb_wdog.c __raw_writeb(0, wdog); wdog 74 drivers/watchdog/sb_wdog.c __raw_writeq(t & 0x7fffffUL, wdog - 0x10); wdog 84 drivers/watchdog/sb_wdog.c static void sbwdog_pet(char __iomem *wdog) wdog 87 drivers/watchdog/sb_wdog.c __raw_writeb(__raw_readb(wdog) | 1, wdog); wdog 149 drivers/watchdog/w83627hf_wdt.c static int w83627hf_init(struct watchdog_device *wdog, enum chips chip) wdog 236 drivers/watchdog/w83627hf_wdt.c wdog->timeout); wdog 237 drivers/watchdog/w83627hf_wdt.c superio_outb(cr_wdt_timeout, wdog->timeout); wdog 269 drivers/watchdog/w83627hf_wdt.c static int wdt_start(struct watchdog_device *wdog) wdog 271 drivers/watchdog/w83627hf_wdt.c return wdt_set_time(wdog->timeout); wdog 274 drivers/watchdog/w83627hf_wdt.c static int wdt_stop(struct watchdog_device *wdog) wdog 279 drivers/watchdog/w83627hf_wdt.c static int wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) wdog 281 drivers/watchdog/w83627hf_wdt.c wdog->timeout = timeout; wdog 286 drivers/watchdog/w83627hf_wdt.c static unsigned int wdt_get_time(struct watchdog_device *wdog)