Home
last modified time | relevance | path

Searched refs:wdog (Results 1 – 25 of 41) sorted by relevance

12

/u-boot/drivers/watchdog/
A Dulp_wdog.c48 writel(val, &wdog->toval); in hw_watchdog_set_timeout()
55 writel(REFRESH_WORD0, &wdog->cnt); in hw_watchdog_reset()
56 writel(REFRESH_WORD1, &wdog->cnt); in hw_watchdog_reset()
64 writel(UNLOCK_WORD0, &wdog->cnt); in hw_watchdog_init()
65 writel(UNLOCK_WORD1, &wdog->cnt); in hw_watchdog_init()
67 val = readb(&wdog->cs2); in hw_watchdog_init()
69 writeb(val, &wdog->cs2); in hw_watchdog_init()
72 writel(0, &wdog->win); in hw_watchdog_init()
84 writel(UNLOCK_WORD0, &wdog->cnt); in reset_cpu()
85 writel(UNLOCK_WORD1, &wdog->cnt); in reset_cpu()
[all …]
A Dimx_watchdog.c34 writew(wcr, &wdog->wcr); in imx_watchdog_expire_now()
35 writew(wcr, &wdog->wcr); in imx_watchdog_expire_now()
36 writew(wcr, &wdog->wcr); in imx_watchdog_expire_now()
51 imx_watchdog_expire_now(wdog, true); in reset_cpu()
56 static void imx_watchdog_reset(struct watchdog_regs *wdog) in imx_watchdog_reset() argument
59 writew(0x5555, &wdog->wsr); in imx_watchdog_reset()
60 writew(0xaaaa, &wdog->wsr); in imx_watchdog_reset()
90 writew(wcr, &wdog->wcr); in imx_watchdog_init()
91 imx_watchdog_reset(wdog); in imx_watchdog_init()
99 imx_watchdog_reset(wdog); in hw_watchdog_reset()
[all …]
/u-boot/arch/arm/mach-sunxi/
A Dboard.c344 static const struct sunxi_wdog *wdog = in reset_cpu() local
345 &((struct sunxi_timer_reg *)SUNXI_TIMER_BASE)->wdog; in reset_cpu()
348 writel(WDT_MODE_RESET_EN | WDT_MODE_EN, &wdog->mode); in reset_cpu()
349 writel(WDT_CTRL_KEY | WDT_CTRL_RESTART, &wdog->ctl); in reset_cpu()
353 writel(WDT_MODE_RESET_EN | WDT_MODE_EN, &wdog->mode); in reset_cpu()
358 static const struct sunxi_wdog *wdog = in reset_cpu()
361 static const struct sunxi_wdog *wdog = in reset_cpu()
362 ((struct sunxi_timer_reg *)SUNXI_TIMER_BASE)->wdog; in reset_cpu()
365 writel(WDT_CFG_RESET, &wdog->cfg); in reset_cpu()
366 writel(WDT_MODE_EN, &wdog->mode); in reset_cpu()
[all …]
/u-boot/board/warp7/
A Dwarp7.c136 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_late_init() local
144 set_wdog_reset(wdog); in board_late_init()
150 clrsetbits_le16(&wdog->wcr, 0, 0x10); in board_late_init()
/u-boot/board/google/imx8mq_phanbell/
A Dimx8mq_phanbell.c42 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
45 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/freescale/imx8mq_evk/
A Dimx8mq_evk.c47 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
50 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/freescale/imx8mn_evk/
A Dspl.c79 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
83 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/arch/arm/include/asm/arch-sunxi/
A Dtimer.h70 struct sunxi_wdog wdog; /* 0x90 */ member
81 struct sunxi_wdog wdog[5]; /* We have 5 watchdogs */ member
/u-boot/board/beacon/imx8mn/
A Dspl.c90 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
96 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/phytec/phycore_imx8mm/
A Dspl.c81 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
85 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/freescale/imx8mp_evk/
A Dimx8mp_evk.c37 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
41 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/beacon/imx8mm/
A Dspl.c76 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
80 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/phytec/phycore_imx8mp/
A Dspl.c93 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
97 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/arch/arm/include/asm/arch-mx7/
A Dsys_proto.h10 void set_wdog_reset(struct wdog_regs *wdog);
/u-boot/board/freescale/imx8mm_evk/
A Dspl.c81 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
85 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/technexion/pico-imx8mq/
A Dpico-imx8mq.c45 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
48 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/technexion/pico-imx7d/
A Dpico-imx7d.c207 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_late_init() local
211 set_wdog_reset(wdog); in board_late_init()
217 clrsetbits_le16(&wdog->wcr, 0, 0x10); in board_late_init()
/u-boot/arch/arm/mach-imx/mx7/
A Dsoc.c388 void set_wdog_reset(struct wdog_regs *wdog) in set_wdog_reset() argument
390 u32 reg = readw(&wdog->wcr); in set_wdog_reset()
396 reg = readw(&wdog->wcr); in set_wdog_reset()
403 writew(reg, &wdog->wcr); in set_wdog_reset()
/u-boot/drivers/mmc/
A Ddavinci_mmc.c80 uint wdog = WATCHDOG_COUNT; local
82 while (--wdog && ((get_val(&regs->mmcst1) & status) != status))
88 if (wdog == 0)
97 uint wdog = WATCHDOG_COUNT; local
99 while (--wdog && (get_val(&regs->mmcst1) & MMCST1_BUSY))
102 if (wdog == 0)
112 uint wdog = WATCHDOG_COUNT; local
115 while (wdog--) {
/u-boot/arch/arm/include/asm/arch-imx8m/
A Dsys_proto.h11 void set_wdog_reset(struct wdog_regs *wdog);
/u-boot/board/toradex/verdin-imx8mm/
A Dspl.c93 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
97 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/arch/arm/mach-bcm283x/include/mach/
A Dwdog.h18 u32 wdog; member
/u-boot/board/gateworks/venice/
A Dspl.c74 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_early_init_f() local
78 set_wdog_reset(wdog); in board_early_init_f()
/u-boot/board/compulab/cl-som-imx7/
A Dcl-som-imx7.c305 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in cl_som_imx7_setup_wdog() local
308 set_wdog_reset(wdog); in cl_som_imx7_setup_wdog()
313 clrsetbits_le16(&wdog->wcr, 0, 0x10); in cl_som_imx7_setup_wdog()
/u-boot/board/freescale/mx7dsabresd/
A Dmx7dsabresd.c294 struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR; in board_late_init() local
298 set_wdog_reset(wdog); in board_late_init()
304 clrsetbits_le16(&wdog->wcr, 0, 0x10); in board_late_init()

Completed in 22 milliseconds

12