Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c527 static inline void mpc52xx_gpt_wdt_ping(struct mpc52xx_gpt_priv *gpt_wdt) in mpc52xx_gpt_wdt_ping() argument
531 raw_spin_lock_irqsave(&gpt_wdt->lock, flags); in mpc52xx_gpt_wdt_ping()
532 out_8((u8 *) &gpt_wdt->regs->mode, MPC52xx_GPT_MODE_WDT_PING); in mpc52xx_gpt_wdt_ping()
533 raw_spin_unlock_irqrestore(&gpt_wdt->lock, flags); in mpc52xx_gpt_wdt_ping()
540 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_write() local
541 mpc52xx_gpt_wdt_ping(gpt_wdt); in mpc52xx_wdt_write()
553 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_ioctl() local
573 mpc52xx_gpt_wdt_ping(gpt_wdt); in mpc52xx_wdt_ioctl()
581 ret = mpc52xx_gpt_do_start(gpt_wdt, real_timeout, 0, 1); in mpc52xx_wdt_ioctl()
594 mpc52xx_gpt_timer_period(gpt_wdt) + 500000000ULL; in mpc52xx_wdt_ioctl()
[all …]