Home
last modified time | relevance | path

Searched refs:WTCNT (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/sh/include/cpu-sh4/cpu/
H A Dwatchdog.h18 #define WTCNT 0xffcc0000 /*WDTST*/ macro
19 #define WTST WTCNT
25 #define WTCNT 0xa4520000 macro
29 #define WTCNT 0xffc00008 macro
/kernel/linux/linux-6.6/arch/sh/include/cpu-sh4/cpu/
H A Dwatchdog.h18 #define WTCNT 0xffcc0000 /*WDTST*/ macro
19 #define WTST WTCNT
25 #define WTCNT 0xa4520000 macro
29 #define WTCNT 0xffc00008 macro
/kernel/linux/linux-5.10/arch/sh/include/asm/
H A Dwatchdog.h28 # define WTCNT_R WTCNT
64 * Reads back the WTCNT value.
80 __raw_writel((WTCNT_HIGH << 24) | (__u32)val, WTCNT); in sh_wdt_write_cnt()
118 * Reads back the WTCNT value.
134 __raw_writew((WTCNT_HIGH << 8) | (__u16)val, WTCNT); in sh_wdt_write_cnt()
/kernel/linux/linux-6.6/arch/sh/include/asm/
H A Dwatchdog.h28 # define WTCNT_R WTCNT
64 * Reads back the WTCNT value.
80 __raw_writel((WTCNT_HIGH << 24) | (__u32)val, WTCNT); in sh_wdt_write_cnt()
118 * Reads back the WTCNT value.
134 __raw_writew((WTCNT_HIGH << 8) | (__u16)val, WTCNT); in sh_wdt_write_cnt()
/kernel/linux/linux-5.10/arch/sh/include/cpu-sh2/cpu/
H A Dwatchdog.h12 * and write the same sizes to WTCNT, now we have to read and write
13 * with different sizes at different addresses for WTCNT _and_ RSTCSR.
19 #define WTCNT 0xfffffe80 macro
23 #define WTCNT_R (WTCNT + 1)
42 * Same read/write brain-damage as for WTCNT here.. in sh_wdt_read_rstcsr()
/kernel/linux/linux-6.6/arch/sh/include/cpu-sh2/cpu/
H A Dwatchdog.h12 * and write the same sizes to WTCNT, now we have to read and write
13 * with different sizes at different addresses for WTCNT _and_ RSTCSR.
19 #define WTCNT 0xfffffe80 macro
23 #define WTCNT_R (WTCNT + 1)
42 * Same read/write brain-damage as for WTCNT here.. in sh_wdt_read_rstcsr()
/kernel/linux/linux-5.10/drivers/watchdog/
H A Drza_wdt.c27 #define WTCNT 2 macro
70 pr_debug("%s: timeout set to %u (WTCNT=%d)\n", __func__, in rza_wdt_calc_timeout()
88 writew(WTCNT_MAGIC | priv->count, priv->base + WTCNT); in rza_wdt_start()
108 writew(WTCNT_MAGIC | priv->count, priv->base + WTCNT); in rza_wdt_ping()
139 writew(WTCNT_MAGIC | 255, priv->base + WTCNT); in rza_wdt_restart()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Drza_wdt.c27 #define WTCNT 2 macro
70 pr_debug("%s: timeout set to %u (WTCNT=%d)\n", __func__, in rza_wdt_calc_timeout()
88 writew(WTCNT_MAGIC | priv->count, priv->base + WTCNT); in rza_wdt_start()
108 writew(WTCNT_MAGIC | priv->count, priv->base + WTCNT); in rza_wdt_ping()
139 writew(WTCNT_MAGIC | 255, priv->base + WTCNT); in rza_wdt_restart()
/kernel/linux/linux-5.10/arch/sh/include/cpu-sh3/cpu/
H A Dwatchdog.h11 #define WTCNT 0xffffff84 macro
/kernel/linux/linux-6.6/arch/sh/include/cpu-sh3/cpu/
H A Dwatchdog.h11 #define WTCNT 0xffffff84 macro

Completed in 3 milliseconds