Defined in 2 files as a function:
- drivers/net/wireless/marvell/mwifiex/sdio.c, line 713 (as a function)
- drivers/net/wireless/marvell/mwifiex/usb.c, line 691 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_prog_fw_w_helper() -> mwifiex_write_data_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->card | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->card->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->firmware | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | pkt_len | 0-2560 |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | 2312 |
| BUF_SIZE | 1 | buffer | 2312 |
| CAPPED_DATA | 2 | pkt_len | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | buffer | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_write_data_to_card() -> mwifiex_write_data_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->card | 4096-ptr_max |
| PARAM_VALUE | 0 | *adapter->dbg.last_mp_curr_wr_port | 0-4294967295 |
| PARAM_VALUE | 0 | *adapter->dbg.last_mp_wr_bitmap | 0-4294967295 |
| PARAM_VALUE | 0 | *adapter->dbg.last_mp_wr_len | 0-4294967295 |
| PARAM_VALUE | 0 | *adapter->dbg.last_mp_wr_ports | 0-4294967295 |
| BUF_SIZE | 1 | buffer | 1-s32max |
| BUF_SIZE | 1 | buffer | 1-s32max |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | pkt_len | $2 |
| DATA_SOURCE | 3 | port | $3 |
| USER_DATA | 0 | adapter->curr_cmd->cmd_no | 0-u16max[u] |
| USER_DATA | 0 | *adapter->sleep_cfm->data | 0-255 |
| USER_DATA | 1 | *buffer | 0-255 |
| UNITS | 1 | buffer | unit_byte |
| UNITS | 2 | pkt_len | unit_byte |
| USER_PTR | 0 | adapter->sleep_cfm->data | |
| USER_PTR | 1 | buffer |
drivers/net/wireless/marvell/mwifiex/usb.c mwifiex_prog_fw_w_helper() -> mwifiex_write_data_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->card | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->firmware | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->if_ops.dnld_fw | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | pkt_len | 5374442430151135232 |
| PARAM_VALUE | 3 | port | 1 |
| PARAM_VALUE | 4 | timeout | 100 |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | 620 |
| BUF_SIZE | 1 | buffer | 620 |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |