Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7615/usb.c mt7663u_resume() -> mt76u_vendor_request()

Type Parameter Key Value
PARAM_VALUE 1 req 145
PARAM_VALUE 2 req_type 64
PARAM_VALUE 3 val 5
PARAM_VALUE 4 offset 0
PARAM_VALUE 5 buf 0
PARAM_VALUE 6 len 0
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/mediatek/mt76/mt7615/usb_mcu.c mt7663u_mcu_power_on() -> mt76u_vendor_request()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 1 req 4
PARAM_VALUE 2 req_type 64
PARAM_VALUE 3 val 0
PARAM_VALUE 4 offset 1
PARAM_VALUE 5 buf 0
PARAM_VALUE 6 len 0
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76x0u_upload_firmware() -> mt76u_vendor_request()

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->usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 1 req 1
PARAM_VALUE 2 req_type 64
PARAM_VALUE 3 val 18
PARAM_VALUE 4 offset 0
PARAM_VALUE 5 buf 1-u64max
PARAM_VALUE 6 len 64
BUF_SIZE 5 buf 64
BUF_SIZE 5 buf 64
DATA_SOURCE 5 buf r kmemdup_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76x2u_mcu_enable_patch() -> mt76u_vendor_request()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->dev 0,4096-ptr_max
PARAM_VALUE 0 dev->usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 1 req 1
PARAM_VALUE 2 req_type 32
PARAM_VALUE 3 val 18
PARAM_VALUE 4 offset 0
PARAM_VALUE 6 len 11
BUF_SIZE 5 buf 32-2047
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 6 len unit_byte

drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76x2u_mcu_load_ivb() -> mt76u_vendor_request()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->dev 0,4096-ptr_max
PARAM_VALUE 0 dev->mcu.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 1 req 1
PARAM_VALUE 2 req_type 64
PARAM_VALUE 3 val 18
PARAM_VALUE 4 offset 0
PARAM_VALUE 5 buf 0
PARAM_VALUE 6 len 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76x2u_mcu_reset_wmt() -> mt76u_vendor_request()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->dev 0,4096-ptr_max
PARAM_VALUE 0 dev->usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 1 req 1
PARAM_VALUE 2 req_type 32
PARAM_VALUE 3 val 18
PARAM_VALUE 4 offset 0
PARAM_VALUE 6 len 8
BUF_SIZE 5 buf 32-2047
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 6 len unit_byte

drivers/net/wireless/mediatek/mt76/mt792x_usb.c mt792xu_mcu_power_on() -> mt76u_vendor_request()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 req 4
PARAM_VALUE 2 req_type 95
PARAM_VALUE 3 val 0
PARAM_VALUE 4 offset 1
PARAM_VALUE 5 buf 0
PARAM_VALUE 6 len 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mt76.mutex

drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mt76x02u_mcu_fw_reset() -> mt76u_vendor_request()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 4096-ptr_max
PARAM_VALUE 0 dev->usb.usb_ctrl_mtx.osq.tail.counter 0-s32max
PARAM_VALUE 1 req 1
PARAM_VALUE 2 req_type 64
PARAM_VALUE 3 val 1
PARAM_VALUE 4 offset 0
PARAM_VALUE 5 buf 0
PARAM_VALUE 6 len 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL