Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/watchdog/
Dbcm63xx_wdt.c48 } bcm63xx_wdt_device; variable
61 bcm_writel(0xfffffffe, bcm63xx_wdt_device.regs + WDT_DEFVAL_REG); in bcm63xx_wdt_hw_start()
62 bcm_writel(WDT_START_1, bcm63xx_wdt_device.regs + WDT_CTL_REG); in bcm63xx_wdt_hw_start()
63 bcm_writel(WDT_START_2, bcm63xx_wdt_device.regs + WDT_CTL_REG); in bcm63xx_wdt_hw_start()
68 bcm_writel(WDT_STOP_1, bcm63xx_wdt_device.regs + WDT_CTL_REG); in bcm63xx_wdt_hw_stop()
69 bcm_writel(WDT_STOP_2, bcm63xx_wdt_device.regs + WDT_CTL_REG); in bcm63xx_wdt_hw_stop()
81 if (!atomic_dec_and_test(&bcm63xx_wdt_device.ticks)) { in bcm63xx_timer_tick()
83 mod_timer(&bcm63xx_wdt_device.timer, jiffies + HZ); in bcm63xx_timer_tick()
90 atomic_set(&bcm63xx_wdt_device.ticks, wdt_time); in bcm63xx_wdt_pet()
101 del_timer_sync(&bcm63xx_wdt_device.timer); in bcm63xx_wdt_pause()
[all …]
/linux-2.6.39/arch/mips/bcm63xx/
Ddev-wdt.c22 static struct platform_device bcm63xx_wdt_device = { variable
35 return platform_device_register(&bcm63xx_wdt_device); in bcm63xx_wdt_register()