Lines Matching defs:sp_wd
151 struct rave_sp_wdt *sp_wd =
154 const int ret = sp_wd->variant->restart(&sp_wd->wdd);
157 dev_err(sp_wd->wdd.parent,
257 struct rave_sp_wdt *sp_wd;
262 sp_wd = devm_kzalloc(dev, sizeof(*sp_wd), GFP_KERNEL);
263 if (!sp_wd)
266 sp_wd->variant = of_device_get_match_data(dev);
267 sp_wd->sp = dev_get_drvdata(dev->parent);
269 wdd = &sp_wd->wdd;
273 wdd->min_timeout = sp_wd->variant->min_timeout;
274 wdd->max_timeout = sp_wd->variant->max_timeout;
293 sp_wd->reboot_notifier.notifier_call = rave_sp_wdt_reboot_notifier;
294 ret = devm_register_reboot_notifier(dev, &sp_wd->reboot_notifier);