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() -> mt76x2_phy_set_txpower()

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.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->wr 4096-ptr_max
PARAM_VALUE 0 *dev->cal.rx.rssi_offset (-128)-127
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c mt76x2u_config() -> mt76x2_phy_set_txpower()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy->sar_capa->num_freq_ranges 2,4,10-11
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
CAPPED_DATA 0 &dev->mt76.mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/init.c mt76x2_set_sar_specs() -> mt76x2_phy_set_txpower()

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->mphy.chandef.edmg.bw_config 0,4-15
PARAM_VALUE 0 dev->mphy.chandef.freq1_offset 0-999
PARAM_VALUE 0 dev->mphy.chandef.width 0-5,8-13
PARAM_VALUE 0 dev->mphy.hw 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy->sar_capa->num_freq_ranges 2,4,10-11
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
CAPPED_DATA 0 &dev->mt76.mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->mt76.mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c mt76x2_config() -> mt76x2_phy_set_txpower()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy 4096-ptr_max
PARAM_VALUE 0 dev->mphy.hw->wiphy->sar_capa->num_freq_ranges 2,4,10-11
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
CAPPED_DATA 0 &dev->mt76.mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76x2_phy_set_channel() -> mt76x2_phy_set_txpower()

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->wr 4096-ptr_max
PARAM_VALUE 0 *dev->cal.rx.rssi_offset (-128)-127
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex