Home
last modified time | relevance | path

Searched refs:invval (Results 1 – 2 of 2) sorted by relevance

/drivers/media/dvb-frontends/
Dstv0299.c566 int invval = 0; in stv0299_set_frontend() local
573 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() local
615 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()
Dtda10086.c272 u8 invval = 0x80; in tda10086_set_inversion() local
279 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()