Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c, line 259
- drivers/net/wireless/mediatek/mt76/mt7996/mac.c
- drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c mt7996_radar_trigger() -> mt7996_mcu_rdd_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.hw | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 3 |
| PARAM_VALUE | 2 | rdd_idx | 0-2 |
| PARAM_VALUE | 3 | val | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | rdd_idx | r mt7996_get_rdd_idx |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c mt7996_mcu_rdd_background_enable() -> mt7996_mcu_rdd_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 0 |
| PARAM_VALUE | 2 | rdd_idx | 2 |
| PARAM_VALUE | 3 | val | 0 |
| DATA_SOURCE | 2 | rdd_idx | r mt7996_get_rdd_idx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &wiphy->mtx |
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c mt7996_mcu_rdd_background_enable() -> mt7996_mcu_rdd_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.region | 1-3 |
| PARAM_VALUE | 1 | cmd | 1 |
| PARAM_VALUE | 2 | rdd_idx | 2 |
| PARAM_VALUE | 3 | val | 0-2 |
| DATA_SOURCE | 2 | rdd_idx | r mt7996_get_rdd_idx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &wiphy->mtx | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt7996/mac.c mt7996_dfs_init_radar_detector() -> mt7996_mcu_rdd_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 51 |
| PARAM_VALUE | 2 | rdd_idx | 0-1 |
| PARAM_VALUE | 3 | val | 0 |
| DATA_SOURCE | 2 | rdd_idx | r mt7996_get_rdd_idx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/mediatek/mt76/mt7996/mac.c mt7996_dfs_init_radar_detector() -> mt7996_mcu_rdd_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 52 |
| PARAM_VALUE | 2 | rdd_idx | 0-1 |
| PARAM_VALUE | 3 | val | 0 |
| DATA_SOURCE | 2 | rdd_idx | r mt7996_get_rdd_idx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/mediatek/mt76/mt7996/mac.c mt7996_dfs_start_radar_detector() -> mt7996_mcu_rdd_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 50 |
| PARAM_VALUE | 2 | rdd_idx | 0-1 |
| PARAM_VALUE | 3 | val | 0 |
| DATA_SOURCE | 2 | rdd_idx | r mt7996_get_rdd_idx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/mediatek/mt76/mt7996/mac.c mt7996_dfs_start_rdd() -> mt7996_mcu_rdd_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.mcu.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.mcu.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mt76.mcu.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mt76.mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mt76.region | 1-3 |
| PARAM_VALUE | 1 | cmd | 1 |
| PARAM_VALUE | 2 | rdd_idx | 0-1 |
| PARAM_VALUE | 3 | val | 0-2 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | rdd_idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/mediatek/mt76/mt7996/mac.c mt7996_dfs_stop_radar_detector() -> mt7996_mcu_rdd_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 0 |
| PARAM_VALUE | 2 | rdd_idx | 0-1 |
| PARAM_VALUE | 3 | val | 0 |
| DATA_SOURCE | 2 | rdd_idx | r mt7996_get_rdd_idx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |