Defined in 2 files as a prototype:
- drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h, line 64 (as a prototype)
- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.h, line 76 (as a prototype)
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c
- drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c
- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c, line 1795
- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c, line 127
Smatch caller information:
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c rtl92ce_update_hal_rate_mask() -> rtl92c_fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | element_id | 6 |
| PARAM_VALUE | 2 | cmd_len | 5 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| BUF_SIZE | 3 | cmdbuffer | 5 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rtlpriv->locks.conf_mutex | ||
| HALF_LOCKED2 | &rtlpriv->locks.rf_ps_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl92c_set_fw_joinbss_report_cmd() -> rtl92c_fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | element_id | 2 |
| PARAM_VALUE | 2 | cmd_len | 1 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| DATA_SOURCE | 0 | hw | $0 |
| NOCHECK_CALL |
drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl92c_set_fw_pwrmode_cmd() -> rtl92c_fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | element_id | 1 |
| PARAM_VALUE | 2 | cmd_len | 3 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| BUF_SIZE | 3 | cmdbuffer | 3 |
| DATA_SOURCE | 0 | hw | $0 |
| NOCHECK_CALL |
drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl92c_set_fw_rsvdpagepkt() -> rtl92c_fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv->cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv->cfg->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv->cfg->ops->fill_tx_cmddesc | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv->cfg->ops->tx_polling | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv->locks.irq_th_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->priv->locks.usb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->priv->usb_data_index | s32min-99 |
| PARAM_VALUE | 1 | element_id | 3 |
| PARAM_VALUE | 2 | cmd_len | 3 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| PARAM_VALUE | 3 | *cmdbuffer | 4 |
| BUF_SIZE | 3 | cmdbuffer | 3 |
| DATA_SOURCE | 0 | hw | $0 |
| NOCHECK_CALL | |||
| UNITS | 2 | cmd_len | unit_byte |
drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl92c_set_p2p_ctw_period_cmd() -> rtl92c_fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | element_id | 24 |
| PARAM_VALUE | 2 | cmd_len | 1 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| DATA_SOURCE | 0 | hw | $0 |
| NOCHECK_CALL |
drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl92c_set_p2p_ps_offload_cmd() -> rtl92c_fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 1 | element_id | 8 |
| PARAM_VALUE | 2 | cmd_len | 1 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| DATA_SOURCE | 0 | hw | $0 |
| NOCHECK_CALL |
drivers/net/wireless/realtek/rtlwifi/usb.c rtl_fill_h2c_cmd_work_callback() -> (struct rtl_hal_ops)->fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | element_id | 6 |
| PARAM_VALUE | 2 | cmd_len | 5 |
| BUF_SIZE | 3 | cmdbuffer | 5 |
| CONTAINER | 3 | *(-472-24-52888+53085) | $(-1) |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c halbtc_fill_h2c_cmd() -> (struct rtl_hal_ops)->fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | element_id | 96-102,104-105,110 |
| PARAM_VALUE | 2 | cmd_len | 1-3,5-6 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| BUF_SIZE | 3 | cmdbuffer | (-1),2-3,5-6 |
| BUF_SIZE | 3 | cmdbuffer | (-1),2-3,5-6 |
| DATA_SOURCE | 1 | element_id | $1 |
| DATA_SOURCE | 2 | cmd_len | $2 |
| DATA_SOURCE | 3 | cmdbuffer | $3 |
| CONTAINER | 0 | *(-472-24-52888+640+3088) | $(-1) |
| HARD_MAX | 1 | element_id | 110 |
| HARD_MAX | 2 | cmd_len | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c halbtc_send_bt_mp_operation() -> (struct rtl_hal_ops)->fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | element_id | 103 |
| PARAM_VALUE | 2 | cmd_len | 2,4 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| BUF_SIZE | 3 | cmdbuffer | 2,4 |
| BUF_SIZE | 3 | cmdbuffer | 2,4 |
| DATA_SOURCE | 2 | cmd_len | $3 |
| DATA_SOURCE | 3 | cmdbuffer | $2 |
| CONTAINER | 0 | *(-472-24-52888+640+3088) | $(-1) |
| HARD_MAX | 2 | cmd_len | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c halbtc_send_wifi_port_id_cmd() -> (struct rtl_hal_ops)->fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | element_id | 113 |
| PARAM_VALUE | 2 | cmd_len | 1 |
| PARAM_VALUE | 3 | cmdbuffer | 4096-ptr_max |
| CONTAINER | 0 | *(-472-24-52888+640+3088) | $(-1) |
| NOCHECK_CALL |
drivers/net/wireless/realtek/rtlwifi/debug.c rtl_debugfs_set_write_h2c() -> (struct rtl_hal_ops)->fill_h2c_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | cmd_len | 0-254 |
| PARAM_VALUE | 3 | cmdbuffer | 9045772124850016257 |
| BUF_SIZE | 3 | cmdbuffer | 7 |
| CAPPED_DATA | 2 | cmd_len | 1 |
| CONTAINER | 0 | *(-472-24-52888+0) | $(-1) |
| NOCHECK_CALL |