Lines Matching refs:gms0
47 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()
69 gms0 &= ~(MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE); in wdt_disable()
70 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_disable()
75 unsigned int gms0; in wdt_keepalive() local
77 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_keepalive()
78 gms0 |= MCF_GPT_GMS_OCPW(0xA5); in wdt_keepalive()
79 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_keepalive()