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 98
- drivers/net/wireless/mediatek/mt76/mt7921/sdio.c, line 116
- drivers/net/wireless/mediatek/mt76/sdio.c, line 210
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76x0_init_bbp() -> (struct mt76_bus_ops)->wr_rp()
| 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.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops | 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 | base | 4259840 |
| PARAM_VALUE | 2 | data | 5736775421027483648 |
| PARAM_VALUE | 3 | len | 58 |
| BUF_SIZE | 2 | data | 464 |
| CONTAINER | 0 | -40-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/mt76x0/init.c mt76x0_init_bbp() -> (struct mt76_bus_ops)->wr_rp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops | 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 | base | 4259840 |
| PARAM_VALUE | 2 | data | 5423633738829127680 |
| PARAM_VALUE | 3 | len | 9 |
| BUF_SIZE | 2 | data | 72 |
| CONTAINER | 0 | -40-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/mt76x0/init.c mt76x0_init_mac_registers() -> (struct mt76_bus_ops)->wr_rp()
| 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.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mcu_ops | 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 | base | 4259840 |
| PARAM_VALUE | 2 | data | 5889146003257303040 |
| PARAM_VALUE | 3 | len | 31 |
| BUF_SIZE | 2 | data | 248 |
| CONTAINER | 0 | -40-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/mt76x0/init.c mt76x0_init_mac_registers() -> (struct mt76_bus_ops)->wr_rp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops | 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 | base | 4259840 |
| PARAM_VALUE | 2 | data | 3177006934535720960 |
| PARAM_VALUE | 3 | len | 35 |
| BUF_SIZE | 2 | data | 280 |
| CONTAINER | 0 | -40-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/mt76x2/init.c mt76_write_mac_initvals() -> (struct mt76_bus_ops)->wr_rp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 54 |
| BUF_SIZE | 2 | data | 432 |
| CONTAINER | 0 | -40-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,4-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/mt76x2/init.c mt76_write_mac_initvals() -> (struct mt76_bus_ops)->wr_rp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 6 |
| BUF_SIZE | 2 | data | 48 |
| CONTAINER | 0 | -40-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,4-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/mt76x0/phy.c mt76x0_phy_rf_init() -> (struct mt76_bus_ops)->wr_rp()
| 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->eeprom.data | 1-u64max |
| PARAM_VALUE | 0 | dev->eeprom.size | 512 |
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->test_mtd.offset | 0 |
| 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 | base | 2147483648 |
| PARAM_VALUE | 2 | data | 1183584236759257088 |
| PARAM_VALUE | 3 | len | 38 |
| BUF_SIZE | 2 | data | 304 |
| CONTAINER | 0 | -40-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/mt76x0/phy.c mt76x0_phy_rf_init() -> (struct mt76_bus_ops)->wr_rp()
| 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->eeprom.data | 1-u64max |
| PARAM_VALUE | 0 | dev->eeprom.size | 512 |
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->test_mtd.offset | 0 |
| 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 | base | 2147483648 |
| PARAM_VALUE | 2 | data | 300121608343846912 |
| PARAM_VALUE | 3 | len | 35 |
| BUF_SIZE | 2 | data | 280 |
| CONTAINER | 0 | -40-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/mt76x0/phy.c mt76x0_phy_set_band() -> (struct mt76_bus_ops)->wr_rp()
| 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.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | base | 2147483648 |
| PARAM_VALUE | 2 | data | 5097696867424493568 |
| PARAM_VALUE | 3 | len | 68 |
| BUF_SIZE | 2 | data | 544 |
| CONTAINER | 0 | -40-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_phy_set_band() -> (struct mt76_bus_ops)->wr_rp()
| 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.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->usb.usb_ctrl_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | base | 2147483648 |
| PARAM_VALUE | 2 | data | 1183584236759257088 |
| PARAM_VALUE | 3 | len | 38 |
| BUF_SIZE | 2 | data | 304 |
| CONTAINER | 0 | -40-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_rf_wr() -> (struct mt76_bus_ops)->wr_rp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | base | 2147483648 |
| PARAM_VALUE | 2 | data | 7974254836012933120 |
| PARAM_VALUE | 2 | data->value | 0-255 |
| PARAM_VALUE | 3 | len | 1 |
| CONTAINER | 0 | -40-3464+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
| HOST_DATA | 2 | data->value | 0-255 |
| HALF_LOCKED2 | &dev->mutex |