Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_drv_get_rate() -> ucode_rate_from_rs_rate()

Type Parameter Key Value
PARAM_VALUE 1 rate 4096-ptr_max
PARAM_VALUE 1 rate->index 0-255
BUF_SIZE 1 rate 20
CAPPED_DATA 1 rate->index 1
DATA_SOURCE 1 rate r rs_get_optimal_rate
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &lq_sta->pers.lock
LOCK2 &sta->rate_ctrl_lock
LOCK2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct lq_sta_pers)->lock
TYPE_LOCK (struct sta_info)->rate_ctrl_lock

drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_fill_rates_for_column() -> ucode_rate_from_rs_rate()

Type Parameter Key Value
PARAM_VALUE 0 mvm 4096-ptr_max
PARAM_VALUE 0 mvm->fw 4096-ptr_max
PARAM_VALUE 0 mvm->fw->ucode_capa._api 4096-ptr_max
PARAM_VALUE 0 mvm->fwrt.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 mvm->fwrt.trans->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 mvm->fwrt.trans->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 mvm->fwrt.trans->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_dram_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->mon_smem_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->num_of_queues 20,31,512
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->ucode_api_max 0,46,77,89,1106
PARAM_VALUE 0 mvm->fwrt.trans->mac_cfg->base->ucode_api_min 0,30,77,89,1102
PARAM_VALUE 0 mvm->nvm_data 0,4096-ptr_max
PARAM_VALUE 0 mvm->trans->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 mvm->trans->dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 mvm->trans->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 mvm->trans->dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 mvm->trans->mac_cfg->base->gp2_reg_addr 0,10497128,13642856
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dbgi_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_dram_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.cur_frag.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.cycle_cnt.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->mon_smem_regs.write_ptr.addr 0,1364689,10501156,10501160,10504044,10504052,10674504,13646876,13646892
PARAM_VALUE 0 mvm->trans->mac_cfg->base->ucode_api_max 0,46,77,89,1106
PARAM_VALUE 0 mvm->trans->mac_cfg->base->ucode_api_min 0,30,77,89,1102
PARAM_VALUE 0 mvm->trans->mac_cfg->base->wd_timeout 0,2500,10000
PARAM_VALUE 0 mvm->trans->restart.wk.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mvm->trans->restart.wk.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mvm->trans->restart.wk.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 rate 4877182600660598784
PARAM_VALUE 1 rate->type 1-3,5
DATA_SOURCE 0 mvm $0
DATA_SOURCE 1 rate $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mvm->trans->info.num_rxqs
LOCK2 &mvmsta->deflink.lq_sta.rs_drv.pers.lock
LOCK2 bh
HALF_LOCKED2 &sta->rate_ctrl_lock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &mvm->mutex
TYPE_LOCK (struct lq_sta_pers)->lock