Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/watchdog/
Dm54xx_wdt.c47 unsigned int gms0; in wdt_enable() local
50 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_enable()
51 if (gms0 & MCF_GPT_GMS_TMS_GPIO) in wdt_enable()
52 gms0 &= (MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_GPIO_MASK in wdt_enable()
55 gms0 = MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_OD; in wdt_enable()
56 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_enable()
59 gms0 |= MCF_GPT_GMS_OCPW(0xA5) | MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE; in wdt_enable()
60 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_enable()
65 unsigned int gms0; in wdt_disable() local
68 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_disable()
[all …]