Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/wireless/ath/ath6kl/main.c ath6kl_diag_write() -> ath6kl_diag_write32()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->bmi.cmd_credits 1-255
PARAM_VALUE 0 ar->bmi.done_sent 1
PARAM_VALUE 0 ar->bmi.max_cmd_size 12-u32max
PARAM_VALUE 0 ar->bmi.max_data_size 0-400
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.act_len 0-4294967295
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.buf_len 0-4294967295
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.endpoint s32min-s32max
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.info.rx.exp_hdr 0-4294967295
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.info.tx.flags 0-255
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.info.tx.seqno s32min-s32max
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.info.tx.tag 0-u16max
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.status s32min-s32max
PARAM_VALUE 0 ar->cookie_mem->map_no 0-4294967295
PARAM_VALUE 0 ar->credit_state_info.cur_free_credits 0
PARAM_VALUE 0 ar->ctrl_ep 0-8
PARAM_VALUE 0 ar->hif_ops 4096-ptr_max
PARAM_VALUE 0 ar->hif_ops->diag_read32 4096-ptr_max
PARAM_VALUE 0 ar->hif_ops->diag_write32 4096-ptr_max
PARAM_VALUE 0 ar->hif_ops->power_off 4096-ptr_max
PARAM_VALUE 0 ar->hif_ops->power_on 4096-ptr_max
PARAM_VALUE 0 ar->hif_ops->stop 4096-ptr_max
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ar->hif_priv->dma_buffer_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->hif_priv->func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->hif_priv->func->card->host->ongoing_mrq->cmd_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 ar->hif_priv->func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-1)
PARAM_VALUE 0 ar->hif_priv->func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 ar->hif_priv->func->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 ar->hif_priv->func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 ar->hif_priv->func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 ar->hif_priv->func->card->host->parent->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 ar->hif_priv->func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 ar->hif_priv->func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->private->pcr->pci->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 ar->hif_priv->func->card->host->private->pcr->pci->dev.iommu->priv->ppr 1
PARAM_VALUE 0 ar->hif_priv->func->cur_blksize 0-4294967295
PARAM_VALUE 0 ar->hif_priv->func->enable_timeout 100
PARAM_VALUE 0 ar->htc_ops->activity_changed 2829545212806377472,8399943371444596736
PARAM_VALUE 0 ar->htc_ops->add_rxbuf_multiple 7584411294536187904,8770697159239303168
PARAM_VALUE 0 ar->htc_ops->cleanup 2249855796649463808,3870195269393059840
PARAM_VALUE 0 ar->htc_ops->conn_service 4247658541017591808,5079594198842408960
PARAM_VALUE 0 ar->htc_ops->create 397735338448683008,2692665543448981504
PARAM_VALUE 0 ar->htc_ops->credit_setup 36861087855554560,8982172291932577792
PARAM_VALUE 0 ar->htc_ops->flush_rx_buf 5237574658988089344,6430991008851415040
PARAM_VALUE 0 ar->htc_ops->flush_txep 254059675541798912,1956738209066549248
PARAM_VALUE 0 ar->htc_ops->get_rxbuf_num 1298503613353574400,7064309310518534144
PARAM_VALUE 0 ar->htc_ops->rx_complete 0,4768016739263680512
PARAM_VALUE 0 ar->htc_ops->start 6475242029167411200,6991675705301278720
PARAM_VALUE 0 ar->htc_ops->stop 5792858099572133888,8406435221943382016
PARAM_VALUE 0 ar->htc_ops->tx 1138477239568023552,4127401194477993984
PARAM_VALUE 0 ar->htc_ops->tx_complete 0,4619359720265453568
PARAM_VALUE 0 ar->htc_ops->wait_target 1809070194451931136,3567442688655327232
PARAM_VALUE 0 ar->htc_target 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->cred_dist_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->credit_info 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->credit_info->total_avail_credits 0-u16max
PARAM_VALUE 0 ar->htc_target->dev 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->debug.fwlog_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ar->htc_target->dev->ar->debug.fwlog_completion.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->debug.fwlog_queue.next 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->debug.fwlog_queue.prev 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->debug.fwlog_queue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->debug.fwlog_queue.qlen 0-20
PARAM_VALUE 0 ar->htc_target->dev->ar->fw_recovery.recovery_work.entry.next 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->fw_recovery.recovery_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->dma_buffer_mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->dma_buffer_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->dma_buffer_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->claim_cnt s32min-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->cqe_on 0-1
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->doing_retune 0-1
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->led->brightness 0-4294967295
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->parent->dma_uses_io_tlb 0-1
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->private->cookie s32min-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->private->cookie_sg_count (-22),0-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->private->dma_len 1-4294967295
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->private->next_data.cookie s32min-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->private->next_data.dma_len 0-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->private->sg_count s32min-s32max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->retune_now 0-1
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->sdio_irqs 0-4294967295
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->func->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->scat_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->wr_async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops->conn_service 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops->credit_setup 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops->start 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops->stop 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops->wait_target 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->irq_en_reg.cntr_int_status_en 1
PARAM_VALUE 0 ar->htc_target->dev->irq_en_reg.err_int_status_en 3
PARAM_VALUE 0 ar->htc_target->dev->irq_en_reg.int_status_en 209
PARAM_VALUE 0 ar->htc_target->dev->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc_target->free_ctrl_rxbuf.prev->next 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->free_ctrl_rxbuf.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->free_ctrl_txbuf.prev 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->free_ctrl_txbuf.prev->next 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->free_ctrl_txbuf.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->htc_flags 0
PARAM_VALUE 0 ar->htc_target->htc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc_target->max_tx_bndl_sz s32min-12288
PARAM_VALUE 0 ar->htc_target->msg_per_bndl_max s32min-8
PARAM_VALUE 0 ar->htc_target->rx_bndl_enable 1
PARAM_VALUE 0 ar->htc_target->rx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ar->htc_target->rx_st_flags 0,2-u32max
PARAM_VALUE 0 ar->htc_target->tgt_cred_sz 0-u16max
PARAM_VALUE 0 ar->htc_target->tgt_creds 0-u16max
PARAM_VALUE 0 ar->version.abi_ver 1
PARAM_VALUE 0 ar->vif_max 0-s32max
PARAM_VALUE 0 ar->wmi->ep_id 0-8
PARAM_VALUE 0 *ar->ac2ep_map 0-8
PARAM_VALUE 0 *ar->ep2ac_map 0-255
PARAM_VALUE 0 *ar->hif_priv->diag_resp_buffer 0-255
PARAM_VALUE 0 *ar->htc_target->ac_tx_count 0-4294967295
PARAM_VALUE 0 *ar->htc_target->dev->ar->hif_priv->diag_resp_buffer 0-255
PARAM_VALUE 0 *ar->htc_target->dev->ar->hif_priv->dma_buffer 0-255
BUF_SIZE 0 ar->ath6kl_wq (-1),512,8712
BUF_SIZE 0 ar->hif_ops (-1),176
BUF_SIZE 0 ar->hif_priv (-1),3512,4728
BUF_SIZE 0 ar->htc_target (-1),3624
BUF_SIZE 0 ar->wmi (-1),216
CAPPED_DATA 0 ar->bmi.max_cmd_size 1
CAPPED_DATA 0 ar->vif_max 1
DATA_SOURCE 0 ar $0
DATA_SOURCE 1 address $1 [m]
MEM_ZERO 0 &ar->htc_target->dev->irq_proc_reg
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ar->fw_len
NO_OVERFLOW_SIMPLE 0 ar->fw_otp_len
NO_OVERFLOW_SIMPLE 0 ar->fw_patch_len
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/ath/ath6kl/debug.c ath6kl_regwrite_write() -> ath6kl_diag_write32()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->debug.diag_reg_addr_wr 16384-5767168
PARAM_VALUE 1 address 16384-5767168
BUF_SIZE 0 ar s32min-(-2),1-s32max
BUF_SIZE 0 ar s32min-(-2),1-s32max
CAPPED_DATA 0 ar->debug.diag_reg_addr_wr 1
CAPPED_DATA 1 address 1
USER_DATA 0 ar->debug.diag_reg_addr_wr 16384-5767168[c]
USER_DATA 0 ar->debug.diag_reg_val_wr 0-u32max
USER_DATA 1 address 16384-5767168[c]
USER_DATA 2 value 0-u32max
NO_OVERFLOW_SIMPLE 0 ar->debug.diag_reg_addr_wr
NO_OVERFLOW_SIMPLE 0 ar->debug.diag_reg_val_wr
NO_OVERFLOW_SIMPLE 1 address
NO_OVERFLOW_SIMPLE 2 value

drivers/net/wireless/ath/ath6kl/init.c ath6kl_init_hw_reset() -> ath6kl_diag_write32()

Type Parameter Key Value
PARAM_VALUE 0 ar 4096-ptr_max
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.act_len 0-4294967295
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.buf_len 0-4294967295
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.endpoint s32min-s32max
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.info.rx.exp_hdr 0-4294967295
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.info.tx.flags 0-255
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.info.tx.seqno s32min-s32max
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.info.tx.tag 0-u16max
PARAM_VALUE 0 ar->cookie_mem->htc_pkt.status s32min-s32max
PARAM_VALUE 0 ar->cookie_mem->map_no 0-4294967295
PARAM_VALUE 0 ar->hif_ops->power_off 4096-ptr_max
PARAM_VALUE 0 ar->hif_ops->power_on 4096-ptr_max
PARAM_VALUE 0 ar->hif_ops->stop 4096-ptr_max
PARAM_VALUE 0 ar->htc_ops->activity_changed 2829545212806377472,8399943371444596736
PARAM_VALUE 0 ar->htc_ops->add_rxbuf_multiple 7584411294536187904,8770697159239303168
PARAM_VALUE 0 ar->htc_ops->cleanup 2249855796649463808,3870195269393059840
PARAM_VALUE 0 ar->htc_ops->conn_service 4247658541017591808,5079594198842408960
PARAM_VALUE 0 ar->htc_ops->create 397735338448683008,2692665543448981504
PARAM_VALUE 0 ar->htc_ops->credit_setup 36861087855554560,8982172291932577792
PARAM_VALUE 0 ar->htc_ops->flush_rx_buf 5237574658988089344,6430991008851415040
PARAM_VALUE 0 ar->htc_ops->flush_txep 254059675541798912,1956738209066549248
PARAM_VALUE 0 ar->htc_ops->get_rxbuf_num 1298503613353574400,7064309310518534144
PARAM_VALUE 0 ar->htc_ops->rx_complete 0,4768016739263680512
PARAM_VALUE 0 ar->htc_ops->start 6475242029167411200,6991675705301278720
PARAM_VALUE 0 ar->htc_ops->stop 5792858099572133888,8406435221943382016
PARAM_VALUE 0 ar->htc_ops->tx 1138477239568023552,4127401194477993984
PARAM_VALUE 0 ar->htc_ops->tx_complete 0,4619359720265453568
PARAM_VALUE 0 ar->htc_ops->wait_target 1809070194451931136,3567442688655327232
PARAM_VALUE 0 ar->htc_target 0,4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->hif_priv->dma_buffer_mutex.dep_map->name 0-255
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops->stop 4096-ptr_max
PARAM_VALUE 0 ar->htc_target->dev->ar->htc_ops->wait_target 4096-ptr_max
PARAM_VALUE 0 ar->sem.first_waiter->up 0-1
PARAM_VALUE 0 *ar->htc_target->ac_tx_count 0-4294967295
PARAM_VALUE 1 address 16384
PARAM_VALUE 2 value 256
BUF_SIZE 0 ar->ath6kl_wq (-1),512,528-8720
BUF_SIZE 0 ar->hif_ops (-1),176
BUF_SIZE 0 ar->hif_priv (-1),3512,4728
BUF_SIZE 0 ar->htc_target (-1),3624
BUF_SIZE 0 ar->wmi (-1),216
DATA_SOURCE 0 ar $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ar->wmi->parent_dev->fw_len
NO_OVERFLOW_SIMPLE 0 ar->wmi->parent_dev->fw_otp_len
NO_OVERFLOW_SIMPLE 0 ar->wmi->parent_dev->fw_patch_len
HALF_LOCKED2 0 &ar->sem