Home
last modified time | relevance | path

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

/drivers/watchdog/
Dkempld_wdt.c104 static int kempld_wdt_set_stage_action(struct kempld_wdt_data *wdt_data, in kempld_wdt_set_stage_action() argument
108 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_action()
130 static int kempld_wdt_set_stage_timeout(struct kempld_wdt_data *wdt_data, in kempld_wdt_set_stage_timeout() argument
134 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_timeout()
171 static unsigned int kempld_wdt_get_timeout(struct kempld_wdt_data *wdt_data, in kempld_wdt_get_timeout() argument
174 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_get_timeout()
202 struct kempld_wdt_data *wdt_data = watchdog_get_drvdata(wdd); in kempld_wdt_set_timeout() local
207 timeout_stage = &wdt_data->stage[STAGE_TIMEOUT]; in kempld_wdt_set_timeout()
208 pretimeout_stage = &wdt_data->stage[STAGE_PRETIMEOUT]; in kempld_wdt_set_timeout()
210 if (pretimeout_stage->mask && wdt_data->pretimeout > 0) in kempld_wdt_set_timeout()
[all …]
Dmtk_wdt.c251 const struct mtk_wdt_data *wdt_data; in mtk_wdt_probe() local
287 wdt_data = of_device_get_match_data(dev); in mtk_wdt_probe()
288 if (wdt_data) { in mtk_wdt_probe()
290 wdt_data->toprgu_sw_rst_num); in mtk_wdt_probe()