Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_add_interface() -> mt7615_mac_wtbl_update()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
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 0-s32max
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 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->pm.ps_work.work.lockdep_map->name 0-255
PARAM_VALUE 1 idx 16-31,112-127
PARAM_VALUE 2 mask 4096
DATA_SOURCE 0 dev r mt7615_hw_dev
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->mt76.mutex
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mac_sta_add() -> mt7615_mac_wtbl_update()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 idx 0-65310
PARAM_VALUE 2 mask 4096
CAPPED_DATA 1 idx 1
DATA_SOURCE 1 idx r mt76_wcid_alloc
BIT_INFO 1 idx 0x0,0x7f
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mdev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mac_sta_remove() -> mt7615_mac_wtbl_update()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->pm.txq_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 mask 4096
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt7615/init.c mt7615_mac_init() -> mt7615_mac_wtbl_update()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mcu_ops->add_beacon_offload 7454727161580126208,8418077930748579840
PARAM_VALUE 0 dev->mcu_ops->add_bss_info 2403359945483186176,5901531340161974272
PARAM_VALUE 0 dev->mcu_ops->add_dev_info 8444587522077446144,8519535704713076736
PARAM_VALUE 0 dev->mcu_ops->add_rx_ba 455314807563698176,2853812663304613888,4026822676534116352
PARAM_VALUE 0 dev->mcu_ops->add_tx_ba 683580800535445504,3630624357731774464,3997417460458790912
PARAM_VALUE 0 dev->mcu_ops->set_drv_ctrl 3337921265288286208,3735895768072257536,9063449185847382016
PARAM_VALUE 0 dev->mcu_ops->set_fw_ctrl 3548628310151233536,5877573813782609920
PARAM_VALUE 0 dev->mcu_ops->set_pm_state 5541274962181709824,8014630959335211008
PARAM_VALUE 0 dev->mcu_ops->set_sta_decap_offload 1566253948517085184,4204825042704158720,6869734125146701824
PARAM_VALUE 0 dev->mcu_ops->sta_add 2825590206596644864,4687753558802366464,7875840678696423424
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->rmw 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->wr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.mcu.mutex.dep_map->name 0-255
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->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.mcu_ops 3084305845377191936,4189819964035870720,7301314734503608320
PARAM_VALUE 0 dev->mt76.mcu_ops->headroom 64,68
PARAM_VALUE 0 dev->mt76.mcu_ops->max_retry 0
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_parse_response 4676644736942673920
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,1597358527731208192
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 2346980681644343296,4744192334003142656,8089529452021096448
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_wr 0,7192196457011240960
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_wr_rp 0
PARAM_VALUE 0 dev->mt76.mcu_ops->tailroom 0,4
PARAM_VALUE 0 dev->phy.cck_sensitivity (-110)
PARAM_VALUE 0 dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->backup_l1 0-4294967295
PARAM_VALUE 0 dev->phy.dev->backup_l2 0-4294967295
PARAM_VALUE 0 dev->phy.dev->mt76->sdio.func->card->host->private->regmap->cache->data 0-4294967295
PARAM_VALUE 0 dev->phy.dev->mt76->sdio.func->card->host->private->ucr->cmd_buf 0-255
PARAM_VALUE 0 dev->phy.dev->mt76->sdio.func->tmpbuf 0-255
PARAM_VALUE 0 dev->phy.dev->mt76->usb->data 0-255
PARAM_VALUE 0 dev->phy.dev->mt76.phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->mt76.phy.mac_work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->claim_cnt s32min-s32max
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->cqe_on 0-1
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->doing_retune 0-1
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->fail_mmc_request.ratelimit_state.flags 0-4294967295
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->fail_mmc_request.space.counter s32min-s32max
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->led->brightness 0-4294967295
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->ongoing_mrq->cmd_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->parent->dma_uses_io_tlb 0-1
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->private->pcr->pci->dev.dma_uses_io_tlb 0-1
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->retune_now 0-1
PARAM_VALUE 0 dev->phy.dev->mt76.sdio.func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 0 dev->phy.dev->mt76.usb.usb_ctrl_mtx.dep_map->name 0-255
PARAM_VALUE 0 dev->phy.dev->mt76.usb.usb_ctrl_mtx.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->phy.dev->mt76.usb.usb_ctrl_mtx.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->phy.dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->phy.dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->phy.dev->mt76.usb.usb_ctrl_mtx.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->phy.dev->mt76.usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->phy.dev->pm.ps_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->pm.ps_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 dev->phy.dev->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->phy.ofdm_sensitivity (-98)
PARAM_VALUE 0 dev->reg_map 4096-ptr_max
PARAM_VALUE 0 *dev->mt76.hw->wiphy->fw_version 0-255
PARAM_VALUE 0 *dev->mt76.mcu_ops->mcu_parse_response 4676644736942673920
PARAM_VALUE 0 *dev->mt76.mcu_ops->mcu_rr 1597358527731208192
PARAM_VALUE 0 *dev->mt76.mcu_ops->mcu_wr 7192196457011240960
PARAM_VALUE 1 idx 0-127
PARAM_VALUE 2 mask 4096
CAPPED_DATA 0 &dev->phy 1
DATA_SOURCE 0 dev $0
FUZZY_MAX 1 idx 127
HARD_MAX 0 dev->mt76.mcu_ops->headroom 68
HARD_MAX 0 dev->mt76.mcu_ops->tailroom 4
HARD_MAX 1 idx 127
NOCHECK_CALL
HOST_DATA 0 dev->mt76->sdio.func->tmpbuf 0-255
HOST_DATA 0 dev->mt76.mmio.irqmask 0-u32max[c]
HOST_DATA 0 dev->mt76.rx_token.idr_rt.xa_flags 0-u32max
HOST_DATA 0 dev->mt76.rxfilter 0-u32max
HOST_DATA 0 dev->mt76.token.idr_rt.xa_flags 0,67108864-u32max
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt7615_mac_sta_poll() -> mt7615_mac_wtbl_update()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sta_poll_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->reg_map 4096-ptr_max
PARAM_VALUE 2 mask 4096
CAPPED_DATA 0 &dev->mt76.sta_poll_list 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dev->mt76.mmio.irqmask 0-u32max[c]
HOST_DATA 0 dev->mt76.rx_token.idr_rt.xa_flags 0-u32max
HOST_DATA 0 dev->mt76.rxfilter 0-u32max
HOST_DATA 0 dev->mt76.token.idr_rt.xa_flags 0,67108864-u32max
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &dev->mt76.mutex

drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt7615_mac_wtbl_update_pk() -> mt7615_mac_wtbl_update()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76->usb->data 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.mcu.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->list.prev->next 5159360019465732096
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->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev->bus 4096-ptr_max
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->reg_map 4096-ptr_max
PARAM_VALUE 2 mask 2048
DATA_SOURCE 0 dev $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 dev->mt76->sdio.func->tmpbuf 0-255
LOCK2 0 &dev->mt76.mutex
HALF_LOCKED2 bh
HALF_LOCKED2 0 &dev->mt76.lock
TYPE_LOCK (struct mt76_dev)->mutex