Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c mt7921_chip_reset() -> mt792x_reset()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/net/wireless/mediatek/mt76/mt7925/mcu.c mt7925_mcu_parse_response() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->alpha2 0,144,13835058055282163712
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->dev 0,4096-ptr_max
PARAM_VALUE 0 mdev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 mdev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 mdev->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 mdev->mcu.mutex.dep_map->name 0-255
PARAM_VALUE 0 mdev->mcu.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mdev->mcu.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mdev->mcu.mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 mdev->mcu.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mdev->mcu.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mdev->mcu.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 mdev->mcu.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mdev->mcu_ops 4096-ptr_max
PARAM_VALUE 0 mdev->mcu_ops->max_retry 0-1
PARAM_VALUE 0 mdev->mcu_ops->mcu_send_msg 0,4543376461987549184,5414446649499410432
PARAM_VALUE 0 mdev->mcu_ops->mcu_skb_prepare_msg 0,4460907326358106112
BUF_SIZE 0 mdev->mcu_ops (-1),88
BUF_SIZE 0 mdev->phy.priv (-1),13440,13480
DATA_SOURCE 0 mdev $0
FUZZY_MAX 0 mdev->mcu_ops->max_retry 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 mdev->mmio.irqmask 0-u32max[c]
HOST_DATA 0 mdev->rx_token.idr_rt.xa_flags 0-u32max
HOST_DATA 0 mdev->rxfilter 0-u32max
HOST_DATA 0 mdev->token.idr_rt.xa_flags 0,67108864-u32max
USER_DATA 0 mdev->mcu.msg_seq 0-u32max[u]
LOCK2 0 &mdev->mcu.mutex
HALF_LOCKED2 &dev->mt76.mutex
TYPE_LOCK (struct mt76_mcu)->mutex

drivers/net/wireless/mediatek/mt76/mt7921/pci.c mt7921_pci_resume() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->phy.dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt7921/pci.c mt7921_pci_suspend() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->phy.dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt7921/pci.c mt7921_slot_reset() -> mt792x_reset()

Type Parameter Key Value
BUF_SIZE 0 mdev s32min-(-2),1-s32max
BUF_SIZE 0 mdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mdev unit_byte
HALF_LOCKED2 &pdev->dev.mutex

drivers/net/wireless/mediatek/mt76/mt7921/mcu.c mt7921_mcu_parse_response() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->alpha2 0,144,13835058055282163712
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->dev 0,4096-ptr_max
PARAM_VALUE 0 mdev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 mdev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 mdev->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 mdev->mcu.mutex.dep_map->name 0-255
PARAM_VALUE 0 mdev->mcu.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mdev->mcu.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mdev->mcu.mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 mdev->mcu.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mdev->mcu.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mdev->mcu.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 mdev->mcu.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mdev->mcu_ops 4096-ptr_max
PARAM_VALUE 0 mdev->mcu_ops->max_retry 0-1
PARAM_VALUE 0 mdev->mcu_ops->mcu_send_msg 0,4543376461987549184,5414446649499410432
PARAM_VALUE 0 mdev->mcu_ops->mcu_skb_prepare_msg 0,4460907326358106112
BUF_SIZE 0 mdev->mcu_ops (-1),88
BUF_SIZE 0 mdev->phy.priv (-1),13440,13480
DATA_SOURCE 0 mdev $0
FUZZY_MAX 0 mdev->mcu_ops->max_retry 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 mdev->mmio.irqmask 0-u32max[c]
HOST_DATA 0 mdev->rx_token.idr_rt.xa_flags 0-u32max
HOST_DATA 0 mdev->rxfilter 0-u32max
HOST_DATA 0 mdev->token.idr_rt.xa_flags 0,67108864-u32max
USER_DATA 0 mdev->mcu.msg_seq 0-u32max[u]
LOCK2 0 &mdev->mcu.mutex
HALF_LOCKED2 &dev->mt76.mutex
TYPE_LOCK (struct mt76_mcu)->mutex

drivers/net/wireless/mediatek/mt76/mt792x_core.c mt792x_mcu_drv_pmctrl() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt792x_core.c mt792x_mcu_fw_pmctrl() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->phy.dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 mdev->mmio.irqmask 0-u32max[c]
HOST_DATA 0 mdev->rx_token.idr_rt.xa_flags 0-u32max
HOST_DATA 0 mdev->rxfilter 0-u32max
HOST_DATA 0 mdev->token.idr_rt.xa_flags 0,67108864-u32max

drivers/net/wireless/mediatek/mt76/mt7921/usb.c mt7921u_suspend() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->mcu_ops 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt7921/sdio.c mt7921s_resume() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->mcu_ops 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt7921/sdio.c mt7921s_suspend() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->mcu_ops 4096-ptr_max
PARAM_VALUE 0 mdev->phy.dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt7925/mac.c mt7925_coredump_work() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mt7921/mac.c mt7921_coredump_work() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mt7925/debugfs.c mt7925_chip_reset() -> mt792x_reset()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/net/wireless/mediatek/mt76/mt7925/usb.c mt7925u_resume() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->mcu_ops 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt7925/usb.c mt7925u_suspend() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->mcu_ops 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt7925/pci.c _mt7925_pci_resume() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->phy.dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &device->mutex

drivers/net/wireless/mediatek/mt76/mt7925/pci.c mt7925_pci_suspend() -> mt792x_reset()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->bus 4096-ptr_max
PARAM_VALUE 0 mdev->phy.dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL