Searched refs:wdt_type (Results 1 – 2 of 2) sorted by relevance
131 const struct mpc8xxx_wdt_type *wdt_type; in mpc8xxx_wdt_probe() local137 wdt_type = of_device_get_match_data(dev); in mpc8xxx_wdt_probe()138 if (!wdt_type) in mpc8xxx_wdt_probe()153 if (!enabled && wdt_type->hw_enabled) { in mpc8xxx_wdt_probe()166 status = in_be32(rsr) & wdt_type->rsr_mask; in mpc8xxx_wdt_probe()169 out_be32(rsr, wdt_type->rsr_mask); in mpc8xxx_wdt_probe()186 ddata->swtc = min(ddata->wdd.timeout * freq / wdt_type->prescaler, in mpc8xxx_wdt_probe()197 ddata->wdd.max_hw_heartbeat_ms = (ddata->swtc * wdt_type->prescaler) / in mpc8xxx_wdt_probe()
54 enum mlxreg_wdt_type wdt_type; member115 switch (wdt->wdt_type) { in mlxreg_wdt_set_timeout()173 if (wdt->wdt_type == MLX_WDT_TYPE2) { in mlxreg_wdt_get_timeleft()249 wdt->wdt_type = pdata->version; in mlxreg_wdt_config()250 switch (wdt->wdt_type) { in mlxreg_wdt_config()