Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7996/main.c mt7996_vif_link_add() -> mt7996_mcu_add_dev_info()

Type Parameter Key Value
PARAM_VALUE 0 phy 4096-ptr_max
PARAM_VALUE 0 phy->dev 4096-ptr_max
PARAM_VALUE 0 phy->mt76 4096-ptr_max
PARAM_VALUE 1 vif 4096-ptr_max
PARAM_VALUE 1 vif->drv_priv 4096-ptr_max
PARAM_VALUE 1 vif->type 1-3,6-7
PARAM_VALUE 2 link_conf 4096-ptr_max
PARAM_VALUE 3 mlink 4096-ptr_max
PARAM_VALUE 3 mlink->idx 0-56
PARAM_VALUE 3 mlink->wcid 4096-ptr_max
PARAM_VALUE 3 mlink->wmm_idx 0,3
PARAM_VALUE 4 enable 1
BUF_SIZE 0 phy 680,13440,13488,13960
BUF_SIZE 0 phy 680,13440,13488,13960
BUF_SIZE 3 mlink (-1)-0,1408,2216
BUF_SIZE 3 mlink (-1)-0,1408,2216
BUF_SIZE 3 mlink->wcid 1024
CAPPED_DATA 1 vif 1
CAPPED_DATA 2 link_conf 1
CAPPED_DATA 3 mlink->idx 1
DATA_SOURCE 1 vif $1
DATA_SOURCE 2 link_conf $2
DATA_SOURCE 3 mlink $3
FUZZY_MAX 3 mlink->wmm_idx 3
HARD_MAX 3 mlink->wmm_idx 3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 link_conf->npca.init_qsrc 0-3[c]
USER_DATA 2 link_conf->npca.min_dur_thresh 0-15[c]
USER_DATA 2 link_conf->npca.moplen 0[c]
USER_DATA 2 link_conf->npca.switch_back_delay 0-63[c]
USER_DATA 2 link_conf->npca.switch_delay 0-63[c]
UNITS 0 phy unit_byte
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt7996/main.c mt7996_vif_link_destroy() -> mt7996_mcu_add_dev_info()

Type Parameter Key Value
PARAM_VALUE 0 phy 4096-ptr_max
PARAM_VALUE 0 phy->dev 4096-ptr_max
PARAM_VALUE 0 phy->dev->mt76.mcu_ops 4096-ptr_max
PARAM_VALUE 1 vif 4096-ptr_max
PARAM_VALUE 2 link_conf 4096-ptr_max
PARAM_VALUE 3 mlink 4096-ptr_max
PARAM_VALUE 3 mlink->wcid 4096-ptr_max
PARAM_VALUE 4 enable 0
BUF_SIZE 0 phy 680,13440,13488,13960
BUF_SIZE 0 phy 680,13440,13488,13960
BUF_SIZE 2 link_conf (-1),1176
BUF_SIZE 2 link_conf (-1),1176
BUF_SIZE 3 mlink 72
CAPPED_DATA 1 vif 1
DATA_SOURCE 0 phy $0
DATA_SOURCE 1 vif $2
DATA_SOURCE 2 link_conf $3 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 link_conf->npca.init_qsrc 0-3[c]
USER_DATA 2 link_conf->npca.min_dur_thresh 0-15[c]
USER_DATA 2 link_conf->npca.moplen 0-1[c]
USER_DATA 2 link_conf->npca.switch_back_delay 0-63[c]
USER_DATA 2 link_conf->npca.switch_delay 0-63[c]
NO_OVERFLOW_SIMPLE 1 vif->active_links
UNITS 0 phy unit_byte
HALF_LOCKED2 &dev->mt76.mutex