Lines Matching refs:dcur
140 struct cx24120_tuning dcur; member
809 if (modfec_lookup_table[idx].delsys != state->dcur.delsys) in cx24120_get_fec()
928 if (clock_ratios_table[idx].delsys != state->dcur.delsys) in cx24120_set_clock_ratios()
1131 state->dcur = state->dnxt; in cx24120_clone_params()
1180 "delsys = %d\n", state->dcur.delsys); in cx24120_set_frontend()
1182 "modulation = %d\n", state->dcur.modulation); in cx24120_set_frontend()
1184 "frequency = %d\n", state->dcur.frequency); in cx24120_set_frontend()
1187 state->dcur.pilot, state->dcur.pilot_val); in cx24120_set_frontend()
1190 state->dcur.symbol_rate, in cx24120_set_frontend()
1191 state->dcur.clkdiv, state->dcur.ratediv); in cx24120_set_frontend()
1194 state->dcur.fec, state->dcur.fec_mask, state->dcur.fec_val); in cx24120_set_frontend()
1197 state->dcur.inversion, state->dcur.inversion_val); in cx24120_set_frontend()
1206 cmd.arg[1] = (state->dcur.frequency & 0xff0000) >> 16; in cx24120_set_frontend()
1207 cmd.arg[2] = (state->dcur.frequency & 0x00ff00) >> 8; in cx24120_set_frontend()
1208 cmd.arg[3] = (state->dcur.frequency & 0x0000ff); in cx24120_set_frontend()
1209 cmd.arg[4] = ((state->dcur.symbol_rate / 1000) & 0xff00) >> 8; in cx24120_set_frontend()
1210 cmd.arg[5] = ((state->dcur.symbol_rate / 1000) & 0x00ff); in cx24120_set_frontend()
1211 cmd.arg[6] = state->dcur.inversion; in cx24120_set_frontend()
1212 cmd.arg[7] = state->dcur.fec_val | state->dcur.pilot_val; in cx24120_set_frontend()
1216 cmd.arg[11] = state->dcur.fec_mask; in cx24120_set_frontend()
1217 cmd.arg[12] = state->dcur.ratediv; in cx24120_set_frontend()
1218 cmd.arg[13] = state->dcur.clkdiv; in cx24120_set_frontend()
1227 ret = cx24120_writereg(state, CX24120_REG_CLKDIV, state->dcur.clkdiv); in cx24120_set_frontend()
1230 ret |= state->dcur.ratediv; in cx24120_set_frontend()