Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c
- drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c, line 23
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76x2u_phy_channel_calibrate() -> mt76x2u_mac_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cal.channel_cal_done | 0 |
| 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.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 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dev->mt76.mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c mt76x2u_init_hardware() -> mt76x2u_mac_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->beacon_ops | 3277601970259644416 |
| PARAM_VALUE | 0 | dev->beacon_ops->beacon_enable | 4128589824995876864 |
| PARAM_VALUE | 0 | dev->beacon_ops->nslots | 5 |
| PARAM_VALUE | 0 | dev->beacon_ops->pre_tbtt_enable | 2181763258694025216 |
| PARAM_VALUE | 0 | dev->beacon_ops->slot_size | 1600 |
| PARAM_VALUE | 0 | dev->mphy.macaddr | 4096-ptr_max |
| 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.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.mcu.mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->mt76.mcu.mutex.dep_map->name | 0-255 |
| 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->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->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->mt76.mcu_ops | 4096-ptr_max |
| 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->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->pcr->pci->dev.iommu->attach_deferred | 0-1 |
| 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->pre_tbtt_timer._softexpires | 0 |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.function | 1-u64max |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.is_hard | 0 |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.is_lazy | 0 |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.is_queued | 0 |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.is_rel | 0 |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.is_soft | 0 |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.node.expires | 0 |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.node.node.next | 0 |
| PARAM_VALUE | 0 | dev->pre_tbtt_timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | dev->reg_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *dev->mphy.macaddr | 0-255 |
| PARAM_VALUE | 0 | *dev->mt76.hw->wiphy->fw_version | 0-255 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| MEM_ZERO | 0 | &dev->pre_tbtt_timer | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
| UNITS | 0 | dev | unit_byte |
drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c mt76x2u_stop_hw() -> mt76x2u_mac_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->beacon_ops->beacon_enable | 1871575587596918784,4128589824995876864 |
| PARAM_VALUE | 0 | dev->beacon_ops->nslots | 5,8 |
| PARAM_VALUE | 0 | dev->beacon_ops->pre_tbtt_enable | 2181763258694025216,2800037950347644928 |
| PARAM_VALUE | 0 | dev->beacon_ops->slot_size | 1024,1600 |
| PARAM_VALUE | 0 | dev->cal_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mphy.mac_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.hw->wiphy->sar_capa->freq_ranges | 1588472398671695872,2234421883889115136,2752340918958592000,3970840399040405504,4754012303986532352 |
| PARAM_VALUE | 0 | dev->mt76.hw->wiphy->sar_capa->num_freq_ranges | 2,4,10-11 |
| PARAM_VALUE | 0 | dev->mt76.phy.leds.cdev.dev->kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| 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.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.tx_worker.task->sched_class->balance | 0,4895810773273071616,6490409225490120704,7260575883162300416,8638459336928428032 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->dequeue_task | 0,144070366336110592,1947835499009560576,6189267449403002880,6455432424639717376,6899636822736904192 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->enqueue_task | 0,126196709549080576,1834828045319467008,6555940243012698112,7779016139136778240 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->find_lock_rq | 0,1330506845949976576,2186316422496772096 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->get_prio | 0,5589494719909007360 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->get_rr_interval | 0,160577115725877248,8566262156424376320 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->pick_task | 0,431140902756892672,1158575681758597120,5720692379550740480,7102393387566546944,7601726578106748928 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->prio_changed | 0,1146300274019463168,2737281516638617600,4228469244769832960,6494577740674654208,7383617159121645568 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->put_prev_task | 0,879997059321819136,2104802920512651264,3309484659987406848,4521943768044347392,6061791611826737152 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->reweight_task | 0,5264859755264851968 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->rq_offline | 0,1273389266380275712,3746302679399247872,7992910395761221632 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->rq_online | 0,1603218695044562944,3838970304731508736,6105480162315575296 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->switched_from | 0,6932178706407411712,8530452231382753280,8897597262779232256 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->switched_to | 0,5165838827171962880,5857971317054578688,7142770315824652288 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->switching_from | 0,2762873923526262784 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->switching_to | 0,1207858565835722752,6355784522873475072 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->task_change_group | 0,7251702690162270208 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->task_dead | 0,6742757381008068608 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->task_is_throttled | 0,626302238049026048,4879098428662644736,6508522699847725056 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->task_woken | 0,4090974917235912704,4284209241675612160 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->wakeup_preempt | 0,1077039320164851712,1147033115188453376,2990157993661198336,6476960569952718848,6679893776262037504 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->yield_task | 0,2190573298372911104,3192817945493614592,3256919456170586112,7456815790656131072 |
| PARAM_VALUE | 0 | dev->mt76.tx_worker.task->sched_class->yield_to_task | 0,3940359203731251200 |
| 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 | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->mt76.mmio.irqmask | 0-u32max[c] |
| HOST_DATA | 0 | dev->mt76.rx_token.idr_rt.xa_flags | 0,4-u32max |
| HOST_DATA | 0 | dev->mt76.rxfilter | 0-u32max |
| HOST_DATA | 0 | dev->mt76.token.idr_rt.xa_flags | 0,67108864-u32max |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |