Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_deepsleep_resume() -> ath6kl_wmi_powermode_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wmi | 4096-ptr_max |
| PARAM_VALUE | 1 | if_idx | 0 |
| PARAM_COMPARE | 0 | wmi->pwr_mode | != $0->saved_pwr_mode |
| PARAM_COMPARE | 2 | pwr_mode | != $0->pwr_mode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rdev->wiphy.mtx | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_deepsleep_suspend() -> ath6kl_wmi_powermode_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wmi | 4096-ptr_max |
| PARAM_VALUE | 0 | wmi->parent_dev->cookie_list->map_no | 0-256 |
| PARAM_VALUE | 1 | if_idx | 0 |
| PARAM_VALUE | 2 | pwr_mode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | wmi->parent_dev->debug.disc_timeout | |
| NO_OVERFLOW_SIMPLE | 0 | wmi->parent_dev->debug.keepalive | |
| LOCK2 | &rdev->wiphy.mtx | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_set_power_mgmt() -> ath6kl_wmi_powermode_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pwr_mode | 1-2 |
| FUZZY_MAX | 2 | pwr_mode | 2 |
| HARD_MAX | 2 | pwr_mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_stop_all() -> ath6kl_wmi_powermode_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wmi | 4096-ptr_max |
| PARAM_VALUE | 0 | wmi->parent_dev->cookie_list->map_no | 0-256 |
| PARAM_VALUE | 1 | if_idx | 0 |
| PARAM_VALUE | 2 | pwr_mode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | wmi->parent_dev->debug.disc_timeout | |
| NO_OVERFLOW_SIMPLE | 0 | wmi->parent_dev->debug.keepalive | |
| LOCK2 | &rdev->wiphy.mtx | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |