Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76x2u_phy_set_channel() -> mt76x02_ext_pa_enabled()

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.gain_init_done 1
PARAM_VALUE 0 dev->cal.init_cal_done 1
PARAM_VALUE 0 dev->cal.low_gain (-1)
PARAM_VALUE 0 dev->cal.rx.high_gain 4096-ptr_max
PARAM_VALUE 0 dev->cal.rx.rssi_offset 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->mphy.txpower_cur 0-127
PARAM_VALUE 0 dev->mt76->sdio.func->card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-4611686018427387904)-4611686018427387903
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.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->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->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->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->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->pcr->pcr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->private->ucr->dev_mutex.osq.tail.counter 0-s32max
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->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->target_power 0
PARAM_VALUE 0 *dev->cal.agc_gain_cur 0-255
PARAM_VALUE 0 *dev->cal.rx.rssi_offset (-128)-127
CAPPED_DATA 0 dev->mt76.eeprom.size 1
DATA_SOURCE 0 dev $0
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
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/eeprom.c mt76x2_get_temp_comp() -> mt76x02_ext_pa_enabled()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mphy.chandef.chan 4096-ptr_max
PARAM_VALUE 0 dev->mt76.drv->sta_ps 0,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.first_waiter->list.prev->prev 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
LOCK2 0 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_configure_tx_delay() -> mt76x02_ext_pa_enabled()

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->cal.rx.rssi_offset 4096-ptr_max
PARAM_VALUE 0 dev->mphy.chandef.chan 4096-ptr_max
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->cal.rx.rssi_offset (-128)-127
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 band $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_phy_set_txpower_regs() -> mt76x02_ext_pa_enabled()

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->cal.rx.rssi_offset 4096-ptr_max
PARAM_VALUE 0 dev->mphy.chandef.chan 4096-ptr_max
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->cal.rx.rssi_offset (-128)-127
PARAM_VALUE 1 band 0
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 band $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 dev->mt76->sdio.func->tmpbuf 0-255
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_phy_set_txpower_regs() -> mt76x02_ext_pa_enabled()

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->cal.rx.rssi_offset 4096-ptr_max
PARAM_VALUE 0 dev->mphy.chandef.chan 4096-ptr_max
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->cal.rx.rssi_offset (-128)-127
PARAM_VALUE 1 band 1-u32max
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 band $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_phy_set_txpower_regs() -> mt76x02_ext_pa_enabled()

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->cal.rx.rssi_offset 4096-ptr_max
PARAM_VALUE 0 dev->mphy.chandef.chan 4096-ptr_max
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->cal.rx.rssi_offset (-128)-127
PARAM_VALUE 1 band 1-u32max
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 band $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 dev->mt76->sdio.func->tmpbuf 0-255
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_phy_set_txpower_regs() -> mt76x02_ext_pa_enabled()

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->cal.rx.rssi_offset 4096-ptr_max
PARAM_VALUE 0 dev->mphy.chandef.chan 4096-ptr_max
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->cal.rx.rssi_offset (-128)-127
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 band $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 dev->mt76->sdio.func->tmpbuf 0-255
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_phy_tssi_compensate() -> mt76x02_ext_pa_enabled()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cal.tssi_cal_done 1
PARAM_VALUE 0 dev->cal.tssi_comp_pending 0
PARAM_VALUE 0 dev->mphy.chandef.chan 4096-ptr_max
PARAM_VALUE 0 dev->mt76.bus 4096-ptr_max
PARAM_VALUE 0 dev->mt76.drv->sta_ps 0,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.first_waiter->list.prev->prev 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.eeprom.size 1
DATA_SOURCE 0 dev $0
LOCK2 0 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_set_chan_rf_params() -> mt76x02_ext_pa_enabled()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->beacon_ops 4096-ptr_max
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->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.sdio.func->card->host->claim_cnt s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->cqe_on 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->doing_retune 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.ratelimit_state.missed.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->led->brightness 0-4294967295
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->need_retune s32min-s32max
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->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->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->retune_now 0-1
PARAM_VALUE 0 dev->mt76.sdio.func->card->host->uhs2_app_cmd 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->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 band 0-1
DATA_SOURCE 0 dev $0
FUZZY_MAX 1 band 1
HARD_MAX 1 band 1
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
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x2_phy_tssi_init_cal() -> mt76x02_ext_pa_enabled()

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.tssi_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.drv->sta_ps 0,4096-ptr_max
PARAM_VALUE 0 *dev->cal.rx.rssi_offset (-128)-127
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
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 0 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex