Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/net/wireless/mediatek/mt76/mac80211.c, line 806
- drivers/net/wireless/mediatek/mt76/mt7603/init.c, line 553
- drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c, line 90
- drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c, line 330
- drivers/net/wireless/mediatek/mt76/mt76x0/init.c, line 246
- drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c, line 305
- drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c, line 231
- drivers/net/wireless/mediatek/mt76/mt7915/init.c, line 1284
- drivers/net/wireless/mediatek/mt76/mt7921/init.c, line 145
- drivers/net/wireless/mediatek/mt76/mt7925/init.c, line 212
- drivers/net/wireless/mediatek/mt76/mt7996/init.c, line 1782
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76x0_register_device() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.data | 1-u64max |
| PARAM_VALUE | 0 | dev->eeprom.size | 512 |
| PARAM_VALUE | 0 | dev->global_wcid.hw_key_idx | 255 |
| PARAM_VALUE | 0 | dev->global_wcid.idx | 255 |
| PARAM_VALUE | 0 | dev->region | 0 |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 3903860536636858368 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |
drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c mt76x2u_register_device() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.data | 1-u64max |
| PARAM_VALUE | 0 | dev->eeprom.size | 512 |
| PARAM_VALUE | 0 | dev->global_wcid.hw_key_idx | 255 |
| PARAM_VALUE | 0 | dev->global_wcid.idx | 255 |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->region | 0 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | rates | 3903860536636858368 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->mmio.irqmask | 0-u32max[c] |
| HOST_DATA | 0 | dev->rx_token.idr_rt.xa_flags | 0-u32max |
| HOST_DATA | 0 | dev->rxfilter | 0-u32max |
| HOST_DATA | 0 | dev->token.idr_rt.xa_flags | 0,67108864-u32max |
| UNITS | 3 | n_rates | unit_array_size |
drivers/net/wireless/mediatek/mt76/mt7996/init.c mt7996_register_device() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mcu_ops | 3357705508417679360 |
| PARAM_VALUE | 0 | dev->mmio.npu | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_hif2.hw_rro.desc | 1-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_hif2.hw_rro.pages | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_hif2.init_done | 1 |
| PARAM_VALUE | 0 | dev->mmio.wed_hif2.running | 1 |
| PARAM_VALUE | 0 | dev->mmio.wed_hif2.rx_buf_ring.desc | 1-ptr_max |
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->phy.priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->token_start | 8192 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->mmio.irqmask | 0-u32max[c] |
| HOST_DATA | 0 | dev->rx_token.idr_rt.xa_flags | 0-u32max |
| HOST_DATA | 0 | dev->rxfilter | 0-u32max |
| HOST_DATA | 0 | dev->token.idr_rt.xa_flags | 0,67108864-u32max |
| UNITS | 3 | n_rates | unit_array_size |
drivers/net/wireless/mediatek/mt76/mt7915/init.c mt7915_register_device() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.data | 1-u64max |
| PARAM_VALUE | 0 | dev->eeprom.size | 3584,4096 |
| PARAM_VALUE | 0 | dev->global_wcid.hw_key_idx | 255 |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mcu_ops | 7524744307767390208 |
| PARAM_VALUE | 0 | dev->phy.priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->test_ops | 5983508397941997568 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |
drivers/net/wireless/mediatek/mt76/mt7925/init.c mt7925_init_work() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->init_wiphy | 551632909048410112 |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| UNITS | 3 | n_rates | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c mt7663_usb_sdio_register_device() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.size | 19880 |
| PARAM_VALUE | 0 | dev->global_wcid.hw_key_idx | 255 |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->otp.data | 1-u64max |
| PARAM_VALUE | 0 | dev->otp.size | 1024,1536 |
| PARAM_VALUE | 0 | dev->phy.priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->test_ops | 8015689290667884544 |
| PARAM_VALUE | 0 | dev->tx_worker.fn | 3212211458157105152 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |
drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c mt7615_register_device() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.size | 19880 |
| PARAM_VALUE | 0 | dev->global_wcid.hw_key_idx | 255 |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->otp.data | 1-u64max |
| PARAM_VALUE | 0 | dev->otp.size | 1024,1536 |
| PARAM_VALUE | 0 | dev->phy.priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->test_ops | 8015689290667884544 |
| PARAM_VALUE | 0 | dev->tx_worker.fn | 3212211458157105152 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |
drivers/net/wireless/mediatek/mt76/mt7921/init.c mt7921_init_work() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| UNITS | 3 | n_rates | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/mediatek/mt76/mt7603/init.c mt7603_register_device() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.size | 1024 |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mcu_ops | 6153724107652546560 |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->napi_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->otp.data | 1-u64max |
| PARAM_VALUE | 0 | dev->otp.size | 1024 |
| PARAM_VALUE | 0 | dev->pre_tbtt_tasklet.use_callback | 1 |
| PARAM_VALUE | 0 | dev->queue_ops | 2083956260039860224 |
| PARAM_VALUE | 0 | dev->tx_napi.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.dev_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.dev_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.gro.rx_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.gro.rx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.irq | (-1) |
| PARAM_VALUE | 0 | dev->tx_napi.list_owner | (-1) |
| PARAM_VALUE | 0 | dev->tx_napi.napi_hash_node.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.poll | 8324646106727436288 |
| PARAM_VALUE | 0 | dev->tx_napi.poll_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.poll_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.poll_owner | (-1) |
| PARAM_VALUE | 0 | dev->tx_napi.timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.timer.function | 1-u64max |
| PARAM_VALUE | 0 | dev->tx_napi.weight | 64 |
| PARAM_VALUE | 0 | dev->tx_napi_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |
drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76x2_register_device() -> mt76_register_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->eeprom.data | 1-u64max |
| PARAM_VALUE | 0 | dev->eeprom.size | 512 |
| PARAM_VALUE | 0 | dev->global_wcid.hw_key_idx | 255 |
| PARAM_VALUE | 0 | dev->global_wcid.idx | 255 |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mcu_ops | 894305749492768768 |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mmio.wed_reset_complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->napi_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->otp.data | 1-u64max |
| PARAM_VALUE | 0 | dev->otp.size | 512 |
| PARAM_VALUE | 0 | dev->pre_tbtt_tasklet.use_callback | 1 |
| PARAM_VALUE | 0 | dev->queue_ops | 2083956260039860224 |
| PARAM_VALUE | 0 | dev->region | 0 |
| PARAM_VALUE | 0 | dev->tx_napi.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.dev_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.dev_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.gro.rx_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.gro.rx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.irq | (-1) |
| PARAM_VALUE | 0 | dev->tx_napi.list_owner | (-1) |
| PARAM_VALUE | 0 | dev->tx_napi.napi_hash_node.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.poll | 2059501837252628480 |
| PARAM_VALUE | 0 | dev->tx_napi.poll_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.poll_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.poll_owner | (-1) |
| PARAM_VALUE | 0 | dev->tx_napi.timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_napi.timer.function | 1-u64max |
| PARAM_VALUE | 0 | dev->tx_napi.weight | 64 |
| PARAM_VALUE | 0 | dev->tx_napi_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->tx_worker.fn | 1199800374917844992 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 3903860536636858368 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |