Searched refs:invval (Results 1 – 2 of 2) sorted by relevance
566 int invval = 0; in stv0299_set_frontend() local573 if (p->inversion == INVERSION_OFF) invval = 0; in stv0299_set_frontend()574 else if (p->inversion == INVERSION_ON) invval = 1; in stv0299_set_frontend()579 if (state->config->invert) invval = (~invval) & 1; in stv0299_set_frontend()580 stv0299_writeregI(state, 0x0c, (stv0299_readreg(state, 0x0c) & 0xfe) | invval); in stv0299_set_frontend()604 int invval; in stv0299_get_frontend() local615 invval = stv0299_readreg (state, 0x0c) & 1; in stv0299_get_frontend()616 if (state->config->invert) invval = (~invval) & 1; in stv0299_get_frontend()617 p->inversion = invval ? INVERSION_ON : INVERSION_OFF; in stv0299_get_frontend()
272 u8 invval = 0x80; in tda10086_set_inversion() local279 invval = 0x40; in tda10086_set_inversion()283 invval = 0x40; in tda10086_set_inversion()286 invval = 0x00; in tda10086_set_inversion()289 tda10086_write_mask(state, 0x0c, 0xc0, invval); in tda10086_set_inversion()