Lines Matching refs:clock_ratios_table

876 static const struct cx24120_clock_ratios_table clock_ratios_table[] = {  variable
927 for (idx = 0; idx < ARRAY_SIZE(clock_ratios_table); idx++) { in cx24120_set_clock_ratios()
928 if (clock_ratios_table[idx].delsys != state->dcur.delsys) in cx24120_set_clock_ratios()
930 if (clock_ratios_table[idx].mod != c->modulation) in cx24120_set_clock_ratios()
932 if (clock_ratios_table[idx].fec != c->fec_inner) in cx24120_set_clock_ratios()
934 if (clock_ratios_table[idx].pilot != c->pilot) in cx24120_set_clock_ratios()
940 if (idx >= ARRAY_SIZE(clock_ratios_table)) { in cx24120_set_clock_ratios()
958 clock_ratios_table[idx].m_rat, in cx24120_set_clock_ratios()
959 clock_ratios_table[idx].n_rat, in cx24120_set_clock_ratios()
960 clock_ratios_table[idx].rate); in cx24120_set_clock_ratios()
967 cmd.arg[2] = (clock_ratios_table[idx].m_rat >> 16) & 0xff; in cx24120_set_clock_ratios()
968 cmd.arg[3] = (clock_ratios_table[idx].m_rat >> 8) & 0xff; in cx24120_set_clock_ratios()
969 cmd.arg[4] = (clock_ratios_table[idx].m_rat >> 0) & 0xff; in cx24120_set_clock_ratios()
970 cmd.arg[5] = (clock_ratios_table[idx].n_rat >> 16) & 0xff; in cx24120_set_clock_ratios()
971 cmd.arg[6] = (clock_ratios_table[idx].n_rat >> 8) & 0xff; in cx24120_set_clock_ratios()
972 cmd.arg[7] = (clock_ratios_table[idx].n_rat >> 0) & 0xff; in cx24120_set_clock_ratios()
973 cmd.arg[8] = (clock_ratios_table[idx].rate >> 8) & 0xff; in cx24120_set_clock_ratios()
974 cmd.arg[9] = (clock_ratios_table[idx].rate >> 0) & 0xff; in cx24120_set_clock_ratios()
981 cx24120_calculate_ber_window(state, clock_ratios_table[idx].rate); in cx24120_set_clock_ratios()