/linux/drivers/net/wireless/ath/ath9k/ |
A D | ar9003_rtt.c | 113 ah->caldata->rtt_table[chain][i]); in ar9003_hw_rtt_load_hist() 116 i, chain, ah->caldata->rtt_table[chain][i]); in ar9003_hw_rtt_load_hist() 136 caldac = ah->caldata->caldac[chain]; in ar9003_hw_patch_rtt() 177 ah->caldata->rtt_table[chain][i] = in ar9003_hw_rtt_fill_hist() 188 set_bit(RTT_DONE, &ah->caldata->cal_flags); in ar9003_hw_rtt_fill_hist() 202 if (ah->caldata) in ar9003_hw_rtt_clear_hist() 210 if (!ah->caldata) in ar9003_hw_rtt_restore() 217 ah->caldata->caldac[0]); in ar9003_hw_rtt_restore() 220 ah->caldata->caldac[1]); in ar9003_hw_rtt_restore() 224 ah->caldata->caldac[0]); in ar9003_hw_rtt_restore() [all …]
|
A D | calib.c | 198 if (!ah->caldata) in ath9k_hw_reset_calvalid() 231 if (ah->caldata) in ath9k_hw_start_nfcal() 256 if (ah->caldata) in ath9k_hw_loadnf() 257 h = ah->caldata->nfCalHist; in ath9k_hw_loadnf() 411 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath9k_hw_getnf() local 429 if (!caldata) { in ath9k_hw_getnf() 434 h = caldata->nfCalHist; in ath9k_hw_getnf() 449 ah->caldata->channel = chan->channel; in ath9k_init_nfcal_hist_buffer() 451 h = ah->caldata->nfCalHist; in ath9k_init_nfcal_hist_buffer() 466 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath9k_hw_bstuck_nfcal() local [all …]
|
A D | ar9003_calib.c | 77 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_per_calibration() local 895 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_tx_iq_cal_outlier_detection() local 957 if (caldata) in ar9003_hw_tx_iq_cal_outlier_detection() 961 if (caldata) in ar9003_hw_tx_iq_cal_outlier_detection() 1161 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_tx_iq_cal_reload() local 1307 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_do_pcoem_manual_peak_cal() local 1319 if (caldata) in ar9003_hw_do_pcoem_manual_peak_cal() 1346 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_cl_cal_post_proc() local 1378 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_init_cal_common() local 1392 if (caldata) in ar9003_hw_init_cal_common() [all …]
|
A D | link.c | 152 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath_paprd_activate() local 155 if (!caldata || !test_bit(PAPRD_DONE, &caldata->cal_flags)) { in ath_paprd_activate() 165 ar9003_paprd_populate_single_table(ah, caldata, chain); in ath_paprd_activate() 219 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath_paprd_calibrate() local 227 if (!caldata || in ath_paprd_calibrate() 229 test_bit(PAPRD_DONE, &caldata->cal_flags)) { in ath_paprd_calibrate() 271 ret = ar9003_paprd_create_curve(ah, caldata, chain); 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() 410 if (ar9003_is_paprd_enabled(ah) && ah->caldata) { in ath_ani_calibrate() [all …]
|
A D | ar9002_calib.c | 84 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9002_hw_per_calibration() local 103 caldata->CalValid |= currCal->calData->calType; in ar9002_hw_per_calibration() 118 } else if (!(caldata->CalValid & currCal->calData->calType)) { in ar9002_hw_per_calibration() 676 if (ah->caldata) { in ar9002_hw_calibrate() 677 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() 733 if (ah->caldata) in ar9002_hw_calibrate() 735 &ah->caldata->cal_flags); in ar9002_hw_calibrate() 931 if (ah->caldata) in ar9002_hw_init_cal() [all …]
|
A D | ar9003_paprd.c | 752 struct ath9k_hw_cal_data *caldata, in ar9003_paprd_populate_single_table() argument 755 u32 *paprd_table_val = caldata->pa_table[chain]; in ar9003_paprd_populate_single_table() 756 u32 small_signal_gain = caldata->small_signal_gain[chain]; in ar9003_paprd_populate_single_table() 821 struct ath9k_hw_cal_data *caldata, in ar9003_paprd_retrain_pa_in() argument 824 u32 *pa_in = caldata->pa_table[chain]; in ar9003_paprd_retrain_pa_in() 917 struct ath9k_hw_cal_data *caldata, int chain) in ar9003_paprd_create_curve() argument 919 u16 *small_signal_gain = &caldata->small_signal_gain[chain]; in ar9003_paprd_create_curve() 920 u32 *pa_table = caldata->pa_table[chain]; in ar9003_paprd_create_curve() 926 memset(caldata->pa_table[chain], 0, sizeof(caldata->pa_table[chain])); in ar9003_paprd_create_curve() 951 if (ar9003_paprd_retrain_pa_in(ah, caldata, chain)) in ar9003_paprd_create_curve()
|
A D | mci.c | 708 struct ath9k_hw_cal_data *caldata = &sc->cur_chan->caldata; in ath9k_mci_set_txpower() local 710 (ah->curchan->channel > caldata->channel) && in ath9k_mci_set_txpower() 711 (ah->curchan->channel <= caldata->channel + 20)) in ath9k_mci_set_txpower() 714 (ah->curchan->channel < caldata->channel) && in ath9k_mci_set_txpower() 715 (ah->curchan->channel >= caldata->channel - 20)) in ath9k_mci_set_txpower()
|
A D | hw.c | 1823 if (AR_SREV_9462(ah) && (ah->caldata && in ath9k_hw_do_fastcc() 1868 struct ath9k_hw_cal_data *caldata, bool fastcc) in ath9k_hw_reset() argument 1893 ah->caldata = caldata; in ath9k_hw_reset() 1894 if (caldata && (chan->channel != caldata->channel || in ath9k_hw_reset() 1895 chan->channelFlags != caldata->channelFlags)) { in ath9k_hw_reset() 1897 memset(caldata, 0, sizeof(*caldata)); in ath9k_hw_reset() 1899 } else if (caldata) { in ath9k_hw_reset() 1900 clear_bit(PAPRD_PACKET_SENT, &caldata->cal_flags); in ath9k_hw_reset() 2036 if (caldata) { in ath9k_hw_reset() 2037 clear_bit(TXIQCAL_DONE, &caldata->cal_flags); in ath9k_hw_reset() [all …]
|
A D | ar9003_mci.h | 332 struct ath9k_hw_cal_data *caldata); 366 struct ath9k_hw_cal_data *caldata) in ar9003_mci_end_reset() argument
|
A D | htc_drv_main.c | 189 struct ath9k_hw_cal_data *caldata = NULL; in ath9k_htc_reset() local 210 caldata = &priv->caldata; in ath9k_htc_reset() 211 ret = ath9k_hw_reset(ah, ah->curchan, caldata, false); in ath9k_htc_reset() 249 struct ath9k_hw_cal_data *caldata; in ath9k_htc_set_channel() local 277 caldata = fastcc ? NULL : &priv->caldata; in ath9k_htc_set_channel() 278 ret = ath9k_hw_reset(ah, hchan, caldata, fastcc); in ath9k_htc_set_channel() 932 ret = ath9k_hw_reset(ah, init_channel, ah->caldata, false); in ath9k_htc_start()
|
A D | common-spectral.c | 243 struct ath9k_hw_cal_data *caldata = ah->caldata; in ath_cmn_process_ht20_40_fft() local 255 if (caldata) in ath_cmn_process_ht20_40_fft() 257 caldata->nfCalHist[3].privNF); in ath_cmn_process_ht20_40_fft()
|
A D | ar9003_mci.c | 733 struct ath9k_hw_cal_data *caldata) in ar9003_mci_end_reset() argument 769 if (caldata) { in ar9003_mci_end_reset() 770 clear_bit(TXIQCAL_DONE, &caldata->cal_flags); in ar9003_mci_end_reset() 771 clear_bit(TXCLCAL_DONE, &caldata->cal_flags); in ar9003_mci_end_reset() 772 clear_bit(RTT_DONE, &caldata->cal_flags); in ar9003_mci_end_reset()
|
A D | hw.h | 819 struct ath9k_hw_cal_data *caldata; member 1030 struct ath9k_hw_cal_data *caldata, bool fastcc); 1124 struct ath9k_hw_cal_data *caldata, 1127 struct ath9k_hw_cal_data *caldata, int chain);
|
A D | main.c | 289 struct ath9k_hw_cal_data *caldata = NULL; in ath_reset_internal() local 302 caldata = &sc->cur_chan->caldata; in ath_reset_internal() 328 r = ath9k_hw_reset(ah, hchan, caldata, fastcc); in ath_reset_internal() 688 r = ath9k_hw_reset(ah, init_channel, ah->caldata, false); in ath9k_start() 962 ath9k_hw_reset(ah, ah->curchan, ah->caldata, false); in ath9k_stop()
|
A D | htc.h | 491 struct ath9k_hw_cal_data caldata; member
|
A D | ath9k.h | 338 struct ath9k_hw_cal_data caldata; member
|
A D | xmit.c | 2418 if (sc->sc_ah->caldata) in ath_tx_complete() 2419 set_bit(PAPRD_PACKET_SENT, &sc->sc_ah->caldata->cal_flags); in ath_tx_complete()
|
A D | debug.c | 1018 struct ath9k_nfcal_hist *h = sc->cur_chan->caldata.nfCalHist; in read_file_dump_nfcal()
|
/linux/drivers/thermal/ |
A D | sun8i_thermal.c | 76 u16 *caldata, int callen); 201 u16 *caldata, int callen) in sun8i_h3_ths_calibrate() argument 214 caldata[i] << offset); in sun8i_h3_ths_calibrate() 221 u16 *caldata, int callen) in sun50i_h6_ths_calibrate() argument 245 ft_temp = (caldata[0] & FT_TEMP_MASK) * 100; in sun50i_h6_ths_calibrate() 285 u16 *caldata; in sun8i_ths_calibrate() local 309 caldata = nvmem_cell_read(calcell, &callen); in sun8i_ths_calibrate() 310 if (IS_ERR(caldata)) { in sun8i_ths_calibrate() 311 ret = PTR_ERR(caldata); in sun8i_ths_calibrate() 315 tmdev->chip->calibrate(tmdev, caldata, callen); in sun8i_ths_calibrate() [all …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
A D | marvell-8xxx.txt | 19 - marvell,caldata* : A series of properties with marvell,caldata prefix, 24 "marvell,caldata-txpwrlimit-2g" (length = 566). 25 "marvell,caldata-txpwrlimit-5g-sub0" (length = 502). 26 "marvell,caldata-txpwrlimit-5g-sub1" (length = 688). 27 "marvell,caldata-txpwrlimit-5g-sub2" (length = 750). 28 "marvell,caldata-txpwrlimit-5g-sub3" (length = 502).
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
A D | eeprom.c | 95 struct mt76x02_rx_freq_cal *caldata = &dev->cal.rx; in mt76x0_set_freq_offset() local 101 caldata->freq_offset = val; in mt76x0_set_freq_offset() 107 caldata->freq_offset -= mt76x02_sign_extend(val, 8); in mt76x0_set_freq_offset() 113 struct mt76x02_rx_freq_cal *caldata = &dev->cal.rx; in mt76x0_read_rx_gain() local 119 caldata->lna_gain = mt76x02_get_lna_gain(dev, &lna_2g, lna_5g, chan); in mt76x0_read_rx_gain() 121 for (i = 0; i < ARRAY_SIZE(caldata->rssi_offset); i++) { in mt76x0_read_rx_gain() 126 caldata->rssi_offset[i] = val; in mt76x0_read_rx_gain()
|
/linux/Documentation/devicetree/bindings/mtd/partitions/ |
A D | brcm,bcm963xx-imagetag.txt | 36 caldata@7e0000 {
|
/linux/arch/arm/boot/dts/ |
A D | rk3288-veyron-jerry.dts | 51 marvell,caldata-txpwrlimit-2g = /bits/ 8 < 87 marvell,caldata-txpwrlimit-5g-sub0 = /bits/ 8 < 121 marvell,caldata-txpwrlimit-5g-sub1 = /bits/ 8 < 167 marvell,caldata-txpwrlimit-5g-sub2 = /bits/ 8 <
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | pci.c | 3038 u8 *caldata = NULL; in ath10k_pci_hif_fetch_cal_eeprom() local 3046 caldata = kmalloc(calsize, GFP_KERNEL); in ath10k_pci_hif_fetch_cal_eeprom() 3047 if (!caldata) in ath10k_pci_hif_fetch_cal_eeprom() 3053 ret = ath10k_pci_read_eeprom(ar, i, &caldata[i]); in ath10k_pci_hif_fetch_cal_eeprom() 3058 if (!ath10k_pci_validate_cal(caldata, calsize)) in ath10k_pci_hif_fetch_cal_eeprom() 3061 *data = caldata; in ath10k_pci_hif_fetch_cal_eeprom() 3067 kfree(caldata); in ath10k_pci_hif_fetch_cal_eeprom()
|
/linux/arch/arm64/boot/dts/qcom/ |
A D | qcs404.dtsi | 373 tsens_caldata: caldata@d0 {
|