Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/wireless/ath/carl9170/cmd.c
- drivers/net/wireless/ath/carl9170/cmd.h, line 146
- drivers/net/wireless/ath/carl9170/usb.c, line 683
Smatch caller information:
drivers/net/wireless/ath/carl9170/cmd.c carl9170_bcn_ctrl() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | *ar->cmd_buf | 0-4294967295 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->bcn_ctrl.mode | 0-1 |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 69 |
| PARAM_VALUE | 1 | cmd->hdr.len | 16 |
| PARAM_VALUE | 2 | free_buf | 1 |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | cmd | r carl9170_cmd_buf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ar->rx_failover->len | |
| NO_OVERFLOW_SIMPLE | 0 | ar->rx_failover->tail | |
| NO_OVERFLOW_SIMPLE | 0 | ar->rx_failover_missing | |
| UNITS | 0 | ar | unit_byte |
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &ar->mutex |
drivers/net/wireless/ath/carl9170/cmd.c carl9170_powersave() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ar->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ar->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ar->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ar->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ar->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 100 |
| PARAM_VALUE | 1 | cmd->hdr.len | 4 |
| PARAM_VALUE | 1 | cmd->psm.state | 1,4097 |
| PARAM_VALUE | 2 | free_buf | 1 |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | cmd | r carl9170_cmd_buf |
| BIT_INFO | 1 | cmd->psm.state | 0x1,0x1001 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ar->mutex | |
| TYPE_LOCK | (struct ar9170)->mutex |
drivers/net/wireless/ath/carl9170/cmd.c carl9170_reboot() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 68 |
| PARAM_VALUE | 1 | cmd->hdr.len | 0 |
| PARAM_VALUE | 2 | free_buf | 1 |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | cmd | r carl9170_cmd_buf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ar | unit_byte |
| HALF_LOCKED2 | 0 | &ar->mutex |
drivers/net/wireless/ath/carl9170/usb.c carl9170_exec_cmd() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->cmd.hdr.cmd | 0-3,6-7,9,16-17,33,35 |
| PARAM_VALUE | 0 | ar->cmd_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ar->cmd_wait.done | 0 |
| PARAM_VALUE | 0 | ar->common.regulatory.regpair->reg_2ghz_ctl | 16,48,64,255,511 |
| PARAM_VALUE | 0 | ar->common.regulatory.regpair->reg_5ghz_ctl | 16,48,64,255,511 |
| PARAM_VALUE | 0 | ar->readlen | 0,4-16,24,32,48,60 |
| PARAM_VALUE | 0 | ar->state | 2-u32max |
| PARAM_VALUE | 0 | *ar->cmd_buf | 0-4294967295 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 0-3,6-7,9,16-17,33,35 |
| PARAM_VALUE | 2 | free_buf | 0 |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar->readbuf | (-1),4,8,12,16,24,32,48,60 |
| BUF_SIZE | 0 | ar->rng.rng.name | (-1),31 |
| CAPPED_DATA | 0 | ar->readlen | 1 |
| DATA_SOURCE | 0 | ar | $0 |
| FUZZY_MAX | 0 | ar->state | 2 |
| STR_LEN | 0 | ar->rng.name | (-1),30 |
| STR_LEN | 0 | ar->rng.rng.name | (-1),30 |
| HARD_MAX | 0 | ar->cmd.hdr.cmd | 35 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ar->rng.rng->priv | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | ar->num_channels | |
| NO_OVERFLOW_SIMPLE | 0 | ar->wps.pbc->max_vals | |
| UNITS | 0 | ar | unit_byte |
| HALF_LOCKED2 | &ar->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &ar->mutex |
drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->state | 2-u32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 65 |
| PARAM_VALUE | 1 | cmd->wreg.regs | 4096-ptr_max |
| PARAM_VALUE | 2 | free_buf | 1 |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | cmd | r carl9170_cmd_buf |
| FUZZY_MAX | 0 | ar->state | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ar->rx_failover_missing | |
| UNITS | 0 | ar | unit_byte |
| LOCK2 | &ar->beacon_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ar->mutex | ||
| TYPE_LOCK | (struct ar9170)->beacon_lock |
drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->state | 2-u32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 65 |
| PARAM_VALUE | 1 | cmd->hdr.len | 0-59 |
| PARAM_VALUE | 1 | cmd->wreg.regs | 4096-ptr_max |
| PARAM_VALUE | 2 | free_buf | 1 |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | cmd | r carl9170_cmd_buf |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ar->rx_failover_missing | |
| UNITS | 0 | ar | unit_byte |
| LOCK2 | &ar->beacon_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ar->mutex | ||
| TYPE_LOCK | (struct ar9170)->beacon_lock |
drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->state | 2-u32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 65 |
| PARAM_VALUE | 1 | cmd->hdr.len | 0-59 |
| PARAM_VALUE | 1 | cmd->wreg.regs | 4096-ptr_max |
| PARAM_VALUE | 2 | free_buf | 1 |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | cmd | r carl9170_cmd_buf |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ar->rx_failover_missing | |
| UNITS | 0 | ar | unit_byte |
| LOCK2 | &ar->beacon_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ar->mutex | ||
| TYPE_LOCK | (struct ar9170)->beacon_lock |
drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->state | 2-u32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 65 |
| PARAM_VALUE | 1 | cmd->hdr.len | 0-59 |
| PARAM_VALUE | 1 | cmd->wreg.regs | 4096-ptr_max |
| PARAM_VALUE | 2 | free_buf | 1 |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | cmd | r carl9170_cmd_buf |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ar->rx_failover_missing | |
| UNITS | 0 | ar | unit_byte |
| LOCK2 | &ar->beacon_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ar->mutex | ||
| TYPE_LOCK | (struct ar9170)->beacon_lock |
drivers/net/wireless/ath/carl9170/tx.c carl9170_update_beacon() -> __carl9170_exec_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ar | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | ar->state | 2-u32max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->hdr.cmd | 65 |
| PARAM_VALUE | 1 | cmd->hdr.len | 0-59 |
| PARAM_VALUE | 1 | cmd->wreg.regs | 4096-ptr_max |
| PARAM_VALUE | 2 | free_buf | 1 |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ar | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | ar | $0 |
| DATA_SOURCE | 1 | cmd | r carl9170_cmd_buf |
| FUZZY_MAX | 0 | ar->state | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ar->rx_failover_missing | |
| UNITS | 0 | ar | unit_byte |
| LOCK2 | &ar->beacon_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ar->mutex | ||
| TYPE_LOCK | (struct ar9170)->beacon_lock |