Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireless/ath/ath11k/mac.c __ath11k_set_antenna() -> get_num_chains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mask | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ar->conf_mutex | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| TYPE_LOCK | (struct ath11k)->conf_mutex |
drivers/net/wireless/ath/ath11k/mac.c __ath11k_set_antenna() -> get_num_chains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | mask | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ar->conf_mutex | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| TYPE_LOCK | (struct ath11k)->conf_mutex |
drivers/net/wireless/ath/ath11k/mac.c ath11k_mac_allocate() -> get_num_chains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &ab->core_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ath11k_base)->core_lock |
drivers/net/wireless/ath/ath11k/mac.c ath11k_mac_allocate() -> get_num_chains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &ab->core_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ath11k_base)->core_lock |
drivers/net/wireless/ath/ath11k/mac.c ath11k_mac_monitor_vdev_create() -> get_num_chains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ar->conf_mutex | ||
| TYPE_LOCK | (struct ath11k)->conf_mutex |
drivers/net/wireless/ath/ath11k/mac.c ath11k_mac_op_add_interface() -> get_num_chains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ar->conf_mutex | ||
| HALF_LOCKED2 | &local->hw.wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ath11k)->conf_mutex |