Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/wireless/ath/ath9k/debug.c write_file_tpc() -> ath9k_set_txpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sc->sc_ah | 4096-ptr_max |
| PARAM_VALUE | 1 | vif | 0 |
| BUF_SIZE | 0 | sc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sc | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &sc->mutex | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &sc->mutex | |
| TYPE_LOCK | (struct ath_softc)->mutex |
drivers/net/wireless/ath/ath9k/main.c ath9k_add_interface() -> ath9k_set_txpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->cur_chan | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->cur_chan->nvifs | s16min-1 |
| PARAM_VALUE | 0 | sc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sc->sc_ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | sc->sc_ah->msi_mask | 0-1,6-7 |
| PARAM_VALUE | 0 | sc->tx99_vif | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tx99_vif->type | 0-3,5-u32max |
| PARAM_VALUE | 1 | vif | 4096-ptr_max |
| PARAM_VALUE | 1 | vif->drv_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | vif->drv_priv->chanctx->flush_timeout | (-2),0-536870912 |
| PARAM_VALUE | 1 | vif->drv_priv->vif | 4096-ptr_max |
| PARAM_VALUE | 1 | vif->drv_priv->vif->type | 0-3,5-u32max |
| PARAM_VALUE | 1 | vif->type | 0-3,5-u32max |
| PARAM_VALUE | 1 | *vif->hw_queue | 0-255 |
| CAPPED_DATA | 0 | sc->cur_chan | 1 |
| CAPPED_DATA | 0 | &sc->mutex | 1 |
| DATA_SOURCE | 1 | vif | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sc->cur_chan->last_beacon | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->msi_reg | 0-u32max |
| HOST_DATA | 0 | sc->sched.next_tbtt | 0-u32max |
| LOCK2 | 0 | &sc->mutex | |
| HALF_LOCKED2 | &local->hw.wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ath_softc)->mutex |
drivers/net/wireless/ath/ath9k/main.c ath9k_bss_info_changed() -> ath9k_set_txpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sc->sc_ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | sc->sc_pm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | vif | 4096-ptr_max |
| PARAM_VALUE | 1 | vif->drv_priv | 4096-ptr_max |
| CAPPED_DATA | 0 | &sc->mutex | 1 |
| DATA_SOURCE | 1 | vif | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sc->cur_chan->last_beacon | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->msi_reg | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->pacal_info.prev_offset | 1-127[c] |
| HOST_DATA | 0 | sc->sc_ah->tx_trig_level | 0-63[c] |
| HOST_DATA | 0 | sc->sched.next_tbtt | 0-u32max |
| USER_DATA | 1 | vif->active_links | 0-u16max[c] |
| USER_DATA | 1 | vif->bss_conf.qos | 0-1[c] |
| LOCK2 | 0 | &sc->mutex | |
| TYPE_LOCK | (struct ath_softc)->mutex |
drivers/net/wireless/ath/ath9k/main.c ath9k_config() -> ath9k_set_txpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sc->sc_ah->btcoex_hw.aic.aic_cal_state | 0-3 |
| PARAM_VALUE | 0 | sc->sc_ah->btcoex_hw.aic.aic_enabled | 1 |
| PARAM_VALUE | 0 | sc->sc_ah->btcoex_hw.mci.bt_state | 0-1 |
| PARAM_VALUE | 0 | sc->sc_ah->chip_fullsleep | 1 |
| PARAM_VALUE | 0 | sc->sc_ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | sc->sc_ah->power_mode | 0 |
| PARAM_VALUE | 0 | sc->sc_pm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *sc->sc_ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *sc->sc_ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 1 | vif | 0 |
| CAPPED_DATA | 0 | &sc->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sc->cur_chan->last_beacon | 0-u32max |
| HOST_DATA | 0 | sc->dfs_detector->last_pulse_ts | 0-u64max |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->msi_reg | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->pacal_info.prev_offset | 1-127[c] |
| HOST_DATA | 0 | sc->sc_ah->tx_trig_level | 0-63[c] |
| HOST_DATA | 0 | sc->sched.next_tbtt | 0-u32max |
| LOCK2 | 0 | &sc->mutex | |
| TYPE_LOCK | (struct ath_softc)->mutex |
drivers/net/wireless/ath/ath9k/main.c ath9k_remove_interface() -> ath9k_set_txpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->cur_chan | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sc->p2p_ps_vif | 0 |
| PARAM_VALUE | 0 | sc->paprd_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->sc_ah->caldata | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->sc_ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | sc->sc_ah->msi_mask | 0-1,6-7 |
| PARAM_VALUE | 0 | sc->sc_pcu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->sc_pm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->tx.txbuf.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tx.txbuflock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->tx99_vif | 0 |
| PARAM_VALUE | 1 | vif | 0 |
| CAPPED_DATA | 0 | sc->cur_chan | 1 |
| CAPPED_DATA | 0 | &sc->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sc->cur_chan->last_beacon | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->msi_reg | 0-u32max |
| HOST_DATA | 0 | sc->sched.next_tbtt | 0-u32max |
| LOCK2 | 0 | &sc->mutex | |
| HALF_LOCKED2 | &local->hw.wiphy->mtx | ||
| HALF_LOCKED2 | &local->iflist_mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ath_softc)->mutex |