Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/net/wireless/mediatek/mt76/eeprom.c, line 519
- drivers/net/wireless/mediatek/mt76/mt7615/init.c, line 307
- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c, line 2073
- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c, line 3049
- drivers/net/wireless/mediatek/mt76/mt7915/init.c, line 337
- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c, line 3463
- drivers/net/wireless/mediatek/mt76/mt7925/mcu.c, line 4026
- drivers/net/wireless/mediatek/mt76/mt7996/init.c, line 370
- drivers/net/wireless/mediatek/mt76/mt7996/mcu.c, line 5472
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_set_txpower_sku() -> mt76_get_rate_power_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->chandef.chan | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->chandef.edmg.bw_config | 0,4-15 |
| PARAM_VALUE | 0 | phy->chandef.freq1_offset | 0-999 |
| PARAM_VALUE | 0 | phy->chandef.width | 0-5,8-13 |
| PARAM_VALUE | 0 | phy->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy->sar_capa->num_freq_ranges | 2,4,10-11 |
| PARAM_VALUE | 0 | phy->test.state | 0 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 3492778080787619840 |
| CAPPED_DATA | 0 | phy->hw->wiphy->sar_capa->num_freq_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt7996/init.c __mt7996_init_txpower() -> mt76_get_rate_power_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->alpha2 | 0,144,13835058055282163712 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 3627800703564316672 |
| BUF_SIZE | 0 | phy | (-1),16392 |
| BUF_SIZE | 0 | phy | (-1),16392 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c mt7925_mcu_rate_txpower_band() -> mt76_get_rate_power_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->alpha2 | 0,144,13835058055282163712 |
| PARAM_VALUE | 0 | phy->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->hw->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->mcu_ops->headroom | 0,4,32,64,68 |
| PARAM_VALUE | 0 | phy->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy->sar_capa->num_freq_ranges | 2,4,10-11 |
| PARAM_VALUE | 1 | chan | 9085603781941010432 |
| PARAM_VALUE | 1 | chan->band | 0-1,3 |
| PARAM_VALUE | 1 | chan->flags | 0 |
| PARAM_VALUE | 1 | chan->hw_value | 0-255 |
| PARAM_VALUE | 1 | chan->orig_mag | 0 |
| PARAM_VALUE | 1 | chan->psd | 0 |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| BUF_SIZE | 2 | dest | 544 |
| CAPPED_DATA | 0 | phy->hw->wiphy->sar_capa->num_freq_ranges | 1 |
| DATA_SOURCE | 0 | phy | $0 |
| DATA_SOURCE | 2 | dest | r devm_kmalloc |
| TERMINATED | 2 | dest->node.name | 1 |
| MEM_ZERO | 2 | dest | |
| MEM_ZERO | 2 | &dest->path | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mt76.mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt7915/init.c __mt7915_init_txpower() -> mt76_get_rate_power_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->alpha2 | 0,144,13835058055282163712 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 2607138330382225408 |
| BUF_SIZE | 0 | phy | (-1),2952 |
| BUF_SIZE | 0 | phy | (-1),2952 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c mt7996_mcu_set_txpower_sku() -> mt76_get_rate_power_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 1732822483408588800 |
| CAPPED_DATA | 0 | phy->hw->wiphy->sar_capa->num_freq_ranges | 1 |
| DATA_SOURCE | 3 | target_power | r mt76_get_power_bound |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c mt7915_mcu_set_txpower_sku() -> mt76_get_rate_power_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 8522251123235414016 |
| CAPPED_DATA | 0 | phy->hw->wiphy->sar_capa->num_freq_ranges | 1 |
| DATA_SOURCE | 3 | target_power | r mt76_get_power_bound |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/mediatek/mt76/mt7615/init.c mt7615_init_txpower() -> mt76_get_rate_power_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 4780457009657008128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c mt76_connac_get_rate_power_limit() -> mt76_get_rate_power_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->alpha2 | 0,144,13835058055282163712 |
| PARAM_VALUE | 0 | phy->dev->mcu_ops->headroom | 0,4,32,64,68 |
| PARAM_VALUE | 0 | phy->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy->sar_capa->num_freq_ranges | 2,4,10-11 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 1-u64max |
| BUF_SIZE | 2 | dest | (-1),544 |
| BUF_SIZE | 2 | dest | (-1),544 |
| CAPPED_DATA | 0 | phy->hw->wiphy->sar_capa->num_freq_ranges | 1 |
| DATA_SOURCE | 0 | phy | $0 |
| DATA_SOURCE | 1 | chan | $1 |
| DATA_SOURCE | 2 | dest | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |