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/mt7925/debugfs.c mt7925_reg_get() -> mt7925_mcu_regval()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->pm.ps_work.work.lockdep_map->name 0-255
PARAM_VALUE 2 val 2568141287763779584
PARAM_VALUE 3 set 0
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
DATA_SOURCE 0 dev $0
LOCK2 &attr->mutex
LOCK2 0 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c mt7925_reg_set() -> mt7925_mcu_regval()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev 4096-ptr_max
PARAM_VALUE 0 dev->mt76.phy.dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->pm.ps_work.work.lockdep_map->name 0-255
PARAM_VALUE 2 val 3593283423438888960
PARAM_VALUE 3 set 1
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
DATA_SOURCE 0 dev $0
NOCHECK_CALL
USER_DATA 2 *val 0-u32max
USER_PTR 2 val
LOCK2 &attr->mutex
LOCK2 0 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex
TYPE_LOCK (struct simple_attr)->mutex