Home
last modified time | relevance | path

Searched refs:wdt_type (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/watchdog/
H A Dmpc8xxx_wdt.c133 const struct mpc8xxx_wdt_type *wdt_type; in mpc8xxx_wdt_probe() local
139 wdt_type = of_device_get_match_data(dev); in mpc8xxx_wdt_probe()
140 if (!wdt_type) in mpc8xxx_wdt_probe()
155 if (!enabled && wdt_type->hw_enabled) { in mpc8xxx_wdt_probe()
168 status = in_be32(rsr) & wdt_type->rsr_mask; in mpc8xxx_wdt_probe()
171 out_be32(rsr, wdt_type->rsr_mask); in mpc8xxx_wdt_probe()
188 ddata->swtc = min(ddata->wdd.timeout * freq / wdt_type->prescaler, in mpc8xxx_wdt_probe()
199 ddata->wdd.max_hw_heartbeat_ms = (ddata->swtc * wdt_type->prescaler) / in mpc8xxx_wdt_probe()
H A Dmlx_wdt.c53 enum mlxreg_wdt_type wdt_type; member
114 switch (wdt->wdt_type) { in mlxreg_wdt_set_timeout()
172 if (wdt->wdt_type == MLX_WDT_TYPE2) { in mlxreg_wdt_get_timeleft()
248 wdt->wdt_type = pdata->version; in mlxreg_wdt_config()
249 switch (wdt->wdt_type) { in mlxreg_wdt_config()