Searched refs:rt_wdt_w32 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/watchdog/ |
H A D | mt7621_wdt.c | 47 static inline void rt_wdt_w32(void __iomem *base, unsigned int reg, u32 val) in rt_wdt_w32() function 61 rt_wdt_w32(drvdata->base, TIMER_REG_TMRSTAT, TMR1CTL_RESTART); in mt7621_wdt_ping() 71 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1LOAD, t * 1000); in mt7621_wdt_set_timeout() 83 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, 1000 << TMR1CTL_PRESCALE_SHIFT); in mt7621_wdt_start() 89 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in mt7621_wdt_start() 103 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in mt7621_wdt_stop()
|
H A D | rt2880_wdt.c | 57 static inline void rt_wdt_w32(void __iomem *base, unsigned int reg, u32 val) in rt_wdt_w32() function 71 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1LOAD, w->timeout * drvdata->freq); in rt288x_wdt_ping() 86 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in rt288x_wdt_start() 92 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in rt288x_wdt_start() 106 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in rt288x_wdt_stop()
|