Defined in 2 files as a prototype:
- drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h, line 373 (as a prototype)
- drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h, line 375 (as a prototype)
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/wireless/mediatek/mt76/mt7615/dma.c
- drivers/net/wireless/mediatek/mt76/mt7615/init.c
- drivers/net/wireless/mediatek/mt76/mt7615/mmio.c, line 139
- drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c, line 35
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt7615/mmio.c __mt7615_reg_addr() -> mt7615_reg_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1048576-u32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| FUZZY_MAX | 1 | addr | 1048576 |
drivers/net/wireless/mediatek/mt76/mt7615/pci_init.c mt7615_init_hardware() -> mt7615_reg_map()
| 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->coredump.msg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->coredump.msg_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->coredump.msg_list.qlen | 0 |
| PARAM_VALUE | 0 | dev->mphy.hw | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.hw->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.hw->max_rate_tries | 11 |
| PARAM_VALUE | 0 | dev->mphy.hw->max_rates | 3 |
| PARAM_VALUE | 0 | dev->mphy.hw->max_report_rates | 7 |
| PARAM_VALUE | 0 | dev->mphy.hw->max_tx_fragments | 4,6 |
| PARAM_VALUE | 0 | dev->mphy.hw->netdev_features | 1099511627776 |
| PARAM_VALUE | 0 | dev->mphy.hw->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.hw->queues | 4 |
| PARAM_VALUE | 0 | dev->mphy.hw->radiotap_timestamp.units_pos | 1 |
| PARAM_VALUE | 0 | dev->mphy.hw->sta_data_size | 1120 |
| PARAM_VALUE | 0 | dev->mphy.hw->vif_data_size | 1200 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->available_antennas_rx | 0-u16max |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->available_antennas_tx | 0-u16max |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->iface_combinations | 44979356037091328,1118390431569092608 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->max_match_sets | 16 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->max_scan_ie_len | 600 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->max_scan_ssids | 4 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->max_sched_scan_ie_len | 2304 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->max_sched_scan_plan_interval | u16max |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->max_sched_scan_reqs | 1 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->max_sched_scan_ssids | 10 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->n_iface_combinations | 1 |
| PARAM_VALUE | 0 | dev->mphy.hw->wiphy->reg_notifier | 2940796562720043008 |
| PARAM_VALUE | 0 | dev->mphy.leds.cdev.blink_set | 2141742978049904640 |
| PARAM_VALUE | 0 | dev->mphy.leds.cdev.brightness_set | 8595156638829629440 |
| PARAM_VALUE | 0 | dev->mphy.sband_2g.sband->ht_cap->mcs.rx_mask | 0,255 |
| PARAM_VALUE | 0 | dev->mphy.sband_5g.sband->ht_cap->mcs.rx_mask | 0,255 |
| PARAM_VALUE | 0 | dev->mphy.sband_5g.sband.vht_cap.cap | 0,8-u32max |
| PARAM_VALUE | 0 | dev->mphy.sband_6g.sband->ht_cap->mcs.rx_mask | 0,255 |
| PARAM_VALUE | 0 | dev->mphy.sband_6g.sband.vht_cap.cap | 0,268435456-u32max |
| PARAM_VALUE | 0 | dev->mt76.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.bus->rmw | 7761636183658262528 |
| PARAM_VALUE | 0 | dev->mt76.bus->rr | 7415260891653267456 |
| PARAM_VALUE | 0 | dev->mt76.bus->wr | 5909838252914905088 |
| PARAM_VALUE | 0 | dev->mt76.dev | 4096-ptr_max |
| 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->mt76.test_ops | 8015689290667884544 |
| PARAM_VALUE | 0 | dev->mt76.test_ops->dump_stats | 5950483691299532800 |
| PARAM_VALUE | 0 | dev->mt76.test_ops->set_params | 5554024066469896192 |
| PARAM_VALUE | 0 | dev->mt76.test_ops->set_state | 6923454538932342784 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.fn | 3212211458157105152 |
| PARAM_VALUE | 0 | dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ops->add_chanctx | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->add_interface | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->change_chanctx | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->config | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->configure_filter | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->remove_chanctx | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->remove_interface | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->start | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->stop | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->tx | 1-u64max |
| PARAM_VALUE | 0 | dev->ops->wake_tx_queue | 1-u64max |
| PARAM_VALUE | 0 | dev->phy.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.dev->mt76.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.dev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.dev->phy.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.dev->reg_map | 699895416020897792,6820244688230838272,8081194089327267840 |
| PARAM_VALUE | 0 | dev->phy.mt76 | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.roc_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | dev->phy.roc_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | dev->phy.roc_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->phy.roc_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.roc_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.roc_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.roc_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.roc_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.scan_event_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.scan_event_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.scan_event_list.qlen | 0 |
| PARAM_VALUE | 0 | dev->pm.idle_timeout | 20 |
| PARAM_VALUE | 0 | dev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->pm.mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | dev->pm.mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm.mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dev->pm.mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | dev->pm.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm.wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm.wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pm.wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reg_map | 699895416020897792,8081194089327267840 |
| PARAM_VALUE | 0 | dev->reset_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reset_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reset_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reset_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reset_wait.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | dev->mt76.bus | 64 |
| BUF_SIZE | 0 | dev->ops | 1032 |
| BUF_SIZE | 0 | dev->reg_map | 96 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->reg_map | 0x26032403509000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt7615_wait_pdma_busy() -> mt7615_reg_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mphy.dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76->mcu.mutex.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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->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.mcu.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.mcu.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mt76.mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mt76.queue_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.queue_ops->tx_cleanup | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.rx_lock.rlock.dep_map->name | 0-255 |
| 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->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->private->cookie | s32min-s32max |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->cookie_sg_count | (-22),0-s32max |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->iommu->lock.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->iommu->lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->iommu->priv->domain->pd_mode | 0-2 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dev->iommu->priv->domain->pscid | (-4095)-s32max |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->dma_len | 1-4294967295 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->next_data.cookie | s32min-s32max |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->next_data.dma_len | 0-s32max |
| 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.dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->sg_count | s32min-s32max |
| PARAM_VALUE | 0 | dev->mt76.sdio.func->card->host->private->ucr->dev_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mt76.status_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.usb.usb_ctrl_mtx->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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->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.wed_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->reg_map | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 2181039364 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt7622_dma_sched_init() -> mt7615_reg_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->infracfg->async | 0-1 |
| PARAM_VALUE | 0 | dev->infracfg->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | dev->mphy.dev->dma_dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | dev->mphy.dev->sdio.txrx_worker.task->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->mphy.dev->sdio.txrx_worker.task->ptracer_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dev->mphy.dev->sdio.txrx_worker.task->ptracer_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dev->mphy.dev->sdio.txrx_worker.task->ptracer_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | dev->mphy.dev->sdio.txrx_worker.task->ptracer_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | dev->mphy.dev->sdio.txrx_worker.task->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | dev->mphy.q_tx | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.drv->rx_check | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.q_mcu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.queue_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.rx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.status_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->delays->blkio_delay_max | 0-s64max |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->delays->blkio_delay_min | 0-s64max |
| PARAM_VALUE | 0 | dev->reg_map | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 1342218240 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | 0 | &dev->mt76.mutex |
drivers/net/wireless/mediatek/mt76/mt7615/init.c mt7615_led_set_config() -> mt7615_reg_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 2147631120-2147633160 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &led_cdev->led_access | ||
| HALF_LOCKED2 | &led_cdev->trigger_lock |
drivers/net/wireless/mediatek/mt76/mt7615/init.c mt7615_led_set_config() -> mt7615_reg_map()
| 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.bus->wr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reg_map | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 2147631124-2147633164 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &led_cdev->led_access | ||
| HALF_LOCKED2 | &led_cdev->trigger_lock |
drivers/net/wireless/mediatek/mt76/mt7615/init.c mt7615_led_set_config() -> mt7615_reg_map()
| 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.bus->wr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reg_map | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 2147631104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->mt76->sdio.func->tmpbuf | 0-255 |
| HALF_LOCKED2 | &led_cdev->led_access | ||
| HALF_LOCKED2 | &led_cdev->trigger_lock |