Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/net/wireless/mediatek/mt76/mt76x0/main.c, line 22
- drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c, line 98
- drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c, line 876
- drivers/net/wireless/mediatek/mt76/mt76x02_mac.c, line 1137
- drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c, line 66
- drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c, line 37
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt76x0/main.c mt76x0_set_channel() -> mt76x02_edcca_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->beacon_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cal.rx.lna_gain | (-128)-(-2),0-127 |
| 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->usb->mcu.data | 0-255 |
| PARAM_VALUE | 0 | dev->mt76->usb.mcu.data | 0-255 |
| 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->rr | 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 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.mcu.mutex.first_waiter->list.next | 5159360019465732096 |
| 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 | 0,5159360019465732096 |
| PARAM_VALUE | 0 | dev->mt76.mcu.mutex.first_waiter->magic | 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.osq.tail.counter | 0-s32max |
| 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->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->parent->dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->parent->dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->parent->iommu->attach_deferred | 0 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->pcr->pci->dev.dma_uses_io_tlb | 0-1 |
| 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.usb.mcu.rp->reg | 4,22,30,66-67,73,458825 |
| 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_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->phy_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->reg_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *dev->cal.rx->rssi_offset | (-10)-10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76x2u_phy_channel_calibrate() -> mt76x02_edcca_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cal.channel_cal_done | 0 |
| PARAM_VALUE | 0 | dev->cal.rx.high_gain | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.chandef.chan | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.chandef.chan->flags | 8-u32max |
| PARAM_VALUE | 0 | dev->mt76.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.bus->wr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->cal.rx.rssi_offset | (-128)-127 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | &dev->mutex | ||
| HALF_LOCKED2 | 0 | &dev->mt76.mutex | |
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76x02_dfs_set_domain() -> mt76x02_edcca_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mt76.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mt76.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mt76.mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &dev->mt76.mutex | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dev->mt76.mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c mt76_edcca_set() -> mt76x02_edcca_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ed_monitor_enabled | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mt76.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mt76.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mt76.mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dev->mt76.mutex | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->ed_monitor_enabled | 1 |
| HARD_MAX | 0 | dev->ed_monitor_enabled | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | dev->ed_monitor | 0-1 |
| USER_DATA | 0 | dev->ed_monitor_enabled | 0-1 |
| LOCK2 | &attr->mutex | ||
| LOCK2 | 0 | &dev->mt76.mutex | |
| TYPE_LOCK | (struct mt76_dev)->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x2_phy_channel_calibrate() -> mt76x02_edcca_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cal.channel_cal_done | 0 |
| PARAM_VALUE | 0 | dev->cal.rx.high_gain | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.chandef.chan | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.chandef.chan->flags | 8-u32max |
| 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->rr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.bus->wr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.drv->sta_ps | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->cal.rx.rssi_offset | (-128)-127 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | &dev->mutex | ||
| HALF_LOCKED2 | 0 | &dev->mt76.mutex | |
| TYPE_LOCK | (struct mt76_dev)->mutex |