Searched refs:mtx1_wdt_device (Results 1 – 1 of 1) sorted by relevance
58 } mtx1_wdt_device; variable62 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 …]