• Home
  • Raw
  • Download

Lines Matching full:xtal

69 	enum cxd2841er_xtal		xtal;  member
320 static u32 cxd2841er_calc_iffreq_xtal(enum cxd2841er_xtal xtal, u32 ifhz) in cxd2841er_calc_iffreq_xtal() argument
325 do_div(tmp, ((xtal == SONY_XTAL_24000) ? 48000000 : 41000000)); in cxd2841er_calc_iffreq_xtal()
800 switch (priv->xtal) { in cxd2841er_shutdown_to_sleep_s()
813 dev_dbg(&priv->i2c->dev, "%s(): invalid demod xtal %d\n", in cxd2841er_shutdown_to_sleep_s()
814 __func__, priv->xtal); in cxd2841er_shutdown_to_sleep_s()
862 switch (priv->xtal) { in cxd2841er_shutdown_to_sleep_tc()
2130 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x0E:0x0C; in cxd2841er_dvbt2_set_profile()
2135 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x2E:0x28; in cxd2841er_dvbt2_set_profile()
2140 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x2E:0x28; in cxd2841er_dvbt2_set_profile()
2186 {0x11, 0xF0, 0x00, 0x00, 0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2187 {0x15, 0x00, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2188 {0x11, 0xF0, 0x00, 0x00, 0x00} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2193 {0x14, 0x80, 0x00, 0x00, 0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2194 {0x18, 0x00, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2195 {0x14, 0x80, 0x00, 0x00, 0x00} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2200 {0x17, 0xEA, 0xAA, 0xAA, 0xAA}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2201 {0x1C, 0x00, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2202 {0x17, 0xEA, 0xAA, 0xAA, 0xAA} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2207 {0x1C, 0xB3, 0x33, 0x33, 0x33}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2208 {0x21, 0x99, 0x99, 0x99, 0x99}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2209 {0x1C, 0xB3, 0x33, 0x33, 0x33} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2214 {0x58, 0xE2, 0xAF, 0xE0, 0xBC}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2215 {0x68, 0x0F, 0xA2, 0x32, 0xD0}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2216 {0x58, 0xE2, 0xAF, 0xE0, 0xBC} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2221 0x23, 0xA9, 0x1F, 0xA8, 0x2C, 0xC8}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2223 0x29, 0xA5, 0x2A, 0xAC, 0x29, 0xB5}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2225 0x23, 0xA9, 0x1F, 0xA8, 0x2C, 0xC8} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2230 0x29, 0xB0, 0x26, 0xA9, 0x21, 0xA5}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2232 0x29, 0xA2, 0x2B, 0xA6, 0x2B, 0xAD}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2234 0x29, 0xB0, 0x26, 0xA9, 0x21, 0xA5} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2239 0x00, 0xCF, 0x00, 0xE6, 0x23, 0xA4}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2241 0x29, 0xA4, 0x29, 0xA2, 0x29, 0xA8}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2243 0x00, 0xCF, 0x00, 0xE6, 0x23, 0xA4} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2248 0x00, 0xCF, 0x00, 0xE6, 0x23, 0xA4}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2250 0x29, 0xA4, 0x29, 0xA2, 0x29, 0xA8}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2252 0x00, 0xCF, 0x00, 0xE6, 0x23, 0xA4} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2257 0x32, 0x90, 0x2C, 0x9D, 0x29, 0x99}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2259 0x30, 0x97, 0x2D, 0x9A, 0x21, 0xA4}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2261 0x32, 0x90, 0x2C, 0x9D, 0x29, 0x99} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t2_band()
2271 0x9F, nominalRate8bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t2_band()
2286 0xA6, itbCoef8bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t2_band()
2289 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t2_band()
2301 0x9F, nominalRate7bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t2_band()
2316 0xA6, itbCoef7bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t2_band()
2319 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t2_band()
2331 0x9F, nominalRate6bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t2_band()
2346 0xA6, itbCoef6bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t2_band()
2349 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t2_band()
2361 0x9F, nominalRate5bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t2_band()
2376 0xA6, itbCoef5bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t2_band()
2379 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t2_band()
2391 0x9F, nominalRate17bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t2_band()
2406 0xA6, itbCoef17bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t2_band()
2409 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t2_band()
2431 {0x11, 0xF0, 0x00, 0x00, 0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2432 {0x15, 0x00, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2433 {0x11, 0xF0, 0x00, 0x00, 0x00} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2437 {0x14, 0x80, 0x00, 0x00, 0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2438 {0x18, 0x00, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2439 {0x14, 0x80, 0x00, 0x00, 0x00} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2443 {0x17, 0xEA, 0xAA, 0xAA, 0xAA}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2444 {0x1C, 0x00, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2445 {0x17, 0xEA, 0xAA, 0xAA, 0xAA} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2449 {0x1C, 0xB3, 0x33, 0x33, 0x33}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2450 {0x21, 0x99, 0x99, 0x99, 0x99}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2451 {0x1C, 0xB3, 0x33, 0x33, 0x33} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2456 0x1F, 0xA8, 0x2C, 0xC8}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2458 0x2A, 0xAC, 0x29, 0xB5}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2460 0x1F, 0xA8, 0x2C, 0xC8} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2464 0x26, 0xA9, 0x21, 0xA5}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2466 0x2B, 0xA6, 0x2B, 0xAD}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2468 0x26, 0xA9, 0x21, 0xA5} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2472 0x00, 0xE6, 0x23, 0xA4}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2474 0x29, 0xA2, 0x29, 0xA8}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2476 0x00, 0xE6, 0x23, 0xA4} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2480 0x00, 0xE6, 0x23, 0xA4}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2482 0x29, 0xA2, 0x29, 0xA8}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2484 0x00, 0xE6, 0x23, 0xA4} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_t_band()
2501 0x9F, nominalRate8bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t_band()
2507 0xA6, itbCoef8bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t_band()
2510 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t_band()
2520 if (priv->xtal == SONY_XTAL_24000) { in cxd2841er_sleep_tc_to_active_t_band()
2538 0x9F, nominalRate7bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t_band()
2544 0xA6, itbCoef7bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t_band()
2547 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t_band()
2557 if (priv->xtal == SONY_XTAL_24000) { in cxd2841er_sleep_tc_to_active_t_band()
2575 0x9F, nominalRate6bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t_band()
2581 0xA6, itbCoef6bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t_band()
2584 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t_band()
2594 if (priv->xtal == SONY_XTAL_24000) { in cxd2841er_sleep_tc_to_active_t_band()
2612 0x9F, nominalRate5bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t_band()
2618 0xA6, itbCoef5bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_t_band()
2621 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_t_band()
2631 if (priv->xtal == SONY_XTAL_24000) { in cxd2841er_sleep_tc_to_active_t_band()
2659 {0x00, 0x00, 0x00, 0x00, 0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2660 {0x11, 0xB8, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2661 {0x00, 0x00, 0x00, 0x00, 0x00} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2665 {0x00, 0x00, 0x00, 0x00, 0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2666 {0x14, 0x40, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2667 {0x00, 0x00, 0x00, 0x00, 0x00} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2671 {0x14, 0x2E, 0x00, 0x00, 0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2672 {0x17, 0xA0, 0x00, 0x00, 0x00}, /* 24MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2673 {0x14, 0x2E, 0x00, 0x00, 0x00} /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2677 {0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2679 0xA5, 0x2A, 0xAC, 0x29, 0xB5}, /* 24MHz Xtal */ in cxd2841er_sleep_tc_to_active_i_band()
2680 {0x0}, /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2684 {0x00}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2686 0xA2, 0x2B, 0xA6, 0x2B, 0xAD}, /* 24MHz Xtal */ in cxd2841er_sleep_tc_to_active_i_band()
2687 {0x00}, /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2692 0xCF, 0x00, 0xE6, 0x23, 0xA4}, /* 20.5MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2694 0xA4, 0x29, 0xA2, 0x29, 0xA8}, /* 24MHz Xtal */ in cxd2841er_sleep_tc_to_active_i_band()
2696 0xCF, 0x00, 0xE6, 0x23, 0xA4}, /* 41MHz XTal */ in cxd2841er_sleep_tc_to_active_i_band()
2703 /* 20.5/41MHz Xtal support is not available in cxd2841er_sleep_tc_to_active_i_band()
2706 if (priv->xtal != SONY_XTAL_24000 && bandwidth > 6000000) { in cxd2841er_sleep_tc_to_active_i_band()
2708 "%s(): bandwidth %d supported only for 24MHz xtal\n", in cxd2841er_sleep_tc_to_active_i_band()
2717 0x9F, nominalRate8bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_i_band()
2721 0xA6, itbCoef8bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_i_band()
2725 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_i_band()
2748 0x9F, nominalRate7bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_i_band()
2752 0xA6, itbCoef7bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_i_band()
2756 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_i_band()
2779 0x9F, nominalRate6bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_i_band()
2783 0xA6, itbCoef6bw[priv->xtal], 14); in cxd2841er_sleep_tc_to_active_i_band()
2787 iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); in cxd2841er_sleep_tc_to_active_i_band()
2797 if (priv->xtal == SONY_XTAL_24000) { in cxd2841er_sleep_tc_to_active_i_band()
2928 if (priv->xtal == SONY_XTAL_41000) { in cxd2841er_sleep_tc_to_active_t()
2961 if (priv->xtal == SONY_XTAL_24000) { in cxd2841er_sleep_tc_to_active_t()
3003 if (priv->xtal == SONY_XTAL_41000) { in cxd2841er_sleep_tc_to_active_t2()
3056 /* 24MHz Xtal setting */ in cxd2841er_sleep_tc_to_active_t2()
3057 if (priv->xtal == SONY_XTAL_24000) { in cxd2841er_sleep_tc_to_active_t2()
3159 /* xtal freq 20.5MHz or 24M */ in cxd2841er_sleep_tc_to_active_i()
3194 /* for xtal 24MHz */ in cxd2841er_sleep_tc_to_active_i()
3235 /* xtal freq 20.5MHz */ in cxd2841er_sleep_tc_to_active_c()
3312 dev_dbg(&priv->i2c->dev, "%s(): %s frequency=%d symbol_rate=%d xtal=%d\n", in cxd2841er_set_frontend_s()
3315 p->frequency, symbol_rate, priv->xtal); in cxd2841er_set_frontend_s()
3856 priv->xtal = cfg->xtal; in cxd2841er_attach()