Lines Matching full:gpio3
370 u8 gpio3, gpio3_old; in ti12xx_irqroute_func0() local
444 /* make sure GPIO3 is set to INTA */ in ti12xx_irqroute_func0()
445 gpio3 = gpio3_old = config_readb(socket, TI1250_GPIO3_CONTROL); in ti12xx_irqroute_func0()
446 gpio3 &= ~TI1250_GPIO_MODE_MASK; in ti12xx_irqroute_func0()
447 if (gpio3 != gpio3_old) in ti12xx_irqroute_func0()
448 config_writeb(socket, TI1250_GPIO3_CONTROL, gpio3); in ti12xx_irqroute_func0()
452 gpio3 = gpio3_old = 0; in ti12xx_irqroute_func0()
468 if (gpio3 != gpio3_old) in ti12xx_irqroute_func0()
748 u8 gpio3; in ti12xx_power_hook() local
798 /* those oldies use gpio3 for INTA */ in ti12xx_power_hook()
799 gpio3 = config_readb(socket, TI1250_GPIO3_CONTROL); in ti12xx_power_hook()
801 gpio3 = (gpio3 & ~TI1250_GPIO_MODE_MASK) | 0x40; in ti12xx_power_hook()
803 gpio3 &= ~TI1250_GPIO_MODE_MASK; in ti12xx_power_hook()
804 config_writeb(socket, TI1250_GPIO3_CONTROL, gpio3); in ti12xx_power_hook()