Lines Matching refs:reg0
31 u8 reg0;
119 static int tda10021_setup_reg0(struct tda10021_state *state, u8 reg0,
122 reg0 |= state->reg0 & 0x63;
125 reg0 &= ~0x20;
127 reg0 |= 0x20;
129 _tda10021_writereg (state, 0x00, reg0 & 0xfe);
130 _tda10021_writereg (state, 0x00, reg0 | 0x01);
132 state->reg0 = reg0;
404 p->inversion = ((state->reg0 & 0x20) == 0x20) ^ (state->config->invert != 0) ? INVERSION_ON : INVERSION_OFF;
405 p->modulation = ((state->reg0 >> 2) & 7) + QAM_16;
461 state->reg0 = tda10021_inittab[0];