Lines Matching refs:gms0
46 unsigned int gms0; in wdt_enable() local
49 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_enable()
50 if (gms0 & MCF_GPT_GMS_TMS_GPIO) in wdt_enable()
51 gms0 &= (MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_GPIO_MASK in wdt_enable()
54 gms0 = MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_OD; in wdt_enable()
55 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_enable()
58 gms0 |= MCF_GPT_GMS_OCPW(0xA5) | MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE; in wdt_enable()
59 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_enable()
64 unsigned int gms0; in wdt_disable() local
67 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_disable()
68 gms0 &= ~(MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE); in wdt_disable()
69 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_disable()
74 unsigned int gms0; in wdt_keepalive() local
76 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_keepalive()
77 gms0 |= MCF_GPT_GMS_OCPW(0xA5); in wdt_keepalive()
78 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_keepalive()