Lines Matching refs:gms0
45 unsigned int gms0; in wdt_enable() local
48 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_enable()
49 if (gms0 & MCF_GPT_GMS_TMS_GPIO) in wdt_enable()
50 gms0 &= (MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_GPIO_MASK in wdt_enable()
53 gms0 = MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_OD; in wdt_enable()
54 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_enable()
57 gms0 |= MCF_GPT_GMS_OCPW(0xA5) | MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE; in wdt_enable()
58 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_enable()
63 unsigned int gms0; in wdt_disable() local
66 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_disable()
67 gms0 &= ~(MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE); in wdt_disable()
68 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_disable()
73 unsigned int gms0; in wdt_keepalive() local
75 gms0 = __raw_readl(MCF_GPT_GMS0); in wdt_keepalive()
76 gms0 |= MCF_GPT_GMS_OCPW(0xA5); in wdt_keepalive()
77 __raw_writel(gms0, MCF_GPT_GMS0); in wdt_keepalive()