Lines Matching refs:reg0
43 u8 reg0;
128 static int tda10021_setup_reg0 (struct tda10021_state* state, u8 reg0,
131 reg0 |= state->reg0 & 0x63;
134 reg0 &= ~0x20;
136 reg0 |= 0x20;
138 _tda10021_writereg (state, 0x00, reg0 & 0xfe);
139 _tda10021_writereg (state, 0x00, reg0 | 0x01);
141 state->reg0 = reg0;
356 p->inversion = ((state->reg0 & 0x20) == 0x20) ^ (state->config->invert != 0) ? INVERSION_ON : INVERSION_OFF;
357 p->u.qam.modulation = ((state->reg0 >> 2) & 7) + QAM_16;
413 state->reg0 = tda10021_inittab[0];