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/mt7921/sdio_mac.c mt7921s_wfsys_reset() -> mt7921s_mcu_fw_pmctrl()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->hif_ops->mcu_init 4096-ptr_max
PARAM_VALUE 0 dev->mt76.alpha2 0,144,13835058055282163712
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus_hung.counter 0
PARAM_VALUE 0 dev->mt76.phy.leds.cdev.dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->mt76.phy.leds.cdev.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->mt76.phy.leds.cdev.trigger_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev->mt76.phy.leds.cdev.trigger_lock.first_waiter->type 0-1
PARAM_VALUE 0 dev->mt76.sdio.func 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->claimed 0
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->claimer 0
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->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->iommu->attach_deferred 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->pcr->pci->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->tmpbuf 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->__state 0,512
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->core_node.__rb_parent_color 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->core_node.rb_left 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->core_node.rb_right 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->cpus_ptr 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->delays->blkio_count 0-4294967295
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->delays->blkio_delay_max 1-s64max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->delays->blkio_delay_max_ts.tv_nsec 0-999999999
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->delays->blkio_delay_min 1-s64max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->delays->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->delays->lock.owner (-1)
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->delays->lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->dl.pi_se->pi_se 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->dl.rb_node.__rb_parent_color 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->mm->mm_cid.max_cids 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->mm->mm_cid.pcpu_thrs 1-1073741823
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->mm->mm_cid.update_deferred 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->pi_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->pushable_tasks.node_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->pushable_tasks.node_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->pushable_tasks.prio_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->pushable_tasks.prio_list.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->pushable_tasks.prio_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->rseq.event.ids_changed 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->sched_migrated 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->pelt_clock_throttled 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->removed.lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->rq->donor->__state 0,512
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->rq->donor->on_rq 0-1,3-255
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->rq->donor->rseq.event.ids_changed 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->rq->donor->sched_migrated 1
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->se.cfs_rq->rq->donor->wake_cpu 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->throttle_node.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->throttle_node.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->throttle_node.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->throttle_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->wake_cpu 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->worker_private->parked.done 0-4294967293,4294967295
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->worker_private->parked.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->worker_private->parked.wait.lock.owner (-1)
PARAM_VALUE 0 dev->mt76.sdio.txrx_worker.task->worker_private->parked.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 *dev->mt76.sdio->func->tmpbuf 31-255
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
CAPPED_DATA 0 dev->mt76.sdio.txrx_worker.task 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dev->mt76->sdio.func->tmpbuf 0-255
UNITS 0 dev unit_byte
HALF_LOCKED2 0 &dev->mt76.mutex

drivers/net/wireless/mediatek/mt76/mt792x_core.c mt792x_load_firmware() -> (struct mt792x_hif_ops)->fw_own()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->hif_ops 4096-ptr_max
PARAM_VALUE 0 dev->hif_ops->mcu_init 4096-ptr_max
PARAM_VALUE 0 dev->irq_map->rx.data_complete_mask 1,4,4096
PARAM_VALUE 0 dev->irq_map->rx.wm2_complete_mask 0,2,32768,4194304
PARAM_VALUE 0 dev->irq_map->rx.wm_complete_mask 1,8,16384
PARAM_VALUE 0 dev->irq_map->tx.all_complete_mask 134742000,235405296
PARAM_VALUE 0 dev->mt76.alpha2 0,144,13835058055282163712
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 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.drv->sta_ps 0,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 s32min-s32max
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 dev->mt76.mcu.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.mcu_ops 4096-ptr_max
PARAM_VALUE 0 dev->mt76.mcu_ops->headroom 0,4,32,64,68
PARAM_VALUE 0 dev->mt76.mcu_ops->max_retry 0-1
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_parse_response 396022216663597056,1798297417732042752,2682928937033089024,4676644736942673920,5981939223276920832,6365575011737792512,8498055563972861952
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_rd_rp 0,7340797154514407424
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_restart 0,8319246928040382464
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_rr 0,1597358527731208192
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_send_msg 0,4543376461987549184,5414446649499410432
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_skb_prepare_msg 0,4460907326358106112
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_skb_send_msg 0,4096-ptr_max
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_wr 0,7192196457011240960
PARAM_VALUE 0 dev->mt76.mcu_ops->mcu_wr_rp 0,4234968410858758144
PARAM_VALUE 0 dev->mt76.mcu_ops->tailroom 0,4,8
PARAM_VALUE 0 dev->mt76.queue_ops->tx_cleanup 0,4096-ptr_max
BUF_SIZE 0 dev->mt76.mcu_ops (-1),88
DATA_SOURCE 0 dev $0
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
HALF_LOCKED2 0 &dev->mt76.mutex

drivers/net/wireless/mediatek/mt76/mt792x_core.c mt792x_mcu_fw_pmctrl() -> (struct mt792x_hif_ops)->fw_own()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->hif_ops 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev->token_count 0
PARAM_VALUE 0 dev->phy.mt76 4096-ptr_max
PARAM_VALUE 0 dev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->pm.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->pm.mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 dev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->pm.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->pm.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->pm.wake.count 0
BUF_SIZE 0 dev s32min-(-1),1-s32max
BUF_SIZE 0 dev s32min-(-1),1-s32max
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
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
LOCK2 &pm->mutex
TYPE_LOCK (struct mt76_connac_pm)->mutex

drivers/net/wireless/mediatek/mt76/mt7925/pci.c mt7925_pci_probe() -> (struct mt792x_hif_ops)->fw_own()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus_ops 5494232309391540224
PARAM_VALUE 0 dev->bus_ops->rd_rp 1771160989876068352
PARAM_VALUE 0 dev->bus_ops->read_copy 7341346214090096640
PARAM_VALUE 0 dev->bus_ops->rmw 4348539046516875264
PARAM_VALUE 0 dev->bus_ops->rr 1357108612573749248
PARAM_VALUE 0 dev->bus_ops->type 0
PARAM_VALUE 0 dev->bus_ops->wr 3858624263258726400
PARAM_VALUE 0 dev->bus_ops->wr_rp 2500846239948140544
PARAM_VALUE 0 dev->bus_ops->write_copy 1720750378538070016
PARAM_VALUE 0 dev->hif_ops 8557336242943004672
PARAM_VALUE 0 dev->hif_ops->drv_own 577848669933330432
PARAM_VALUE 0 dev->hif_ops->fw_own 6003397070058553344
PARAM_VALUE 0 dev->hif_ops->init_reset 3325080189606924288
PARAM_VALUE 0 dev->hif_ops->mcu_init 2478239926750040064
PARAM_VALUE 0 dev->hif_ops->reset 5113609177545457664
PARAM_VALUE 0 dev->irq_map 1642778083352256512,4884502137704046592,6692968982236667904
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus->rmw 4097166215652315136
PARAM_VALUE 0 dev->mt76.bus->rr 2694134920534466560
PARAM_VALUE 0 dev->mt76.bus->wr 7967202996664487936
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.phy.priv 4096-ptr_max
PARAM_VALUE 0 dev->pcie_reg 286791121132912640,1856167439056478208
PARAM_VALUE 0 dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.dev->hif_ops 8557336242943004672
PARAM_VALUE 0 dev->phy.dev->irq_map 1642778083352256512,4884502137704046592,6692968982236667904
PARAM_VALUE 0 dev->phy.dev->mt76.bus 5494232309391540224
PARAM_VALUE 0 dev->phy.dev->pcie_reg 286791121132912640,1856167439056478208
PARAM_VALUE 0 dev->phy.dev->phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->phy.mt76 4096-ptr_max
BUF_SIZE 0 dev->hif_ops 40
BUF_SIZE 0 dev->irq_map 28
BUF_SIZE 0 dev->mt76.bus 64
BUF_SIZE 0 dev->mt76.phy.priv 13960
BUF_SIZE 0 dev->pcie_reg 8
BUF_SIZE 0 dev->phy.mt76 2952
BIT_INFO 0 dev->irq_map 0xc010d006002000,0x5fef7ff6b7fee000
BIT_INFO 0 dev->pcie_reg 0x1c2620110990000,0x1bfaef73d3dfa000
RX_PATH
TASK_NOT_RUNNING