Lines Matching refs:frequency
56 static uint32_t LRF_findPllMBase(uint32_t frequency);
58 static uint32_t LRF_findCalM(uint32_t frequency, uint32_t prediv);
71 static uint32_t LRF_scaleFreqWithHFXTOffset(uint32_t frequency);
937 static uint32_t LRF_findPllMBase(uint32_t frequency) in LRF_findPllMBase() argument
945 pllMBase = (frefInv >> 16) * (frequency >> 16); in LRF_findPllMBase()
947 tmpPllMBase = ((frefInv >> 16) * (frequency & 0xFFFFU)) >> 1; in LRF_findPllMBase()
948 tmpPllMBase += ((frefInv & 0xFFFFU) * (frequency >> 16)) >> 1; in LRF_findPllMBase()
990 static uint32_t LRF_findCalM(uint32_t frequency, uint32_t prediv) in LRF_findCalM() argument
1001 calM = frefInv * ((frequency + (1 << 14)) >> 15); in LRF_findCalM()
1270 void LRF_programFrequency(uint32_t frequency, bool tx) in LRF_programFrequency() argument
1280 synthFrequency = frequency - swConfig->txFrequencyOffset; in LRF_programFrequency()
1284 synthFrequency = frequency - swConfig->rxFrequencyOffset in LRF_programFrequency()
1496 static uint32_t LRF_scaleFreqWithHFXTOffset(uint32_t frequency) in LRF_scaleFreqWithHFXTOffset() argument
1521 uint32_t ah = frequency >> 16; /* Multiplier high half-word */ in LRF_scaleFreqWithHFXTOffset()
1522 uint32_t al = frequency & 0xFFFF; /* Multiplier low half-word */ in LRF_scaleFreqWithHFXTOffset()
1534 frequency = ((bl*ah + bh*al + ((bl*al) >> 16)) >> 6) + ((bh*ah) << 10); in LRF_scaleFreqWithHFXTOffset()
1537 return frequency; in LRF_scaleFreqWithHFXTOffset()