Searched refs:sp_wd (Results 1 – 1 of 1) sorted by relevance
151 struct rave_sp_wdt *sp_wd = in rave_sp_wdt_reboot_notifier() local154 const int ret = sp_wd->variant->restart(&sp_wd->wdd); in rave_sp_wdt_reboot_notifier()157 dev_err(sp_wd->wdd.parent, in rave_sp_wdt_reboot_notifier()257 struct rave_sp_wdt *sp_wd; in rave_sp_wdt_probe() local262 sp_wd = devm_kzalloc(dev, sizeof(*sp_wd), GFP_KERNEL); in rave_sp_wdt_probe()263 if (!sp_wd) in rave_sp_wdt_probe()266 sp_wd->variant = of_device_get_match_data(dev); in rave_sp_wdt_probe()267 sp_wd->sp = dev_get_drvdata(dev->parent); in rave_sp_wdt_probe()269 wdd = &sp_wd->wdd; in rave_sp_wdt_probe()273 wdd->min_timeout = sp_wd->variant->min_timeout; in rave_sp_wdt_probe()[all …]