pikawdt_private 56 drivers/watchdog/pika_wdt.c } pikawdt_private; pikawdt_private 80 drivers/watchdog/pika_wdt.c unsigned reset = in_be32(pikawdt_private.fpga + 0x14); pikawdt_private 83 drivers/watchdog/pika_wdt.c out_be32(pikawdt_private.fpga + 0x14, reset); pikawdt_private 91 drivers/watchdog/pika_wdt.c if (time_before(jiffies, pikawdt_private.next_heartbeat) || pikawdt_private 92 drivers/watchdog/pika_wdt.c (!nowayout && !pikawdt_private.open)) { pikawdt_private 94 drivers/watchdog/pika_wdt.c mod_timer(&pikawdt_private.timer, jiffies + WDT_TIMEOUT); pikawdt_private 102 drivers/watchdog/pika_wdt.c pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; pikawdt_private 108 drivers/watchdog/pika_wdt.c mod_timer(&pikawdt_private.timer, jiffies + WDT_TIMEOUT); pikawdt_private 117 drivers/watchdog/pika_wdt.c if (test_and_set_bit(0, &pikawdt_private.open)) pikawdt_private 131 drivers/watchdog/pika_wdt.c if (!pikawdt_private.expect_close) pikawdt_private 132 drivers/watchdog/pika_wdt.c del_timer(&pikawdt_private.timer); pikawdt_private 134 drivers/watchdog/pika_wdt.c clear_bit(0, &pikawdt_private.open); pikawdt_private 135 drivers/watchdog/pika_wdt.c pikawdt_private.expect_close = 0; pikawdt_private 152 drivers/watchdog/pika_wdt.c pikawdt_private.expect_close = 0; pikawdt_private 159 drivers/watchdog/pika_wdt.c pikawdt_private.expect_close = 42; pikawdt_private 188 drivers/watchdog/pika_wdt.c return put_user(pikawdt_private.bootstatus, p); pikawdt_private 238 drivers/watchdog/pika_wdt.c pikawdt_private.fpga = of_iomap(np, 0); pikawdt_private 240 drivers/watchdog/pika_wdt.c if (pikawdt_private.fpga == NULL) { pikawdt_private 245 drivers/watchdog/pika_wdt.c ident.firmware_version = in_be32(pikawdt_private.fpga + 0x1c) & 0xffff; pikawdt_private 269 drivers/watchdog/pika_wdt.c pikawdt_private.bootstatus = WDIOF_CARDRESET; pikawdt_private 273 drivers/watchdog/pika_wdt.c timer_setup(&pikawdt_private.timer, pikawdt_ping, 0); pikawdt_private 286 drivers/watchdog/pika_wdt.c iounmap(pikawdt_private.fpga); pikawdt_private 294 drivers/watchdog/pika_wdt.c iounmap(pikawdt_private.fpga);