Lines Matching refs:f_ref
84 u32 f_ref;
490 pAS_Info->f_ref *
492 pAS_Info->f_in) / pAS_Info->f_ref) - pAS_Info->f_in;
502 center += pAS_Info->f_ref;
506 pAS_Info->f_ref *
508 pAS_Info->f_out) / pAS_Info->f_ref) + pAS_Info->f_out;
518 center += pAS_Info->f_ref;
1379 static u32 MT2063_Round_fLO(u32 f_LO, u32 f_LO_Step, u32 f_ref)
1381 return f_ref * (f_LO / f_ref)
1382 + f_LO_Step * (((f_LO % f_ref) + (f_LO_Step / 2)) / f_LO_Step);
1389 * f_ref * num / denom to within 1 HZ with fixed math.
1391 * @f_ref: SRO frequency.
1395 * This calculation handles f_ref as two separate 14-bit fields.
1396 * Therefore, a maximum value of 2^28-1 may safely be used for f_ref.
1401 * Returns: f_ref * num / denom
1403 static u32 MT2063_fLO_FractionalTerm(u32 f_ref, u32 num, u32 denom)
1405 u32 t1 = (f_ref >> 14) * num;
1409 (((f_ref & 0x00003FFF) * num + (loss << 14)) + (denom / 2)) / denom;
1578 state->AS_Data.f_ref) - f_in;
1590 state->AS_Data.f_ref);
1594 state->AS_Data.f_LO2_Step, state->AS_Data.f_ref);
1608 state->AS_Data.f_LO1_Step, state->AS_Data.f_ref);
1611 state->AS_Data.f_LO2_Step, state->AS_Data.f_ref);
1614 state->AS_Data.f_LO2_Step, state->AS_Data.f_ref);
1642 * f_ref/64
1646 f_in) / (state->AS_Data.f_ref / 64) - 8 * (u32) fiffc -
1892 state->AS_Data.f_ref = MT2063_REF_FREQ;
1893 state->AS_Data.f_if1_Center = (state->AS_Data.f_ref / 8) *
1899 state->AS_Data.f_LO1_Step = state->AS_Data.f_ref / 64;