Home
last modified time | relevance | path

Searched refs:cal_flags (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_rtt.c125 if (!test_bit(SW_PKDET_DONE, &ah->caldata->cal_flags)) in ar9003_hw_patch_rtt()
188 set_bit(RTT_DONE, &ah->caldata->cal_flags); in ar9003_hw_rtt_fill_hist()
203 clear_bit(RTT_DONE, &ah->caldata->cal_flags); in ar9003_hw_rtt_clear_hist()
213 if (test_bit(SW_PKDET_DONE, &ah->caldata->cal_flags)) { in ar9003_hw_rtt_restore()
235 if (!test_bit(RTT_DONE, &ah->caldata->cal_flags)) in ar9003_hw_rtt_restore()
240 if (test_bit(SW_PKDET_DONE, &ah->caldata->cal_flags)) in ar9003_hw_rtt_restore()
H A Dcalib.c128 (test_bit(NFCAL_INTF, &cal->cal_flags) ? in ath9k_hw_update_nfcal_hist_buffer()
139 if (!test_bit(NFCAL_INTF, &cal->cal_flags)) in ath9k_hw_update_nfcal_hist_buffer()
150 clear_bit(NFCAL_INTF, &cal->cal_flags); in ath9k_hw_update_nfcal_hist_buffer()
232 set_bit(NFCAL_PENDING, &ah->caldata->cal_flags); in ath9k_hw_start_nfcal()
435 clear_bit(NFCAL_PENDING, &caldata->cal_flags); in ath9k_hw_getnf()
479 if (!test_bit(NFCAL_PENDING, &caldata->cal_flags)) in ath9k_hw_bstuck_nfcal()
484 set_bit(NFCAL_INTF, &caldata->cal_flags); in ath9k_hw_bstuck_nfcal()
H A Dlink.c155 if (!caldata || !test_bit(PAPRD_DONE, &caldata->cal_flags)) { in ath_paprd_activate()
228 !test_bit(PAPRD_PACKET_SENT, &caldata->cal_flags) || in ath_paprd_calibrate()
229 test_bit(PAPRD_DONE, &caldata->cal_flags)) { in ath_paprd_calibrate()
289 set_bit(PAPRD_DONE, &caldata->cal_flags); in ath_paprd_calibrate()
316 if (ah->caldata && test_bit(NFCAL_INTF, &ah->caldata->cal_flags)) in ath_ani_calibrate()
411 if (!test_bit(PAPRD_DONE, &ah->caldata->cal_flags)) { in ath_ani_calibrate()
H A Dar9003_calib.c972 set_bit(TXIQCAL_DONE, &caldata->cal_flags); in ar9003_hw_tx_iq_cal_outlier_detection()
974 clear_bit(TXIQCAL_DONE, &caldata->cal_flags); in ar9003_hw_tx_iq_cal_outlier_detection()
1316 set_bit(SW_PKDET_DONE, &caldata->cal_flags); in ar9003_hw_do_pcoem_manual_peak_cal()
1352 if (test_bit(TXCLCAL_DONE, &caldata->cal_flags)) { in ar9003_hw_cl_cal_post_proc()
1368 set_bit(TXCLCAL_DONE, &caldata->cal_flags); in ar9003_hw_cl_cal_post_proc()
1440 if (caldata && test_bit(TXCLCAL_DONE, &caldata->cal_flags)) in ar9003_hw_init_cal_pcoem()
1464 if (caldata && !test_bit(TXIQCAL_DONE, &caldata->cal_flags)) in ar9003_hw_init_cal_pcoem()
1525 else if (caldata && test_bit(TXIQCAL_DONE, &caldata->cal_flags)) in ar9003_hw_init_cal_pcoem()
1538 if (test_bit(SW_PKDET_DONE, &caldata->cal_flags)) in ar9003_hw_init_cal_pcoem()
H A Dar9002_calib.c677 nfcal_pending = test_bit(NFCAL_PENDING, &ah->caldata->cal_flags); in ar9002_hw_calibrate()
679 set_bit(LONGCAL_PENDING, &ah->caldata->cal_flags); in ar9002_hw_calibrate()
680 else if (test_bit(LONGCAL_PENDING, &ah->caldata->cal_flags)) in ar9002_hw_calibrate()
735 &ah->caldata->cal_flags); in ar9002_hw_calibrate()
H A Dar9003_mci.c769 clear_bit(TXIQCAL_DONE, &caldata->cal_flags); in ar9003_mci_end_reset()
770 clear_bit(TXCLCAL_DONE, &caldata->cal_flags); in ar9003_mci_end_reset()
771 clear_bit(RTT_DONE, &caldata->cal_flags); in ar9003_mci_end_reset()
H A Dhw.c1824 (!test_bit(TXIQCAL_DONE, &ah->caldata->cal_flags) || in ath9k_hw_do_fastcc()
1825 !test_bit(TXCLCAL_DONE, &ah->caldata->cal_flags) || in ath9k_hw_do_fastcc()
1826 !test_bit(RTT_DONE, &ah->caldata->cal_flags)))) in ath9k_hw_do_fastcc()
1900 clear_bit(PAPRD_PACKET_SENT, &caldata->cal_flags); in ath9k_hw_reset()
2037 clear_bit(TXIQCAL_DONE, &caldata->cal_flags); in ath9k_hw_reset()
2038 clear_bit(TXCLCAL_DONE, &caldata->cal_flags); in ath9k_hw_reset()
H A Dhw.h436 unsigned long cal_flags; member
H A Dxmit.c2478 set_bit(PAPRD_PACKET_SENT, &sc->sc_ah->caldata->cal_flags); in ath_tx_complete()