Searched refs:clock_ratios_table (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/dvb-frontends/
H A Dcx24120.c883 static const struct cx24120_clock_ratios_table clock_ratios_table[] = { variable in typeref:struct:cx24120_clock_ratios_table
934 for (idx = 0; idx < ARRAY_SIZE(clock_ratios_table); idx++) { cx24120_set_clock_ratios()
935 if (clock_ratios_table[idx].delsys != state->dcur.delsys) cx24120_set_clock_ratios()
937 if (clock_ratios_table[idx].mod != c->modulation) cx24120_set_clock_ratios()
939 if (clock_ratios_table[idx].fec != c->fec_inner) cx24120_set_clock_ratios()
941 if (clock_ratios_table[idx].pilot != c->pilot) cx24120_set_clock_ratios()
947 if (idx >= ARRAY_SIZE(clock_ratios_table)) { cx24120_set_clock_ratios()
965 clock_ratios_table[idx].m_rat, cx24120_set_clock_ratios()
966 clock_ratios_table[idx].n_rat, cx24120_set_clock_ratios()
967 clock_ratios_table[idx].rate); cx24120_set_clock_ratios()
974 cmd.arg[2] = (clock_ratios_table[idx].m_rat >> 16) & 0xff; cx24120_set_clock_ratios()
975 cmd.arg[3] = (clock_ratios_table[idx].m_rat >> 8) & 0xff; cx24120_set_clock_ratios()
976 cmd.arg[4] = (clock_ratios_table[idx].m_rat >> 0) & 0xff; cx24120_set_clock_ratios()
977 cmd.arg[5] = (clock_ratios_table[idx].n_rat >> 16) & 0xff; cx24120_set_clock_ratios()
978 cmd.arg[6] = (clock_ratios_table[idx].n_rat >> 8) & 0xff; cx24120_set_clock_ratios()
979 cmd.arg[7] = (clock_ratios_table[idx].n_rat >> 0) & 0xff; cx24120_set_clock_ratios()
980 cmd.arg[8] = (clock_ratios_table[idx].rate >> 8) & 0xff; cx24120_set_clock_ratios()
981 cmd.arg[9] = (clock_ratios_table[idx].rate >> 0) & 0xff; cx24120_set_clock_ratios()
986 cx24120_calculate_ber_window(state, clock_ratios_table[idx].rate); cx24120_set_clock_ratios()

Completed in 71 milliseconds