Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/wireless/ath/ath9k/ar9002_calib.c
- drivers/net/wireless/ath/ath9k/ar9003_calib.c, line 164
- drivers/net/wireless/ath/ath9k/calib.c, line 361
- drivers/net/wireless/ath/ath9k/debug.c, line 1238
- drivers/net/wireless/ath/ath9k/hw.c
Smatch caller information:
drivers/net/wireless/ath/ath9k/debug.c write_file_nf_override() -> ath9k_hw_loadnf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan | 1-u64max |
| PARAM_VALUE | 0 | ah->nf_override | (-120)-0 |
| PARAM_VALUE | 1 | chan | 1-u64max |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ah->nf_override | (-120)-0 |
drivers/net/wireless/ath/ath9k/hw.c ath9k_hw_do_fastcc() -> ath9k_hw_loadnf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_list | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_list_curr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_list_curr->calState | 2 |
| PARAM_VALUE | 0 | ah->cal_list_last | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_samples | 0 |
| PARAM_VALUE | 0 | ah->caldata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->caldata->CalValid | 0 |
| PARAM_VALUE | 0 | ah->chip_fullsleep | 0 |
| PARAM_VALUE | 0 | ah->curchan | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | ah->modes_index | 1-4 |
| PARAM_VALUE | 0 | ah->noise | (-95)-32 |
| PARAM_VALUE | 0 | ah->pacal_info.prev_offset | 0-127 |
| PARAM_VALUE | 0 | ah->paprd_ratemask_ht40 | 0-33554431 |
| PARAM_VALUE | 0 | ah->paprd_target_power | 0-255 |
| PARAM_VALUE | 0 | ah->power_mode | 0-2 |
| PARAM_VALUE | 0 | ah->reg_ops.read | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->supp_cals | 4,6-7 |
| PARAM_VALUE | 0 | *ah->analogBank6Data | 0,268435456-805306368 |
| PARAM_VALUE | 0 | *ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->meas0.sign | s32min-s32max |
| PARAM_VALUE | 0 | *ah->meas1.sign | s32min-s32max |
| PARAM_VALUE | 0 | *ah->meas2.sign | s32min-s32max |
| PARAM_VALUE | 0 | *ah->meas3.sign | s32min-s32max |
| PARAM_VALUE | 0 | *ah->nf_2g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_2g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_5g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_5g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *ah->tx_power | 0-255 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->channelFlags | 0-5,8-9,24-25,40-41 |
| BUF_SIZE | 0 | ah->caldata | (-1)-0,792 |
| CAPPED_DATA | 0 | ah->power_mode | 1 |
| DATA_SOURCE | 0 | ah | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| FUZZY_MAX | 0 | ah->power_mode | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | ah->msi_reg | 0-u32max |
| HOST_DATA | 0 | ah->pacal_info.prev_offset | 1-127[c] |
| HALF_LOCKED2 | &priv->mutex | ||
| HALF_LOCKED2 | &sc->sc_pcu_lock |
drivers/net/wireless/ath/ath9k/hw.c ath9k_hw_reset() -> ath9k_hw_loadnf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->PDADCdelta | 0 |
| PARAM_VALUE | 0 | ah->cal_list | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_list_curr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_list_curr->calState | 2 |
| PARAM_VALUE | 0 | ah->cal_list_last | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_samples | 0 |
| PARAM_VALUE | 0 | ah->caldata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->caldata->CalValid | 0 |
| PARAM_VALUE | 0 | ah->chip_fullsleep | 0 |
| PARAM_VALUE | 0 | ah->curchan | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | ah->eep_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->globaltxtimeout | 0-u16max,u32max |
| PARAM_VALUE | 0 | ah->hw_version.macVersion | 448-u32max |
| PARAM_VALUE | 0 | ah->imrs2_reg | 0,8388608-u32max |
| PARAM_VALUE | 0 | ah->intr_txqs | 0 |
| PARAM_VALUE | 0 | ah->msi_reg | 33554432-u32max |
| PARAM_VALUE | 0 | ah->noise | (-95)-32 |
| PARAM_VALUE | 0 | ah->pacal_info.prev_offset | 0-127 |
| PARAM_VALUE | 0 | ah->paprd_ratemask_ht40 | 0-33554431 |
| PARAM_VALUE | 0 | ah->paprd_table_write_done | 0 |
| PARAM_VALUE | 0 | ah->paprd_target_power | 0-255 |
| PARAM_VALUE | 0 | ah->power_mode | 0-2 |
| PARAM_VALUE | 0 | ah->reg_ops.read | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->reg_ops.rmw | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->reg_ops.write | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ts_tail | 0 |
| PARAM_VALUE | 0 | *ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->meas0.sign | s32min-s32max |
| PARAM_VALUE | 0 | *ah->meas1.sign | s32min-s32max |
| PARAM_VALUE | 0 | *ah->meas2.sign | s32min-s32max |
| PARAM_VALUE | 0 | *ah->meas3.sign | s32min-s32max |
| PARAM_VALUE | 0 | *ah->nf_2g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_2g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_5g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_5g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *ah->originalGain | 0-127 |
| PARAM_VALUE | 0 | *ah->tx_power | 0-255 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->channelFlags | 0-5,8-9,24-25,40-41 |
| BUF_SIZE | 0 | ah->caldata | (-1)-0,792 |
| DATA_SOURCE | 0 | ah | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| FUZZY_MAX | 0 | ah->hw_version.macVersion | 448 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | ah->msi_reg | 33554432-u32max |
| HOST_DATA | 0 | ah->pacal_info.prev_offset | 1-127[c] |
| HALF_LOCKED2 | &priv->mutex | ||
| HALF_LOCKED2 | &sc->mutex | ||
| HALF_LOCKED2 | &sc->sc_pcu_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/ath/ath9k/ar9002_calib.c ar9002_hw_calibrate() -> ath9k_hw_loadnf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->caldata | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->noise | (-95)-32 |
| PARAM_VALUE | 0 | ah->reg_ops.read | 4096-ptr_max |
| PARAM_VALUE | 0 | *ah->meas0.unsign | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->meas1.unsign | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->meas2.unsign | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->meas3.unsign | 0-4294967295 |
| DATA_SOURCE | 0 | ah | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ah->ani.cckPhyErrCount | 0-u32max |
| HOST_DATA | 0 | ah->ani.ofdmPhyErrCount | 0-u32max |
drivers/net/wireless/ath/ath9k/ar9002_calib.c ar9002_hw_init_cal() -> ath9k_hw_loadnf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->caldata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->chip_fullsleep | 0 |
| PARAM_VALUE | 0 | ah->curchan | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | ah->eep_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->noise | (-95)-32 |
| PARAM_VALUE | 0 | ah->pacal_info.prev_offset | 0-127 |
| PARAM_VALUE | 0 | ah->paprd_ratemask_ht40 | 0-33554431 |
| PARAM_VALUE | 0 | ah->paprd_target_power | 0-255 |
| PARAM_VALUE | 0 | ah->power_mode | 0-2 |
| PARAM_VALUE | 0 | ah->reg_ops.read | 4096-ptr_max |
| PARAM_VALUE | 0 | *ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->nf_2g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_2g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_5g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *ah->nf_5g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->tx_power | 0-255 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->channelFlags | 0-5,8-9,24-25,40-41 |
| BUF_SIZE | 0 | ah->caldata | (-1)-0,792 |
| DATA_SOURCE | 0 | ah | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| FUZZY_MAX | 0 | ah->power_mode | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | ah->msi_reg | 0-u32max |
| HOST_DATA | 0 | ah->pacal_info.prev_offset | 1-127[c] |
| HALF_LOCKED2 | &priv->mutex | ||
| HALF_LOCKED2 | &sc->sc_pcu_lock |
drivers/net/wireless/ath/ath9k/ar9003_calib.c ar9003_hw_calibrate() -> ath9k_hw_loadnf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_list_curr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ah->cal_list_curr->calData->calType | 1-2,4 |
| PARAM_VALUE | 0 | ah->caldata | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->noise | (-95)-32 |
| PARAM_VALUE | 0 | ah->reg_ops.read | 4096-ptr_max |
| PARAM_VALUE | 0 | *ah->meas0.unsign | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->meas1.unsign | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->meas2.unsign | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->meas3.unsign | 0-4294967295 |
| DATA_SOURCE | 0 | ah | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ah->ani.cckPhyErrCount | 0-u32max |
| HOST_DATA | 0 | ah->ani.ofdmPhyErrCount | 0-u32max |