Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/watchdog/
Dpika_wdt.c53 } pikawdt_private; variable
77 unsigned reset = in_be32(pikawdt_private.fpga + 0x14); in pikawdt_reset()
80 out_be32(pikawdt_private.fpga + 0x14, reset); in pikawdt_reset()
88 if (time_before(jiffies, pikawdt_private.next_heartbeat) || in pikawdt_ping()
89 (!nowayout && !pikawdt_private.open)) { in pikawdt_ping()
91 mod_timer(&pikawdt_private.timer, jiffies + WDT_TIMEOUT); in pikawdt_ping()
99 pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; in pikawdt_keepalive()
105 mod_timer(&pikawdt_private.timer, jiffies + WDT_TIMEOUT); in pikawdt_start()
114 if (test_and_set_bit(0, &pikawdt_private.open)) in pikawdt_open()
128 if (!pikawdt_private.expect_close) in pikawdt_release()
[all …]