Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7925/regd.c mt7925_mcu_apply_regd() -> mt7925_set_tx_sar_pwr()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->priv 4096-ptr_max
PARAM_VALUE 0 hw->priv->dev 4096-ptr_max
PARAM_VALUE 0 hw->priv->dev->alpha2 s64max
PARAM_VALUE 0 hw->priv->dev->mcu_ops 4096-ptr_max
PARAM_VALUE 0 hw->priv->dev->mcu_ops->headroom 0,4,32,64,68
PARAM_VALUE 0 hw->wiphy 4096-ptr_max
PARAM_VALUE 1 sar 0
CAPPED_DATA 0 hw->priv->sband_2g.sband.n_channels 1
CAPPED_DATA 0 hw->priv->sband_5g.sband.n_channels 1
CAPPED_DATA 0 hw->priv->sband_6g.sband.n_channels 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt7925/main.c mt7925_config() -> mt7925_set_tx_sar_pwr()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->priv 4096-ptr_max
PARAM_VALUE 1 sar 0
DATA_SOURCE 0 hw $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt7925/main.c mt7925_set_sar_specs() -> mt7925_set_tx_sar_pwr()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->priv 4096-ptr_max
PARAM_VALUE 1 sar 4096-ptr_max
PARAM_VALUE 1 sar->type 0
BUF_SIZE 1 sar 8-96
BUF_SIZE 1 sar 8-96
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 sar $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mt76.mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mt76_dev)->mutex