Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/wireless/ath/ath9k/common.c, line 379
- drivers/net/wireless/ath/ath9k/htc_drv_main.c
- drivers/net/wireless/ath/ath9k/init.c, line 271
- drivers/net/wireless/ath/ath9k/main.c, line 242
Smatch caller information:
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_config() -> ath9k_cmn_update_txpow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | ah->power_mode | 0-2 |
| PARAM_VALUE | 0 | *ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 3 | txpower | 4096-ptr_max |
| 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 |
| LOCK2 | &priv->mutex | ||
| TYPE_LOCK | (struct ath9k_htc_priv)->mutex |
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_reset() -> ath9k_cmn_update_txpow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | *ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 3 | txpower | 4096-ptr_max |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | ah->msi_reg | 33554432-u32max |
| LOCK2 | &priv->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ath9k_htc_priv)->mutex |
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_set_channel() -> ath9k_cmn_update_txpow()
| 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->caldata->channelFlags | 0-5,8-9,24-25,40-41 |
| 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->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->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-4294967295 |
| PARAM_VALUE | 0 | *ah->tx_power | 0-255 |
| PARAM_VALUE | 3 | txpower | 4096-ptr_max |
| CAPPED_DATA | 0 | ah->curchan->channelFlags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| LOCK2 | &priv->mutex | ||
| TYPE_LOCK | (struct ath9k_htc_priv)->mutex |
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_start() -> ath9k_cmn_update_txpow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | *ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 3 | txpower | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | ah->msi_reg | 33554432-u32max |
| LOCK2 | &priv->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ath9k_htc_priv)->mutex |
drivers/net/wireless/ath/ath9k/main.c ath_complete_reset() -> ath9k_cmn_update_txpow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->imask | 0,16-u32max |
| PARAM_VALUE | 0 | ah->reg_ops.multi_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 | 3 | txpower | 4096-ptr_max |
| 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] |
| HOST_DATA | 0 | ah->tx_trig_level | 0-63[c] |
| LOCK2 | &sc->sc_pcu_lock | ||
| HALF_LOCKED2 | &sc->mutex | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct ath_softc)->sc_pcu_lock |
drivers/net/wireless/ath/ath9k/init.c ath9k_reg_notifier() -> ath9k_cmn_update_txpow()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | ah->paprd_ratemask_ht40 | 0-33554431 |
| PARAM_VALUE | 0 | ah->paprd_target_power | 0-255 |
| 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 | 3 | txpower | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |