Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/wireless/ath/ath9k/hw.c ath9k_hw_channel_change() -> ath9k_hw_init_cal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ah_flags | 0,4-u32max |
| 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->iniModesTxGain.ia_rows | 0-s32max |
| PARAM_VALUE | 0 | ah->modes_index | 1-4 |
| PARAM_VALUE | 0 | ah->noise | (-95)-32 |
| 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->analogBank6Data | 0,268435456-805306368 |
| 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->iniModesTxGain.ia_rows | 1 |
| CAPPED_DATA | 0 | ah->power_mode | 1 |
| DATA_SOURCE | 0 | ah | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| FUZZY_MAX | 0 | ah->power_mode | 0 |
| BIT_INFO | 0 | ah->ah_flags | 0x4,0xffffffff |
| 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_init_cal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->PDADCdelta | 0 |
| 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->globaltxtimeout | 0-u16max,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->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->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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/ar9003_mci.c ar9003_mci_end_reset() -> ath9k_hw_init_cal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->PDADCdelta | 0 |
| PARAM_VALUE | 0 | ah->btcoex_hw.mci.bt_state | 1 |
| PARAM_VALUE | 0 | ah->btcoex_hw.mci.ready | 1 |
| 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->caps.hw_caps | 32768-u32max |
| PARAM_VALUE | 0 | ah->chip_fullsleep | 0 |
| PARAM_VALUE | 0 | ah->common.btcoex_enabled | 1 |
| 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->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 |
| BIT_INFO | 1 | chan->channelFlags | 0x0,0x3e |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |