Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c mt7996_eeprom_init() -> mt7996_eeprom_parse_hw_cap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->backup_l1 0-4294967295
PARAM_VALUE 0 dev->backup_l2 0-4294967295
PARAM_VALUE 0 dev->dump_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->dump_mutex.first_waiter 0
PARAM_VALUE 0 dev->dump_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->dump_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->dump_mutex.owner.counter 0
PARAM_VALUE 0 dev->eeprom_mode 0-3
PARAM_VALUE 0 dev->hif2 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->fail_mmc_request.ratelimit_state.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->private->regmap->cache->data 0-4294967295
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->private->ucr->cmd_buf 0-255
PARAM_VALUE 0 dev->mt76->sdio.func->tmpbuf 0-255
PARAM_VALUE 0 dev->mt76->test_mtd.name 0-255
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->rr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.state_add_uevent_sent 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.state_in_sysfs 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.state_initialized 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.state_remove_uevent_sent 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->kobj.uevent_suppress 0-1
PARAM_VALUE 0 dev->mt76.dev->of_node->phandle 0-4294967295
PARAM_VALUE 0 dev->mt76.dma_dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 dev->mt76.drv->sta_ps 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.eeprom.data 1-u64max
PARAM_VALUE 0 dev->mt76.eeprom.size 7680
PARAM_VALUE 0 dev->mt76.mcu.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76.mcu.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.mcu.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.mcu_ops 3357705508417679360
PARAM_VALUE 0 dev->mt76.mcu_ops->headroom 64
PARAM_VALUE 0 dev->mt76.mcu_ops->max_retry 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_parse_response 8498055563972861952
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_rd_rp 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_restart 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_rr 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_send_msg 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_skb_prepare_msg 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_skb_send_msg 6201112070083915776
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_wr 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_wr_rp 0
PARAM_VALUE 0 dev->mt76.mcu_ops->tailroom 0
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->pcie_base 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_dev 0-s64max
PARAM_VALUE 0 dev->mt76.phy.priv 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->claim_cnt s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->cqe_on 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->doing_retune 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.ratelimit_state.flags 0-4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.ratelimit_state.missed.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.space.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->led->brightness 0-4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->cmd_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-1)
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->dma_uses_io_tlb 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->lock.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->lock.osq.tail.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->priv->domain->pd_mode 0-2
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->dev->iommu->priv->domain->pscid (-4095)-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pcr->pcr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->ucr->dev_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->retune_now 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 0 dev->mt76.test_mtd.offset 0
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->hif2 0,4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->mt76.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.mt76 4096-ptr_max
PARAM_VALUE 0 dev->phy.mt76->dev 4096-ptr_max
PARAM_VALUE 0 dev->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->reset_wait.head.next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->var.fem 0-2
PARAM_VALUE 0 dev->var.type 0-2
PARAM_VALUE 0 dev->wed_rro.poll_list.next 4096-ptr_max
PARAM_VALUE 0 dev->wed_rro.poll_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->wed_rro.poll_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->wed_rro.poll_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->wed_rro.poll_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 *dev->mt76->dev->p->deferred_probe_reason 0-255
PARAM_VALUE 0 *dev->mt76.hw->wiphy->fw_version 0-255
PARAM_VALUE 1 phy 4096-ptr_max
PARAM_VALUE 1 phy->dev 4096-ptr_max
PARAM_VALUE 1 phy->mt76 4096-ptr_max
BUF_SIZE 0 dev->mt76.phy.priv 13440
BUF_SIZE 0 dev->phy.mt76 2952
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mt7996/init.c mt7996_register_phy() -> mt7996_eeprom_parse_hw_cap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dump_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->dump_mutex.first_waiter 0
PARAM_VALUE 0 dev->dump_mutex.magic 4096-ptr_max
PARAM_VALUE 0 dev->dump_mutex.osq.tail.counter 0
PARAM_VALUE 0 dev->dump_mutex.owner.counter 0
PARAM_VALUE 0 dev->hif2 0
PARAM_VALUE 0 dev->mphy.hw 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->chanctx_data_size 8
PARAM_VALUE 0 dev->mphy.hw->flags 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->max_rx_aggregation_subframes 256,1024
PARAM_VALUE 0 dev->mphy.hw->max_tx_aggregation_subframes 256,512,1024
PARAM_VALUE 0 dev->mphy.hw->max_tx_fragments 4
PARAM_VALUE 0 dev->mphy.hw->netdev_features 1099511627776,564049465049088
PARAM_VALUE 0 dev->mphy.hw->priv 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->queues 4
PARAM_VALUE 0 dev->mphy.hw->radiotap_timestamp.units_pos 1
PARAM_VALUE 0 dev->mphy.hw->sta_data_size 1672
PARAM_VALUE 0 dev->mphy.hw->vif_data_size 3208
PARAM_VALUE 0 dev->mphy.hw->wiphy 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy->flags 0,2-u32max
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations 6159770218840780800,7333234041913909248
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->beacon_int_min_gcd 0,100
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->limits 765085585329336320
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->max_interfaces 32,57
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->n_limits 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->num_different_channels 2-3
PARAM_VALUE 0 dev->mphy.hw->wiphy->iface_combinations->radar_detect_widths 47
PARAM_VALUE 0 dev->mphy.hw->wiphy->iftype_ext_capab 5710426077443567616
PARAM_VALUE 0 dev->mphy.hw->wiphy->iftype_ext_capab->ext_mld_capa_and_ops 0,256
PARAM_VALUE 0 dev->mphy.hw->wiphy->iftype_ext_capab->extended_capabilities_len 8-11
PARAM_VALUE 0 dev->mphy.hw->wiphy->iftype_ext_capab->iftype 0,2-3
PARAM_VALUE 0 dev->mphy.hw->wiphy->max_scan_ie_len 2304
PARAM_VALUE 0 dev->mphy.hw->wiphy->max_scan_ssids 4
PARAM_VALUE 0 dev->mphy.hw->wiphy->mbssid_max_interfaces 16
PARAM_VALUE 0 dev->mphy.hw->wiphy->n_iface_combinations 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->num_iftype_ext_capab 2
PARAM_VALUE 0 dev->mphy.hw->wiphy->radio->iface_combinations 4415751862979518464
PARAM_VALUE 0 dev->mphy.hw->wiphy->radio->n_freq_range 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->radio->n_iface_combinations 1
PARAM_VALUE 0 dev->mphy.hw->wiphy->reg_notifier 7133498138461728768
PARAM_VALUE 0 dev->mphy.hw->wiphy->txq_memory_limit 33554432
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->wr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->pcie_base 0-4294967295
PARAM_VALUE 0 dev->mt76.mmio.wed_hif2.hw->wed_dev 0-s64max
PARAM_VALUE 0 dev->mt76.phy.hw->wiphy->sar_capa->freq_ranges 1588472398671695872,2234421883889115136,2752340918958592000,3970840399040405504,4754012303986532352
PARAM_VALUE 0 dev->mt76.phy.hw->wiphy->sar_capa->num_freq_ranges 2,4,10-11
PARAM_VALUE 0 dev->mt76.phy.priv 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phys 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->hif2 0
PARAM_VALUE 0 dev->phy.dev->mphy.hw 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->mt76.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.mt76 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->reset_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->sta_rc_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->twt_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 *dev->mt76->dev->p->deferred_probe_reason 0-255
PARAM_VALUE 1 phy 4096-ptr_max
PARAM_VALUE 1 phy->dev 4096-ptr_max
PARAM_VALUE 1 phy->dev->dump_mutex.first_waiter 0
PARAM_VALUE 1 phy->dev->dump_mutex.magic 4096-ptr_max
PARAM_VALUE 1 phy->dev->dump_mutex.osq.tail.counter 0
PARAM_VALUE 1 phy->dev->dump_mutex.owner.counter 0
PARAM_VALUE 1 phy->dev->hif2 0
PARAM_VALUE 1 phy->dev->mphy.hw 4096-ptr_max
PARAM_VALUE 1 phy->dev->mt76.bus 4096-ptr_max
PARAM_VALUE 1 phy->dev->mt76.dev 4096-ptr_max
PARAM_VALUE 1 phy->dev->mt76.phy.priv 4096-ptr_max
PARAM_VALUE 1 phy->dev->phy.dev 4096-ptr_max
PARAM_VALUE 1 phy->dev->phy.mt76 4096-ptr_max
PARAM_VALUE 1 phy->dev->reset_wait.head.next 4096-ptr_max
PARAM_VALUE 1 phy->dev->reset_wait.head.prev 4096-ptr_max
PARAM_VALUE 1 phy->dev->sta_rc_list.next 4096-ptr_max
PARAM_VALUE 1 phy->dev->sta_rc_list.prev 4096-ptr_max
PARAM_VALUE 1 phy->dev->twt_list.next 4096-ptr_max
PARAM_VALUE 1 phy->dev->twt_list.prev 4096-ptr_max
PARAM_VALUE 1 phy->mt76 4096-ptr_max
PARAM_VALUE 1 phy->mt76->band_idx 1-2
PARAM_VALUE 1 phy->mt76->dev 4096-ptr_max
PARAM_VALUE 1 phy->mt76->priv 4096-ptr_max
BUF_SIZE 0 dev->mt76.phy.priv 13440
BUF_SIZE 0 dev->phy.mt76 2952
BUF_SIZE 1 phy 680,13440,13488,13960
BUF_SIZE 1 phy 680,13440,13488,13960
BUF_SIZE 1 phy->mt76 16392
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 phy unit_byte
HALF_LOCKED2 &pool->lock