Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dmtx-1_wdt.c58 } mtx1_wdt_device; variable
62 spin_lock(&mtx1_wdt_device.lock); in mtx1_wdt_trigger()
63 if (mtx1_wdt_device.running) in mtx1_wdt_trigger()
67 mtx1_wdt_device.gstate = !mtx1_wdt_device.gstate; in mtx1_wdt_trigger()
68 gpiod_set_value(mtx1_wdt_device.gpiod, mtx1_wdt_device.gstate); in mtx1_wdt_trigger()
70 if (mtx1_wdt_device.queue && ticks) in mtx1_wdt_trigger()
71 mod_timer(&mtx1_wdt_device.timer, jiffies + MTX1_WDT_INTERVAL); in mtx1_wdt_trigger()
73 complete(&mtx1_wdt_device.stop); in mtx1_wdt_trigger()
74 spin_unlock(&mtx1_wdt_device.lock); in mtx1_wdt_trigger()
79 ticks = mtx1_wdt_device.default_ticks; in mtx1_wdt_reset()
[all …]