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