Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7996/mcu.c mt7996_mcu_beacon_cont() -> mt7996_mac_write_txwi()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.mcu_ops 4096-ptr_max
PARAM_VALUE 2 skb 4096-ptr_max
PARAM_VALUE 2 skb->len 0-1906
PARAM_VALUE 3 wcid 4096-ptr_max
PARAM_VALUE 4 key 0
PARAM_VALUE 5 pid 0
PARAM_VALUE 6 qid 0
PARAM_VALUE 7 changed 256
BUF_SIZE 2 skb (-1)-s32max
BUF_SIZE 2 skb (-1)-s32max
BUF_SIZE 3 wcid 1024
CAPPED_DATA 2 skb 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 skb $4
FUZZY_MAX 2 skb->len 1906
HARD_MAX 2 skb->len 1906
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 txwi unit_byte
HALF_LOCKED2 &dev->mt76.mutex

drivers/net/wireless/mediatek/mt76/mt7996/mcu.c mt7996_mcu_beacon_inband_discov() -> mt7996_mac_write_txwi()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.mcu_ops 4096-ptr_max
PARAM_VALUE 0 dev->mt76.mcu_ops->headroom 0,4,32,64,68
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
PARAM_VALUE 2 skb 4096-ptr_max
PARAM_VALUE 2 skb->data 4096-ptr_max
PARAM_VALUE 2 skb->data_len 0
PARAM_VALUE 2 skb->len 0-1906
PARAM_VALUE 3 wcid 4096-ptr_max
PARAM_VALUE 4 key 0
PARAM_VALUE 5 pid 0
PARAM_VALUE 6 qid 0
PARAM_VALUE 7 changed 1073741824-u32max
PARAM_VALUE 8 link_id 0-14
BUF_SIZE 2 skb (-1)-s32max
BUF_SIZE 2 skb (-1)-s32max
BUF_SIZE 3 wcid 1024
DATA_SOURCE 0 dev $0
DATA_SOURCE 7 changed $3
FUZZY_MAX 2 skb->len 1906
PARAM_COMPARE 0 &dev->mt76.global_wcid == $3
HARD_MAX 2 skb->len 1906
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 txwi unit_byte
LOCK2 0 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt7996/mac.c mt7996_tx_prepare_skb() -> mt7996_mac_write_txwi()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 skb 4096-ptr_max
PARAM_VALUE 2 skb->len 15-u32max
PARAM_VALUE 3 wcid 4096-ptr_max
PARAM_VALUE 5 pid 0-2
PARAM_VALUE 6 qid 0-u16max
PARAM_VALUE 7 changed 0
BUF_SIZE 3 wcid (-1),248,1024
BUF_SIZE 3 wcid (-1),248,1024
CAPPED_DATA 0 &dev->mt76.global_wcid 1
DATA_SOURCE 1 txwi $1
DATA_SOURCE 3 wcid $3 [m]
DATA_SOURCE 5 pid r mt76_tx_status_skb_add
DATA_SOURCE 6 qid $2
FUZZY_MAX 2 skb->len 15
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 8 link_id unit_array_size
HALF_LOCKED2 &dev->ps_lock
HALF_LOCKED2 &q->lock
HALF_LOCKED2 bh