Searched refs:gpt_wdt (Results 1 – 1 of 1) sorted by relevance
524 static inline void mpc52xx_gpt_wdt_ping(struct mpc52xx_gpt_priv *gpt_wdt) in mpc52xx_gpt_wdt_ping() argument528 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() local538 mpc52xx_gpt_wdt_ping(gpt_wdt); in mpc52xx_wdt_write()550 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_ioctl() local570 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 …]