Lines Matching refs:mfpen
53 unsigned long mfpen; in mfp_set_groupf() local
62 mfpen = __raw_readl(REG_MFSEL); in mfp_set_groupf()
65 mfpen |= GPSELF;/*enable mac*/ in mfp_set_groupf()
67 mfpen &= ~GPSELF;/*GPIOF[9:0]*/ in mfp_set_groupf()
69 __raw_writel(mfpen, REG_MFSEL); in mfp_set_groupf()
77 unsigned long mfpen; in mfp_set_groupc() local
86 mfpen = __raw_readl(REG_MFSEL); in mfp_set_groupc()
89 mfpen |= GPSELC;/*enable lcd*/ in mfp_set_groupc()
91 mfpen &= (~GPSELC);/*enable kpi*/ in mfp_set_groupc()
92 mfpen |= ENKPI; in mfp_set_groupc()
94 mfpen &= (~GPSELC);/*enable nand*/ in mfp_set_groupc()
95 mfpen |= ENNAND; in mfp_set_groupc()
97 mfpen &= (~GPSELC);/*GPIOC[14:0]*/ in mfp_set_groupc()
99 __raw_writel(mfpen, REG_MFSEL); in mfp_set_groupc()
107 unsigned long mfpen; in mfp_set_groupi() local
116 mfpen = __raw_readl(REG_MFSEL); in mfp_set_groupi()
118 mfpen &= ~GPSELEI1;/*default gpio16*/ in mfp_set_groupi()
121 mfpen |= GPSELEI1;/*enable wdog*/ in mfp_set_groupi()
123 mfpen |= GPSELEI0;/*enable atapi*/ in mfp_set_groupi()
125 mfpen &= ~GPSELEI0;/*enable keypad*/ in mfp_set_groupi()
127 __raw_writel(mfpen, REG_MFSEL); in mfp_set_groupi()
135 unsigned long mfpen; in mfp_set_groupg() local
147 mfpen = __raw_readl(REG_MFSEL); in mfp_set_groupg()
150 mfpen &= ~(GPIOG0TO1 | GPIOG2TO3); in mfp_set_groupg()
151 mfpen |= ENSPI;/*enable spi*/ in mfp_set_groupg()
153 mfpen &= ~(GPIOG0TO1); in mfp_set_groupg()
154 mfpen |= ENI2C0;/*enable i2c0*/ in mfp_set_groupg()
156 mfpen &= ~(GPIOG2TO3); in mfp_set_groupg()
157 mfpen |= ENI2C1;/*enable i2c1*/ in mfp_set_groupg()
159 mfpen &= ~(GPIOG22TO23); in mfp_set_groupg()
160 mfpen |= ENAC97;/*enable AC97*/ in mfp_set_groupg()
162 mfpen &= ~(GPIOG18TO20); in mfp_set_groupg()
163 mfpen |= (ENSD1 | 0x01);/*enable sd1*/ in mfp_set_groupg()
165 mfpen &= ~(GPIOG0TO1 | GPIOG2TO3);/*GPIOG[3:0]*/ in mfp_set_groupg()
168 __raw_writel(mfpen, REG_MFSEL); in mfp_set_groupg()
176 unsigned long mfpen; in mfp_set_groupd() local
188 mfpen = __raw_readl(REG_MFSEL); in mfp_set_groupd()
191 mfpen &= ~GPSELD;/*enable sd0*/ in mfp_set_groupd()
192 mfpen |= ENSD0; in mfp_set_groupd()
194 mfpen &= (~GPSELD); in mfp_set_groupd()
196 __raw_writel(mfpen, REG_MFSEL); in mfp_set_groupd()