Searched refs:TIMER_REG_TMR1CTL (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/watchdog/ |
H A D | rt2880_wdt.c | 29 #define TIMER_REG_TMR1CTL 0x08 macro 81 t = rt_wdt_r32(drvdata->base, TIMER_REG_TMR1CTL); in rt288x_wdt_start() 86 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in rt288x_wdt_start() 90 t = rt_wdt_r32(drvdata->base, TIMER_REG_TMR1CTL); in rt288x_wdt_start() 92 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in rt288x_wdt_start() 104 t = rt_wdt_r32(drvdata->base, TIMER_REG_TMR1CTL); in rt288x_wdt_stop() 106 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in rt288x_wdt_stop()
|
H A D | mt7621_wdt.c | 28 #define TIMER_REG_TMR1CTL 0x20 macro 83 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, 1000 << TMR1CTL_PRESCALE_SHIFT); in mt7621_wdt_start() 87 t = rt_wdt_r32(drvdata->base, TIMER_REG_TMR1CTL); in mt7621_wdt_start() 89 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in mt7621_wdt_start() 101 t = rt_wdt_r32(drvdata->base, TIMER_REG_TMR1CTL); in mt7621_wdt_stop() 103 rt_wdt_w32(drvdata->base, TIMER_REG_TMR1CTL, t); in mt7621_wdt_stop() 123 return !!(rt_wdt_r32(drvdata->base, TIMER_REG_TMR1CTL) & TMR1CTL_ENABLE); in mt7621_wdt_is_running()
|