Home
last modified time | relevance | path

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

/external/u-boot/arch/m68k/cpu/mcf532x/
Dcpu.c104 wdog_t *wdp = (wdog_t *) (MMAP_WDOG); in watchdog_reset() local
107 out_be16(&wdp->sr, 0x5555); in watchdog_reset()
108 out_be16(&wdp->sr, 0xaaaa); in watchdog_reset()
113 wdog_t *wdp = (wdog_t *) (MMAP_WDOG); in watchdog_disable() local
117 setbits_be16(&wdp->cr, WTM_WCR_HALTED); in watchdog_disable()
125 wdog_t *wdp = (wdog_t *) (MMAP_WDOG); in watchdog_init() local
131 out_be16(&wdp->mr, wdog_module / 8192); in watchdog_init()
133 out_be16(&wdp->mr, wdog_module / 4096); in watchdog_init()
136 out_be16(&wdp->cr, WTM_WCR_EN); in watchdog_init()
/external/u-boot/arch/m68k/cpu/mcf523x/
Dcpu.c65 wdog_t *wdp = (wdog_t *) (MMAP_WDOG); in watchdog_reset() local
68 out_be16(&wdp->sr, 0x5555); in watchdog_reset()
70 out_be16(&wdp->sr, 0xaaaa); in watchdog_reset()
75 wdog_t *wdp = (wdog_t *) (MMAP_WDOG); in watchdog_disable() local
79 setbits_be16(&wdp->cr, WTM_WCR_HALTED); in watchdog_disable()
87 wdog_t *wdp = (wdog_t *) (MMAP_WDOG); in watchdog_init() local
93 out_be16(&wdp->mr, wdog_module); in watchdog_init()
95 out_be16(&wdp->cr, WTM_WCR_EN); in watchdog_init()
/external/u-boot/arch/m68k/cpu/mcf52x2/
Dcpu.c177 wdog_t *wdp = (wdog_t *) (MMAP_WDOG); in do_reset() local
179 out_be16(&wdp->wdog_wrrr, 0); in do_reset()
183 out_be16(&wdp->wdog_wrrr, 1); in do_reset()