Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/ath/ath9k/recv.c ath9k_antenna_check() -> ath_ant_comb_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->chanctx_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | sc->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | sc->go_beacon.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->go_beacon.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | sc->go_beacon.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sc->go_beacon.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | sc->next_chan | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->next_chan->active | 1 |
| PARAM_VALUE | 0 | sc->next_chan->assigned | 1 |
| PARAM_VALUE | 0 | sc->rx.discard_next | 0 |
| PARAM_VALUE | 0 | sc->rx.frag | 0 |
| PARAM_VALUE | 0 | sc->rx.rxotherant | 0-2 |
| PARAM_VALUE | 0 | sc->sc_ah | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sc_ah->caps.hw_caps | 1024-u32max |
| PARAM_VALUE | 0 | sc->sc_ah->curchan | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sc_ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | sc->sc_ah->reg_ops.read | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sc_pcu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->sc_pm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->sched.force_noa_update | 0 |
| PARAM_VALUE | 0 | sc->sched.mgd_prepare_tx | 0 |
| PARAM_VALUE | 0 | sc->sched.offchannel_pending | 0 |
| PARAM_VALUE | 0 | sc->sched.state | 0-3 |
| PARAM_VALUE | 0 | sc->sched.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sched.timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->sched.wait_switch | 0 |
| PARAM_VALUE | 0 | *sc->sc_ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *sc->sc_ah->meas0.sign | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sc_ah->meas1.sign | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sc_ah->meas2.sign | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sc_ah->meas3.sign | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sc_ah->nf_2g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *sc->sc_ah->nf_2g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *sc->sc_ah->nf_5g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *sc->sc_ah->nf_5g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *sc->sc_ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 0 | *sc->sc_ah->tx_power | 0-255 |
| PARAM_VALUE | 1 | rs | 5820079356728041472 |
| PARAM_VALUE | 1 | rs->bw | 0,3 |
| PARAM_VALUE | 1 | rs->enc_flags | 0,4,16,20 |
| PARAM_VALUE | 1 | rs->evm4 | 0-u16max |
| PARAM_VALUE | 1 | rs->is_mybeacon | 1 |
| PARAM_VALUE | 1 | rs->rs_antenna | 0-7 |
| PARAM_VALUE | 1 | rs->rs_datalen | 1-4095 |
| PARAM_VALUE | 1 | rs->rs_firstaggr | 0-1 |
| PARAM_VALUE | 1 | rs->rs_flags | 0,16,32,48,64,80,96,112 |
| PARAM_VALUE | 1 | rs->rs_isaggr | 0-1 |
| PARAM_VALUE | 1 | rs->rs_keyix | 0-127,255 |
| PARAM_VALUE | 1 | rs->rs_more | 0 |
| PARAM_VALUE | 1 | rs->rs_moreaggr | 0-1 |
| PARAM_VALUE | 1 | rs->rs_status | 0-223 |
| BUF_SIZE | 0 | sc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sc->tx99_skb | (-1),1200 |
| CAPPED_DATA | 1 | rs->rs_antenna | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| DATA_SOURCE | 1 | rs | $1 |
| FUZZY_MAX | 0 | sc->rx.rxotherant | 0 |
| MEM_ZERO | 1 | rs | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sc->cur_chan->last_beacon | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->msi_reg | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->pacal_info.prev_offset | 1-127[c] |
| HOST_DATA | 0 | sc->sc_ah->tx_trig_level | 0-63[c] |
| HOST_DATA | 0 | sc->sched.next_tbtt | 0-u32max |
| USER_PTR | 0 | sc->tx99_skb->data | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &sc->mutex | |
| HALF_LOCKED2 | 0 | &sc->sc_pcu_lock |
drivers/net/wireless/ath/ath9k/recv.c ath9k_antenna_check() -> ath_ant_comb_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->chanctx_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | sc->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | sc->go_beacon.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->go_beacon.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | sc->go_beacon.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sc->go_beacon.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | sc->next_chan | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->next_chan->active | 1 |
| PARAM_VALUE | 0 | sc->next_chan->assigned | 1 |
| PARAM_VALUE | 0 | sc->rx.discard_next | 0 |
| PARAM_VALUE | 0 | sc->rx.frag | 0 |
| PARAM_VALUE | 0 | sc->rx.rxotherant | 0-2 |
| PARAM_VALUE | 0 | sc->sc_ah | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sc_ah->caps.hw_caps | 1024-u32max |
| PARAM_VALUE | 0 | sc->sc_ah->curchan | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sc_ah->curchan->channelFlags | 0-5,8-9,24-25,40-41 |
| PARAM_VALUE | 0 | sc->sc_ah->reg_ops.read | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sc_pcu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->sc_pm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->sched.force_noa_update | 0 |
| PARAM_VALUE | 0 | sc->sched.mgd_prepare_tx | 0 |
| PARAM_VALUE | 0 | sc->sched.offchannel_pending | 0 |
| PARAM_VALUE | 0 | sc->sched.state | 0-3 |
| PARAM_VALUE | 0 | sc->sched.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sched.timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->sched.wait_switch | 0 |
| PARAM_VALUE | 0 | *sc->sc_ah->caldata->num_measures | 0-4294967295 |
| PARAM_VALUE | 0 | *sc->sc_ah->meas0.sign | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sc_ah->meas1.sign | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sc_ah->meas2.sign | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sc_ah->meas3.sign | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sc_ah->nf_2g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *sc->sc_ah->nf_2g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *sc->sc_ah->nf_5g.cal | s16min-s16max |
| PARAM_VALUE | 0 | *sc->sc_ah->nf_5g.pwr | s16min-s16max |
| PARAM_VALUE | 0 | *sc->sc_ah->originalGain | 0-4294967295 |
| PARAM_VALUE | 0 | *sc->sc_ah->tx_power | 0-255 |
| PARAM_VALUE | 1 | rs | 5820079356728041472 |
| PARAM_VALUE | 1 | rs->bw | 0,3 |
| PARAM_VALUE | 1 | rs->enc_flags | 0,4,16,20 |
| PARAM_VALUE | 1 | rs->evm4 | 0-u16max |
| PARAM_VALUE | 1 | rs->is_mybeacon | 1 |
| PARAM_VALUE | 1 | rs->rs_antenna | 0-7 |
| PARAM_VALUE | 1 | rs->rs_datalen | 1-4095 |
| PARAM_VALUE | 1 | rs->rs_firstaggr | 0-1 |
| PARAM_VALUE | 1 | rs->rs_flags | 0,16,32,48,64,80,96,112 |
| PARAM_VALUE | 1 | rs->rs_isaggr | 0-1 |
| PARAM_VALUE | 1 | rs->rs_keyix | 0-127,255 |
| PARAM_VALUE | 1 | rs->rs_more | 0 |
| PARAM_VALUE | 1 | rs->rs_moreaggr | 0-1 |
| PARAM_VALUE | 1 | rs->rs_status | 0-223 |
| BUF_SIZE | 0 | sc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sc->tx99_skb | (-1),1200 |
| CAPPED_DATA | 1 | rs->rs_antenna | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| DATA_SOURCE | 1 | rs | $1 |
| FUZZY_MAX | 0 | sc->rx.rxotherant | 0 |
| MEM_ZERO | 1 | rs | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sc->cur_chan->last_beacon | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.cycpwrThr1 | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.cycpwrThr1Ext | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.firstep | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.firstepLow | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1Thresh | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshLow | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m1ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2CountThr | 0-31[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2CountThrLow | 0-63[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2Thresh | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshLow | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->ani.iniDef.m2ThreshLowExt | 0-127[c] |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.aic.aic_cal_start_time | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.gpm_idx | 0-u16max[c] |
| HOST_DATA | 0 | sc->sc_ah->btcoex_hw.mci.last_recovery | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->msi_reg | 0-u32max |
| HOST_DATA | 0 | sc->sc_ah->pacal_info.prev_offset | 1-127[c] |
| HOST_DATA | 0 | sc->sc_ah->tx_trig_level | 0-63[c] |
| HOST_DATA | 0 | sc->sched.next_tbtt | 0-u32max |
| USER_PTR | 0 | sc->tx99_skb->data | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &sc->mutex | |
| HALF_LOCKED2 | 0 | &sc->sc_pcu_lock |