Defined in 1 files as a function:
Referenced in 6 files:
- drivers/net/wireless/ath/ath12k/dp_htt.c, line 466
- drivers/net/wireless/ath/ath12k/dp_tx.c, line 252
- drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c, line 3401
- drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c
- drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c
- drivers/net/wireless/ath/ath12k/wifi7/hw.c
Smatch caller information:
drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c ath12k_dp_tx_htt_tx_complete_buf() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dp | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->dev_wake | 0-4294967295 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->dev_wake.counter | s32min-s32max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->wake_set | 0-1 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->window_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dp->ab->profile_param | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->device_stats.fw_tx_status | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->device_stats.tqm_rel_reason | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->device_stats.tx_wbm_rel_source | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hal->srng_list | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->tx | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->tx_ring | 4096-ptr_max |
| DATA_SOURCE | 0 | dp | $0 |
| DATA_SOURCE | 1 | pdev_idx | r ath12k_hw_mac_id_to_pdev_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ni->dev_lock |
drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c ath12k_wifi7_dp_tx_completion_handler() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dp | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->dev_wake.counter | s32min-s32max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->wlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dp->ab->profile_param | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->device_stats.tqm_rel_reason | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->device_stats.tx_wbm_rel_source | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hal->srng_list | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->tx | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->tx_ring | 4096-ptr_max |
| DATA_SOURCE | 0 | dp | $0 |
| DATA_SOURCE | 1 | pdev_idx | r ath12k_hw_mac_id_to_pdev_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c ath12k_wifi7_dp_mon_process_ring() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dp | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ab->num_radios | 1-s32max |
| PARAM_VALUE | 0 | dp->hw_params | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->num_rxdma_per_pdev | 1-2 |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->rx | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->rx_err | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->rx_mon_status | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->rx_wbm_rel | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->tx | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | dp | $0 |
| DATA_SOURCE | 1 | pdev_idx | r ath12k_hw_mac_id_to_pdev_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c ath12k_wifi7_dp_rx_process_err() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dp | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ag | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hal->srng_list | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->rx_err | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->tx | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | dp | $0 |
| DATA_SOURCE | 1 | pdev_idx | r ath12k_hw_mac_id_to_pdev_id |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &srng->lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct hal_srng)->lock |
drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c ath12k_wifi7_dp_rx_process_received_packets() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dp | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ab->pdevs | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ab->pdevs_active | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->hw_ops | 4096-ptr_max |
| DATA_SOURCE | 0 | dp | r ath12k_dp_hw_grp_to_dp |
| DATA_SOURCE | 1 | pdev_idx | r ath12k_hw_mac_id_to_pdev_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c ath12k_wifi7_dp_rx_process_wbm_err() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dp | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hal->ops->rx_desc_get_msdu_src_link_id | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->hw_ops | 4096-ptr_max |
| DATA_SOURCE | 0 | dp | r ath12k_dp_hw_grp_to_dp |
| DATA_SOURCE | 1 | pdev_idx | r ath12k_hw_mac_id_to_pdev_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/net/wireless/ath/ath12k/dp_tx.c ath12k_dp_tx_free_txbuf() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dp | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->dev_wake | 0-4294967295 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->dev_wake.counter | s32min-s32max |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->pm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->wake_set | 0-1 |
| PARAM_VALUE | 0 | dp->ab->drv_priv->window_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dp->ab->profile_param | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dp->device_stats.fw_tx_status | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->device_stats.tqm_rel_reason | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->device_stats.tx_wbm_rel_source | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hal->srng_list | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->hw_params->ring_mask->tx | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dp->tx_ring | 4096-ptr_max |
| DATA_SOURCE | 0 | dp | $0 |
| DATA_SOURCE | 1 | pdev_idx | r ath12k_hw_mac_id_to_pdev_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ni->dev_lock |
drivers/net/wireless/ath/ath12k/wifi7/hw.c ath12k_wifi7_mac_op_tx() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &local->handle_wake_tx_queue_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireless/ath/ath12k/wifi7/hw.c ath12k_wifi7_mac_op_tx() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dp->hw_params->iova_mask | 0,127 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &local->handle_wake_tx_queue_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireless/ath/ath12k/dp_htt.c ath12k_htt_pull_ppdu_stats() -> ath12k_dp_to_pdev_dp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pdev_idx | 0-1 |
| CAPPED_DATA | 1 | pdev_idx | 1 |
| FUZZY_MAX | 1 | pdev_idx | 0 |
| RX_PATH | |||
| USER_DATA | 1 | pdev_idx | 0-1[c] |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ab->core_lock | ||
| HALF_LOCKED2 | &ag->mutex | ||
| HALF_LOCKED2 | &pool->lock |