Searched refs:mtx1_wdt_device (Results 1 – 1 of 1) sorted by relevance
60 } mtx1_wdt_device; variable64 spin_lock(&mtx1_wdt_device.lock); in mtx1_wdt_trigger()65 if (mtx1_wdt_device.running) in mtx1_wdt_trigger()69 mtx1_wdt_device.gstate = !mtx1_wdt_device.gstate; in mtx1_wdt_trigger()70 gpiod_set_value(mtx1_wdt_device.gpiod, mtx1_wdt_device.gstate); in mtx1_wdt_trigger()72 if (mtx1_wdt_device.queue && ticks) in mtx1_wdt_trigger()73 mod_timer(&mtx1_wdt_device.timer, jiffies + MTX1_WDT_INTERVAL); in mtx1_wdt_trigger()75 complete(&mtx1_wdt_device.stop); in mtx1_wdt_trigger()76 spin_unlock(&mtx1_wdt_device.lock); in mtx1_wdt_trigger()81 ticks = mtx1_wdt_device.default_ticks; in mtx1_wdt_reset()[all …]