Lines Matching refs:ls1x_wdt
91 struct watchdog_device *ls1x_wdt; in ls1x_wdt_probe() local
122 ls1x_wdt = &drvdata->wdt; in ls1x_wdt_probe()
123 ls1x_wdt->info = &ls1x_wdt_info; in ls1x_wdt_probe()
124 ls1x_wdt->ops = &ls1x_wdt_ops; in ls1x_wdt_probe()
125 ls1x_wdt->timeout = DEFAULT_HEARTBEAT; in ls1x_wdt_probe()
126 ls1x_wdt->min_timeout = 1; in ls1x_wdt_probe()
127 ls1x_wdt->max_hw_heartbeat_ms = U32_MAX / clk_rate * 1000; in ls1x_wdt_probe()
128 ls1x_wdt->parent = dev; in ls1x_wdt_probe()
130 watchdog_init_timeout(ls1x_wdt, heartbeat, dev); in ls1x_wdt_probe()
131 watchdog_set_nowayout(ls1x_wdt, nowayout); in ls1x_wdt_probe()
132 watchdog_set_drvdata(ls1x_wdt, drvdata); in ls1x_wdt_probe()