Searched refs:mtx1_wdt_device (Results 1 – 1 of 1) sorted by relevance
69 } mtx1_wdt_device; variable73 spin_lock(&mtx1_wdt_device.lock); in mtx1_wdt_trigger()74 if (mtx1_wdt_device.running) in mtx1_wdt_trigger()78 mtx1_wdt_device.gstate = !mtx1_wdt_device.gstate; in mtx1_wdt_trigger()79 gpio_set_value(mtx1_wdt_device.gpio, mtx1_wdt_device.gstate); in mtx1_wdt_trigger()81 if (mtx1_wdt_device.queue && ticks) in mtx1_wdt_trigger()82 mod_timer(&mtx1_wdt_device.timer, jiffies + MTX1_WDT_INTERVAL); in mtx1_wdt_trigger()84 complete(&mtx1_wdt_device.stop); in mtx1_wdt_trigger()85 spin_unlock(&mtx1_wdt_device.lock); in mtx1_wdt_trigger()90 ticks = mtx1_wdt_device.default_ticks; in mtx1_wdt_reset()[all …]