• Home
  • Raw
  • Download

Lines Matching refs:clock_ratios_table

875 static const struct cx24120_clock_ratios_table clock_ratios_table[] = {  variable
926 for (idx = 0; idx < ARRAY_SIZE(clock_ratios_table); idx++) { in cx24120_set_clock_ratios()
927 if (clock_ratios_table[idx].delsys != state->dcur.delsys) in cx24120_set_clock_ratios()
929 if (clock_ratios_table[idx].mod != c->modulation) in cx24120_set_clock_ratios()
931 if (clock_ratios_table[idx].fec != c->fec_inner) in cx24120_set_clock_ratios()
933 if (clock_ratios_table[idx].pilot != c->pilot) in cx24120_set_clock_ratios()
939 if (idx >= ARRAY_SIZE(clock_ratios_table)) { in cx24120_set_clock_ratios()
957 clock_ratios_table[idx].m_rat, in cx24120_set_clock_ratios()
958 clock_ratios_table[idx].n_rat, in cx24120_set_clock_ratios()
959 clock_ratios_table[idx].rate); in cx24120_set_clock_ratios()
966 cmd.arg[2] = (clock_ratios_table[idx].m_rat >> 16) & 0xff; in cx24120_set_clock_ratios()
967 cmd.arg[3] = (clock_ratios_table[idx].m_rat >> 8) & 0xff; in cx24120_set_clock_ratios()
968 cmd.arg[4] = (clock_ratios_table[idx].m_rat >> 0) & 0xff; in cx24120_set_clock_ratios()
969 cmd.arg[5] = (clock_ratios_table[idx].n_rat >> 16) & 0xff; in cx24120_set_clock_ratios()
970 cmd.arg[6] = (clock_ratios_table[idx].n_rat >> 8) & 0xff; in cx24120_set_clock_ratios()
971 cmd.arg[7] = (clock_ratios_table[idx].n_rat >> 0) & 0xff; in cx24120_set_clock_ratios()
972 cmd.arg[8] = (clock_ratios_table[idx].rate >> 8) & 0xff; in cx24120_set_clock_ratios()
973 cmd.arg[9] = (clock_ratios_table[idx].rate >> 0) & 0xff; in cx24120_set_clock_ratios()
978 cx24120_calculate_ber_window(state, clock_ratios_table[idx].rate); in cx24120_set_clock_ratios()