Lines Matching defs:freq
52 rtw_rf_init(struct rtw_rf *rf, uint_t freq, uint8_t opaque_txpower,
55 return (*rf->rf_init)(rf, freq, opaque_txpower, power);
59 rtw_rf_tune(struct rtw_rf *rf, uint_t freq)
61 return (*rf->rf_tune)(rf, freq);
79 uint_t freq)
84 if (freq == 2484) /* channel 14 */
91 int dflantb, uint8_t cs_threshold, uint_t freq)
113 if ((rc = rtw_bbp_preinit(regs, bb->bb_antatten, dflantb, freq)) != 0)
139 verify_syna(uint_t freq, uint32_t val)
143 switch (freq) {
190 /* freq is in MHz */
192 rtw_sa2400_tune(struct rtw_rf *rf, uint_t freq)
205 int n = freq / 4, nf = (freq % 4) * 2;
208 /* verify_syna(freq, syna); */
377 rtw_sa2400_calibrate(struct rtw_rf *rf, uint_t freq)
392 if ((rc = rtw_sa2400_tune(rf, freq)) != 0)
405 rtw_sa2400_init(struct rtw_rf *rf, uint_t freq, uint8_t opaque_txpower,
426 if ((rc = rtw_sa2400_tune(rf, freq)) != 0)
432 if ((rc = rtw_sa2400_calibrate(rf, freq)) != 0)
488 * freq is in MHz
491 rtw_max2820_tune(struct rtw_rf *rf, uint_t freq)
496 if (freq < 2400 || freq > 2499)
500 LSHIFT(freq - 2400, MAX2820_CHANNEL_CF_MASK)));
512 rtw_max2820_init(struct rtw_rf *rf, uint_t freq, uint8_t opaque_txpower,
539 if ((rc = rtw_max2820_tune(rf, freq)) != 0)
636 * freq is in MHz
640 uint8_t cs_threshold, uint_t freq, int antdiv, int dflantb,
651 freq)) != 0)
653 if ((rc = rtw_rf_tune(rf, freq)) != 0)
658 if ((rc = rtw_rf_init(rf, freq, opaque_txpower, power)) != 0)
666 cs_threshold, freq));