Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/wireless/ath/ath9k/htc_drv_init.c, line 1005
- drivers/net/wireless/ath/ath9k/htc_drv_main.c
Smatch caller information:
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_config() -> ath9k_htc_setpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | priv->ah->power_mode | 0-2 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *priv->ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *priv->ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 1 | mode | 2 |
| CAPPED_DATA | 0 | &priv->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | priv->ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | priv->ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | priv->ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | priv->ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | priv->ah->msi_reg | 33554432-u32max |
| LOCK2 | 0 | &priv->mutex | |
| TYPE_LOCK | (struct ath9k_htc_priv)->mutex |
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_config() -> ath9k_htc_setpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | priv->ah->power_mode | 0-2 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->ps_enabled | 0 |
| PARAM_VALUE | 0 | priv->ps_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | *priv->ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *priv->ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 1 | mode | 0 |
| CAPPED_DATA | 0 | &priv->mutex | 1 |
| CAPPED_DATA | 0 | &priv->ps_work | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | priv->ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | priv->ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | priv->ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | priv->ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | priv->ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | priv->ah->msi_reg | 33554432-u32max |
| LOCK2 | 0 | &priv->mutex | |
| TYPE_LOCK | (struct ath9k_htc_priv)->mutex |
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_start() -> ath9k_htc_setpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mode | 0 |
| CAPPED_DATA | 0 | &priv->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &priv->mutex | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ath9k_htc_priv)->mutex |
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_stop() -> ath9k_htc_setpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ah->btcoex_hw.aic.aic_enabled | 1 |
| PARAM_VALUE | 0 | priv->ah->btcoex_hw.bt_coex_weights | 0,65365,2829582336,2829647701,4244373504,4244438869 |
| PARAM_VALUE | 0 | priv->ah->btcoex_hw.enabled | 0 |
| PARAM_VALUE | 0 | priv->ah->btcoex_hw.mci.bt_state | 0-1 |
| PARAM_VALUE | 0 | priv->ah->btcoex_hw.mci.is_2g | 0 |
| PARAM_VALUE | 0 | priv->ah->btcoex_hw.mci.ready | 0 |
| PARAM_VALUE | 0 | priv->ah->chip_fullsleep | 1 |
| PARAM_VALUE | 0 | priv->ah->power_mode | 0-2 |
| PARAM_VALUE | 0 | priv->ah->reg_ops.write | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ani_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->coex_period_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->duty_cycle_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->fatal_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->htc->hif | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->htc->hif->stop | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->htc->hif_dev->htc_handle->cmd_wait.done | 0-4294967295 |
| PARAM_VALUE | 0 | priv->htc->hif_dev->htc_handle->cmd_wait.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc->hif_dev->htc_handle->cmd_wait.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->htc->hif_dev->htc_handle->cmd_wait.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->htc->hif_dev->htc_handle->cmd_wait.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->htc->hif_dev->htc_handle->drv_priv->debug.tx_stats.skb_failed | 0-4294967295 |
| PARAM_VALUE | 0 | priv->htc->hif_dev->htc_handle->htc_flags | 0-253 |
| PARAM_VALUE | 0 | priv->htc->hif_dev->tx.flags | 0-255 |
| PARAM_VALUE | 0 | priv->htc->hif_dev->tx.tx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc->hif_dev->tx.tx_skb_queue.qlen | 0-4294967295 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->led_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->ps_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->tx.cleanup_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | priv->tx.cleanup_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | priv->tx.cleanup_timer.function | 0 |
| PARAM_VALUE | 0 | priv->tx.flags | 0-253 |
| PARAM_VALUE | 0 | priv->tx.queued_cnt | 0-s32max |
| PARAM_VALUE | 0 | priv->tx.tx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->wmi | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wmi->drv_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wmi->drv_priv->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->wmi->event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->wmi->wmi_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *priv->ah->btcoex_hw->bt_weight | 3435938884 |
| PARAM_VALUE | 0 | *priv->ah->btcoex_hw->wlan_weight | 0-4294967295 |
| PARAM_VALUE | 1 | mode | 1 |
| CAPPED_DATA | 0 | &priv->fatal_work | 1 |
| CAPPED_DATA | 0 | &priv->led_work | 1 |
| CAPPED_DATA | 0 | &priv->mutex | 1 |
| CAPPED_DATA | 0 | &priv->ps_work | 1 |
| CAPPED_DATA | 0 | &priv->tx.cleanup_timer | 1 |
| PARAM_COMPARE | 0 | &priv->htc->hif_dev->mgmt_submitted.urb_list | == $0->htc->hif_dev->mgmt_submitted.urb_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | priv->ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | priv->ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | priv->ah->btcoex_hw.mci.last_recovery | 0-u32max |
| LOCK2 | 0 | &priv->mutex | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ath9k_htc_priv)->mutex |
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_ps_work() -> ath9k_htc_setpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_ps_work() -> ath9k_htc_setpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ah->chip_fullsleep | 1 |
| PARAM_VALUE | 0 | priv->ah->power_mode | 0-2 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->htc_pm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mode | 2 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | priv->ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | priv->ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/ath/ath9k/htc_drv_init.c ath9k_htc_suspend() -> ath9k_htc_setpower()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |