Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/wireless/mediatek/mt76/mt7921/pci.c
- drivers/net/wireless/mediatek/mt76/mt7925/pci.c, line 555
- drivers/net/wireless/mediatek/mt76/mt7925/pci_mac.c, line 126
- drivers/net/wireless/mediatek/mt76/mt7925/pci_mcu.c, line 38
- drivers/net/wireless/mediatek/mt76/mt792x_core.c, line 1088
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt7925/pci_mcu.c mt7925e_mcu_init() -> mt792xe_mcu_fw_pmctrl()
| 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->mt76.alpha2 | 0,144,13835058055282163712 |
| PARAM_VALUE | 0 | dev->mt76.mcu_ops | 9082955735019384832 |
| 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 | 5981939223276920832 |
| 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 | 8793557062270005248 |
| 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 |
| BUF_SIZE | 0 | dev->mt76.mcu_ops | 88 |
| DATA_SOURCE | 0 | dev | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/mediatek/mt76/mt7921/pci.c mt7921_pci_probe() -> mt792xe_mcu_fw_pmctrl()
| 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 | 152655860370644992 |
| 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 | 1283783010592747520 |
| PARAM_VALUE | 0 | dev->hif_ops->mcu_init | 4778926807966117888 |
| PARAM_VALUE | 0 | dev->hif_ops->reset | 5469708183443951616 |
| PARAM_VALUE | 0 | dev->irq_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->irq_map->rx.all_complete_mask | 7,11,53248,4194309 |
| PARAM_VALUE | 0 | dev->irq_map->rx.data_complete_mask | 1,4,4096 |
| PARAM_VALUE | 0 | dev->irq_map->rx.wm2_complete_mask | 0,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->irq_map->tx.mcu_complete_mask | 201326592,234881024 |
| PARAM_VALUE | 0 | dev->mt76.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.bus->rmw | 454150841618386944 |
| PARAM_VALUE | 0 | dev->mt76.bus->rr | 4109745233477988352 |
| PARAM_VALUE | 0 | dev->mt76.bus->wr | 8632343317118582784 |
| 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.regs | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.phy.priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pcie_reg | 8665624206804680704 |
| PARAM_VALUE | 0 | dev->pcie_reg->imask | 65928 |
| PARAM_VALUE | 0 | dev->pcie_reg->pm | 65940 |
| PARAM_VALUE | 0 | dev->phy.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.dev->hif_ops | 152655860370644992 |
| PARAM_VALUE | 0 | dev->phy.dev->irq_map | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.dev->mt76.bus | 5494232309391540224 |
| PARAM_VALUE | 0 | dev->phy.dev->mt76.mmio.regs | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.dev->pcie_reg | 8665624206804680704 |
| 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 |
| FUZZY_MAX | 0 | dev->irq_map->rx.all_complete_mask | 4194309 |
| FUZZY_MAX | 0 | dev->irq_map->rx.data_complete_mask | 4 |
| FUZZY_MAX | 0 | dev->irq_map->rx.wm2_complete_mask | 4194304 |
| FUZZY_MAX | 0 | dev->irq_map->rx.wm_complete_mask | 1 |
| FUZZY_MAX | 0 | dev->irq_map->tx.all_complete_mask | 134742000 |
| FUZZY_MAX | 0 | dev->irq_map->tx.mcu_complete_mask | 201326592 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
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 |