Lines Matching refs:gpio3
370 u8 gpio3, gpio3_old; in ti12xx_irqroute_func0() local
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()
469 if (gpio3 != gpio3_old) in ti12xx_irqroute_func0()
751 u8 gpio3; in ti12xx_power_hook() local
802 gpio3 = config_readb(socket, TI1250_GPIO3_CONTROL); in ti12xx_power_hook()
804 gpio3 = (gpio3 & ~TI1250_GPIO_MODE_MASK) | 0x40; in ti12xx_power_hook()
806 gpio3 &= ~TI1250_GPIO_MODE_MASK; in ti12xx_power_hook()
807 config_writeb(socket, TI1250_GPIO3_CONTROL, gpio3); in ti12xx_power_hook()