Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/wireless/ath/ath11k/cfr.c, line 908
- drivers/net/wireless/ath/ath11k/spectral.c, line 842
Smatch caller information:
drivers/net/wireless/ath/ath11k/cfr.c ath11k_cfr_ring_alloc() -> ath11k_dbring_wmi_cfg_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->db_caps | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->ab->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ar->ab->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->dev_wake | 0-4294967295 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->dev_wake.counter | s32min-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->wake_set | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->window_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->ab->num_db_cap | 1-u32max |
| PARAM_VALUE | 0 | ar->cfr.lut | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ar->cfr.rfs_cfr_capture->cb->create_buf_file | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->cfr.rfs_cfr_capture->cb->remove_buf_file | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->cfr.rfs_cfr_capture->cb->subbuf_start | 0,138543034212241408,1018314774752190464,6916900448547729408 |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.bufs_idr.idr_base | 0 |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.bufs_idr.idr_next | 0 |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.bufs_max | 0-1 |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.event_timeout_ms | 1 |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.refill_srng.cached | 1 |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.refill_srng.ring_id | 0-171 |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.refill_srng.size | 7 |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.refill_srng.vaddr | 0,8-ptr_max |
| PARAM_VALUE | 0 | ar->cfr.rx_ring.refill_srng.vaddr_unaligned | 1-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->bufs_max | 0-1 |
| PARAM_VALUE | 1 | ring->event_timeout_ms | 1 |
| PARAM_VALUE | 1 | ring->handler | 6250795474937913344 |
| PARAM_VALUE | 1 | ring->num_resp_per_event | 1 |
| PARAM_VALUE | 1 | ring->pdev_id | 0-255 |
| PARAM_VALUE | 1 | ring->refill_srng.cached | 1 |
| PARAM_VALUE | 1 | ring->refill_srng.ring_id | 0-171 |
| PARAM_VALUE | 1 | ring->refill_srng.size | 7 |
| PARAM_VALUE | 1 | ring->refill_srng.vaddr | 0,8-ptr_max |
| PARAM_VALUE | 1 | ring->refill_srng.vaddr_unaligned | 1-ptr_max |
| PARAM_VALUE | 2 | id | 1 |
| CAPPED_DATA | 0 | ar->pdev_idx | 1 |
| DATA_SOURCE | 0 | ar | $0 |
| NO_OVERFLOW_SIMPLE | 0 | ar->ab->hw_params.cfr_num_stream_bufs | |
| NO_OVERFLOW_SIMPLE | 0 | ar->ab->hw_params.cfr_stream_buf_size | |
| NO_OVERFLOW_SIMPLE | 0 | ar->cfr.rfs_cfr_capture->n_subbufs | |
| NO_OVERFLOW_SIMPLE | 0 | ar->cfr.rfs_cfr_capture->subbuf_size | |
| LOCK2 | &ab->core_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ath11k_base)->core_lock |
drivers/net/wireless/ath/ath11k/spectral.c ath11k_spectral_ring_alloc() -> ath11k_dbring_wmi_cfg_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->db_caps | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->ab->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->ab->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ar->ab->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->dev_wake | 0-4294967295 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->cntrl_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->dev_wake.counter | s32min-s32max |
| PARAM_VALUE | 0 | ar->ab->drv_priv->mhi_ctrl->mhi_dev->mhi_cntrl->wake_set | 0-1 |
| PARAM_VALUE | 0 | ar->ab->drv_priv->window_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->ab->num_db_cap | 1-u32max |
| PARAM_VALUE | 0 | ar->spectral.rfs_scan->cb->create_buf_file | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->spectral.rfs_scan->cb->remove_buf_file | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->spectral.rfs_scan->cb->subbuf_start | 0,138543034212241408,1018314774752190464,6916900448547729408 |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.bufs_idr.idr_base | 0 |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.bufs_idr.idr_next | 0 |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.bufs_max | 0-1 |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.event_timeout_ms | 1 |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.refill_srng.cached | 1 |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.refill_srng.ring_id | 0-171 |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.refill_srng.size | 7 |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.refill_srng.vaddr | 0,8-ptr_max |
| PARAM_VALUE | 0 | ar->spectral.rx_ring.refill_srng.vaddr_unaligned | 1-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->bufs_max | 0-1 |
| PARAM_VALUE | 1 | ring->event_timeout_ms | 1 |
| PARAM_VALUE | 1 | ring->handler | 6570704211511599104 |
| PARAM_VALUE | 1 | ring->num_resp_per_event | 2 |
| PARAM_VALUE | 1 | ring->pdev_id | 0-255 |
| PARAM_VALUE | 1 | ring->refill_srng.cached | 1 |
| PARAM_VALUE | 1 | ring->refill_srng.ring_id | 0-171 |
| PARAM_VALUE | 1 | ring->refill_srng.size | 7 |
| PARAM_VALUE | 1 | ring->refill_srng.vaddr | 0,8-ptr_max |
| PARAM_VALUE | 1 | ring->refill_srng.vaddr_unaligned | 1-ptr_max |
| PARAM_VALUE | 2 | id | 0 |
| CAPPED_DATA | 0 | ar->pdev_idx | 1 |
| DATA_SOURCE | 0 | ar | $0 |
| LOCK2 | &ab->core_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ath11k_base)->core_lock |