Lines Matching defs:c
249 * cx88-cards.c arranges for the reset bit to be inactive (high).
472 * SNR * 2^24 = 10*(c - intlog10(MSE))
473 * Where for 256-QAM, c = log10(696320) * 2^24, and so on.
475 static u32 calculate_snr(u32 mse, u32 c)
481 if (mse > c) {
489 return 10 * (c - mse);
497 u32 c; /* per-modulation SNR calculation constant */
506 c = 69765745; /* log10(25*24^2)*2^24 */
511 c = 73957994; /* log10(25*32^2)*2^24 */
518 c = state->current_modulation == QAM_64 ? 97939837 : 98026066;
531 state->snr = calculate_snr(noise, c);
544 u32 c; /* per-modulation SNR calculation constant */
553 c = 73957994; /* log10(25*32^2)*2^24 */
558 c = 73957994; /* log10(25*32^2)*2^24 */
565 c = state->current_modulation == QAM_64 ? 97939837 : 98026066;
576 state->snr = calculate_snr(noise, c);