Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c524 static inline void mpc52xx_gpt_wdt_ping(struct mpc52xx_gpt_priv *gpt_wdt) in mpc52xx_gpt_wdt_ping() argument
528 raw_spin_lock_irqsave(&gpt_wdt->lock, flags); in mpc52xx_gpt_wdt_ping()
529 out_8((u8 *) &gpt_wdt->regs->mode, MPC52xx_GPT_MODE_WDT_PING); in mpc52xx_gpt_wdt_ping()
530 raw_spin_unlock_irqrestore(&gpt_wdt->lock, flags); in mpc52xx_gpt_wdt_ping()
537 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_write() local
538 mpc52xx_gpt_wdt_ping(gpt_wdt); in mpc52xx_wdt_write()
550 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_ioctl() local
570 mpc52xx_gpt_wdt_ping(gpt_wdt); in mpc52xx_wdt_ioctl()
578 ret = mpc52xx_gpt_do_start(gpt_wdt, real_timeout, 0, 1); in mpc52xx_wdt_ioctl()
592 mpc52xx_gpt_timer_period(gpt_wdt) + 500000000ULL; in mpc52xx_wdt_ioctl()
[all …]