Lines Matching refs:curout
108 int curdir, curout; in ivtv_reset_ir_gpio() local
113 curout = read_reg(IVTV_REG_GPIO_OUT); in ivtv_reset_ir_gpio()
117 curout = (curout & ~0xF) | 1; in ivtv_reset_ir_gpio()
118 write_reg(curout, IVTV_REG_GPIO_OUT); in ivtv_reset_ir_gpio()
121 curout |= 2; in ivtv_reset_ir_gpio()
122 write_reg(curout, IVTV_REG_GPIO_OUT); in ivtv_reset_ir_gpio()
132 u32 curout; in ivtv_reset_tuner_gpio() local
137 curout = read_reg(IVTV_REG_GPIO_OUT); in ivtv_reset_tuner_gpio()
138 curout &= ~(1 << itv->card->xceive_pin); in ivtv_reset_tuner_gpio()
139 write_reg(curout, IVTV_REG_GPIO_OUT); in ivtv_reset_tuner_gpio()
142 curout |= 1 << itv->card->xceive_pin; in ivtv_reset_tuner_gpio()
143 write_reg(curout, IVTV_REG_GPIO_OUT); in ivtv_reset_tuner_gpio()