sunxi_wdt 85 drivers/watchdog/sunxi_wdt.c struct sunxi_wdt_dev *sunxi_wdt = watchdog_get_drvdata(wdt_dev); sunxi_wdt 86 drivers/watchdog/sunxi_wdt.c void __iomem *wdt_base = sunxi_wdt->wdt_base; sunxi_wdt 87 drivers/watchdog/sunxi_wdt.c const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt 119 drivers/watchdog/sunxi_wdt.c struct sunxi_wdt_dev *sunxi_wdt = watchdog_get_drvdata(wdt_dev); sunxi_wdt 120 drivers/watchdog/sunxi_wdt.c void __iomem *wdt_base = sunxi_wdt->wdt_base; sunxi_wdt 121 drivers/watchdog/sunxi_wdt.c const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt 131 drivers/watchdog/sunxi_wdt.c struct sunxi_wdt_dev *sunxi_wdt = watchdog_get_drvdata(wdt_dev); sunxi_wdt 132 drivers/watchdog/sunxi_wdt.c void __iomem *wdt_base = sunxi_wdt->wdt_base; sunxi_wdt 133 drivers/watchdog/sunxi_wdt.c const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt 139 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.timeout = timeout; sunxi_wdt 153 drivers/watchdog/sunxi_wdt.c struct sunxi_wdt_dev *sunxi_wdt = watchdog_get_drvdata(wdt_dev); sunxi_wdt 154 drivers/watchdog/sunxi_wdt.c void __iomem *wdt_base = sunxi_wdt->wdt_base; sunxi_wdt 155 drivers/watchdog/sunxi_wdt.c const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt 165 drivers/watchdog/sunxi_wdt.c struct sunxi_wdt_dev *sunxi_wdt = watchdog_get_drvdata(wdt_dev); sunxi_wdt 166 drivers/watchdog/sunxi_wdt.c void __iomem *wdt_base = sunxi_wdt->wdt_base; sunxi_wdt 167 drivers/watchdog/sunxi_wdt.c const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt 170 drivers/watchdog/sunxi_wdt.c ret = sunxi_wdt_set_timeout(&sunxi_wdt->wdt_dev, sunxi_wdt 171 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.timeout); sunxi_wdt 233 drivers/watchdog/sunxi_wdt.c struct sunxi_wdt_dev *sunxi_wdt; sunxi_wdt 236 drivers/watchdog/sunxi_wdt.c sunxi_wdt = devm_kzalloc(dev, sizeof(*sunxi_wdt), GFP_KERNEL); sunxi_wdt 237 drivers/watchdog/sunxi_wdt.c if (!sunxi_wdt) sunxi_wdt 240 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_regs = of_device_get_match_data(dev); sunxi_wdt 241 drivers/watchdog/sunxi_wdt.c if (!sunxi_wdt->wdt_regs) sunxi_wdt 244 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_base = devm_platform_ioremap_resource(pdev, 0); sunxi_wdt 245 drivers/watchdog/sunxi_wdt.c if (IS_ERR(sunxi_wdt->wdt_base)) sunxi_wdt 246 drivers/watchdog/sunxi_wdt.c return PTR_ERR(sunxi_wdt->wdt_base); sunxi_wdt 248 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.info = &sunxi_wdt_info; sunxi_wdt 249 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.ops = &sunxi_wdt_ops; sunxi_wdt 250 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.timeout = WDT_MAX_TIMEOUT; sunxi_wdt 251 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.max_timeout = WDT_MAX_TIMEOUT; sunxi_wdt 252 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.min_timeout = WDT_MIN_TIMEOUT; sunxi_wdt 253 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.parent = dev; sunxi_wdt 255 drivers/watchdog/sunxi_wdt.c watchdog_init_timeout(&sunxi_wdt->wdt_dev, timeout, dev); sunxi_wdt 256 drivers/watchdog/sunxi_wdt.c watchdog_set_nowayout(&sunxi_wdt->wdt_dev, nowayout); sunxi_wdt 257 drivers/watchdog/sunxi_wdt.c watchdog_set_restart_priority(&sunxi_wdt->wdt_dev, 128); sunxi_wdt 259 drivers/watchdog/sunxi_wdt.c watchdog_set_drvdata(&sunxi_wdt->wdt_dev, sunxi_wdt); sunxi_wdt 261 drivers/watchdog/sunxi_wdt.c sunxi_wdt_stop(&sunxi_wdt->wdt_dev); sunxi_wdt 263 drivers/watchdog/sunxi_wdt.c watchdog_stop_on_reboot(&sunxi_wdt->wdt_dev); sunxi_wdt 264 drivers/watchdog/sunxi_wdt.c err = devm_watchdog_register_device(dev, &sunxi_wdt->wdt_dev); sunxi_wdt 269 drivers/watchdog/sunxi_wdt.c sunxi_wdt->wdt_dev.timeout, nowayout);