Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt7603_false_cca_check() -> mt76_get_min_avg_rssi()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->mcu.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 1 phy_idx 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mt76.mutex
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76x2_phy_update_channel_gain() -> mt76_get_min_avg_rssi()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 phy_idx 0
LOCK2 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_update_channel_gain() -> mt76_get_min_avg_rssi()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 phy_idx 0
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt7615_mac_adjust_sensitivity() -> mt76_get_min_avg_rssi()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 4096-ptr_max