Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/wireless/mediatek/mt76/mt7615/sdio.c, line 96
- drivers/net/wireless/mediatek/mt76/mt7921/sdio.c, line 114
- drivers/net/wireless/mediatek/mt76/sdio.c, line 182
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76pci_load_firmware() -> (struct mt76_bus_ops)->write_copy()
| 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.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | offset | 524288 |
| PARAM_VALUE | 2 | *data | 0-255 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->mmio.irqmask | 0-u32max[c] |
| HOST_DATA | 0 | dev->rx_token.idr_rt.xa_flags | 0-u32max |
| HOST_DATA | 0 | dev->rxfilter | 0-u32max |
| HOST_DATA | 0 | dev->token.idr_rt.xa_flags | 0,67108864-u32max |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76pci_load_firmware() -> (struct mt76_bus_ops)->write_copy()
| 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.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | offset | 589824,591872 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | *data | 0-255 |
| FUZZY_MAX | 1 | offset | 591872 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| BIT_INFO | 1 | offset | 0x90000,0x90800 |
| HARD_MAX | 1 | offset | 591872 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->mmio.irqmask | 0-u32max[c] |
| HOST_DATA | 0 | dev->rx_token.idr_rt.xa_flags | 0-u32max |
| HOST_DATA | 0 | dev->rxfilter | 0-u32max |
| HOST_DATA | 0 | dev->token.idr_rt.xa_flags | 0,67108864-u32max |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76pci_load_rom_patch() -> (struct mt76_bus_ops)->write_copy()
| 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_ops | 894305749492768768 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | offset | 589824 |
| PARAM_VALUE | 2 | *data | 0-255 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->mmio.irqmask | 0-u32max[c] |
| HOST_DATA | 0 | dev->rx_token.idr_rt.xa_flags | 0-u32max |
| HOST_DATA | 0 | dev->rxfilter | 0-u32max |
| HOST_DATA | 0 | dev->token.idr_rt.xa_flags | 0,67108864-u32max |
drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_write_beacon() -> (struct mt76_bus_ops)->write_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 3497970638089531392 |
| PARAM_VALUE | 3 | len | 20 |
| BUF_SIZE | 2 | data | 20 |
| DATA_SOURCE | 1 | offset | $1 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| MEM_ZERO | 2 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_write_beacon() -> (struct mt76_bus_ops)->write_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| BUF_SIZE | 2 | data | 1-s32max |
| DATA_SOURCE | 1 | offset | $1 [m] |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_shared_key_setup() -> (struct mt76_bus_ops)->write_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 44032-84832 |
| PARAM_VALUE | 2 | data | 1996801350141898752 |
| PARAM_VALUE | 3 | len | 32 |
| BUF_SIZE | 2 | data | 32 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->mmio.irqmask | 0-u32max[c] |
| HOST_DATA | 0 | dev->rx_token.idr_rt.xa_flags | 0-u32max |
| HOST_DATA | 0 | dev->rxfilter | 0-u32max |
| HOST_DATA | 0 | dev->token.idr_rt.xa_flags | 0,67108864-u32max |
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_wcid_set_key() -> (struct mt76_bus_ops)->write_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 8386528791576707072 |
| PARAM_VALUE | 3 | len | 32 |
| BUF_SIZE | 2 | data | 32 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_wcid_set_key() -> (struct mt76_bus_ops)->write_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 2195219410816561152 |
| PARAM_VALUE | 3 | len | 8 |
| BUF_SIZE | 2 | data | 8 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76x02_mac_wcid_setup() -> (struct mt76_bus_ops)->write_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 6144-7160 |
| PARAM_VALUE | 2 | data | 1862004073432023040 |
| PARAM_VALUE | 3 | len | 8 |
| BUF_SIZE | 2 | data | 8 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->mmio.irqmask | 0-u32max[c] |
| HOST_DATA | 0 | dev->rx_token.idr_rt.xa_flags | 0-u32max |
| HOST_DATA | 0 | dev->rxfilter | 0-u32max |
| HOST_DATA | 0 | dev->token.idr_rt.xa_flags | 0,67108864-u32max |
| HALF_LOCKED2 | &mdev->mutex |
drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt7603_wtbl_set_key() -> (struct mt76_bus_ops)->write_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 1481015847494901760 |
| PARAM_VALUE | 3 | len | 16,32 |
| BUF_SIZE | 2 | data | 32 |
| FUZZY_MAX | 3 | len | 32 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| BIT_INFO | 3 | len | 0x0,0x30 |
| HARD_MAX | 3 | len | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76x0e_load_firmware() -> (struct mt76_bus_ops)->write_copy()
| 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_ops | 2081404359066046464 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | offset | 524288,524352 |
| PARAM_VALUE | 2 | *data | 0-255 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76x0e_load_firmware() -> (struct mt76_bus_ops)->write_copy()
| 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_ops | 2081404359066046464 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | offset | 868288 |
| PARAM_VALUE | 3 | len | 64 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76x0e_load_firmware() -> (struct mt76_bus_ops)->write_copy()
| 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_ops | 2081404359066046464 |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | offset | 524288 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | *data | 0-255 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt7615_mac_wtbl_update_key() -> (struct mt76_bus_ops)->write_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy.dev | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 7085185823623069696 |
| PARAM_VALUE | 3 | len | 32 |
| BUF_SIZE | 2 | data | 32 |
| CONTAINER | 0 | -24-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &dev->mt76.lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |