Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/wireless/mediatek/mt76/mac80211.c, line 600
- drivers/net/wireless/mediatek/mt76/mt7615/init.c, line 590
- drivers/net/wireless/mediatek/mt76/mt7915/init.c, line 749
- drivers/net/wireless/mediatek/mt76/mt7996/init.c, line 763
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt7996/init.c mt7996_register_phy() -> mt76_register_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->band_idx | 1-2 |
| PARAM_VALUE | 0 | phy->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->phy.priv | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->phys | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->macaddr | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->priv->dev->mt76.bus | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->priv->mt76 | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->priv->mt76->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->priv->mt76->dev->rx_token.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | *phy->macaddr | 0-255 |
| PARAM_VALUE | 0 | *phy->priv->mt76->dev->rx_token.idr_rt.xa_head | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 0 | phy | 16392 |
| BUF_SIZE | 0 | phy | 16392 |
| BUF_SIZE | 0 | phy->dev | 53736 |
| BUF_SIZE | 2 | rates | 144 |
| DATA_SOURCE | 0 | phy | r mt76_alloc_radio_phy |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/mediatek/mt76/mt7915/init.c mt7915_register_ext_phy() -> mt76_register_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->band_idx | 1 |
| PARAM_VALUE | 0 | phy->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->macaddr | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | *phy->macaddr | 0-255 |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 2 | rates | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |
drivers/net/wireless/mediatek/mt76/mt7615/init.c mt7615_register_ext_phy() -> mt76_register_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->band_idx | 1 |
| PARAM_VALUE | 0 | phy->cap.has_5ghz | 1 |
| PARAM_VALUE | 0 | phy->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->max_rate_tries | 11 |
| PARAM_VALUE | 0 | phy->hw->max_rates | 3 |
| PARAM_VALUE | 0 | phy->hw->max_report_rates | 7 |
| PARAM_VALUE | 0 | phy->hw->max_tx_fragments | 4,6 |
| PARAM_VALUE | 0 | phy->hw->netdev_features | 1099511627776 |
| PARAM_VALUE | 0 | phy->hw->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->queues | 4 |
| PARAM_VALUE | 0 | phy->hw->radiotap_timestamp.units_pos | 1 |
| PARAM_VALUE | 0 | phy->hw->sta_data_size | 1120 |
| PARAM_VALUE | 0 | phy->hw->vif_data_size | 1200 |
| PARAM_VALUE | 0 | phy->hw->wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->hw->wiphy->iface_combinations | 44979356037091328,1118390431569092608 |
| PARAM_VALUE | 0 | phy->hw->wiphy->max_match_sets | 16 |
| PARAM_VALUE | 0 | phy->hw->wiphy->max_scan_ie_len | 600 |
| PARAM_VALUE | 0 | phy->hw->wiphy->max_scan_ssids | 4 |
| PARAM_VALUE | 0 | phy->hw->wiphy->max_sched_scan_ie_len | 2304 |
| PARAM_VALUE | 0 | phy->hw->wiphy->max_sched_scan_plan_interval | u16max |
| PARAM_VALUE | 0 | phy->hw->wiphy->max_sched_scan_reqs | 1 |
| PARAM_VALUE | 0 | phy->hw->wiphy->max_sched_scan_ssids | 10 |
| PARAM_VALUE | 0 | phy->hw->wiphy->n_iface_combinations | 1 |
| PARAM_VALUE | 0 | phy->hw->wiphy->reg_notifier | 2940796562720043008 |
| PARAM_VALUE | 0 | phy->leds.cdev.blink_set | 2141742978049904640 |
| PARAM_VALUE | 0 | phy->leds.cdev.brightness_set | 8595156638829629440 |
| PARAM_VALUE | 0 | phy->macaddr | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->q_tx | 4096-ptr_max |
| PARAM_VALUE | 0 | *phy->macaddr | 0-255 |
| PARAM_VALUE | 1 | vht | 1 |
| PARAM_VALUE | 2 | rates | 2342865655680114688 |
| PARAM_VALUE | 3 | n_rates | 12 |
| BUF_SIZE | 0 | phy->dev | 53736 |
| BUF_SIZE | 2 | rates | 144 |
| CAPPED_DATA | 0 | phy->chainmask | 1 |
| DATA_SOURCE | 0 | phy | r mt76_alloc_phy |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | n_rates | unit_array_size |
| HALF_LOCKED2 | &attr->mutex |