Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c537 static inline void mpc52xx_gpt_wdt_ping(struct mpc52xx_gpt_priv *gpt_wdt) in mpc52xx_gpt_wdt_ping() argument
541 spin_lock_irqsave(&gpt_wdt->lock, flags); in mpc52xx_gpt_wdt_ping()
542 out_8((u8 *) &gpt_wdt->regs->mode, MPC52xx_GPT_MODE_WDT_PING); in mpc52xx_gpt_wdt_ping()
543 spin_unlock_irqrestore(&gpt_wdt->lock, flags); in mpc52xx_gpt_wdt_ping()
550 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_write() local
551 mpc52xx_gpt_wdt_ping(gpt_wdt); in mpc52xx_wdt_write()
563 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_ioctl() local
583 mpc52xx_gpt_wdt_ping(gpt_wdt); in mpc52xx_wdt_ioctl()
591 ret = mpc52xx_gpt_do_start(gpt_wdt, real_timeout, 0, 1); in mpc52xx_wdt_ioctl()
604 mpc52xx_gpt_timer_period(gpt_wdt) + 500000000ULL; in mpc52xx_wdt_ioctl()
[all …]