Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/realtek/rtw88/coex.c rtw_coex_read_indirect_reg() -> ltecoex_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 rtwdev 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->afh_5g 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->afh_5g_num 0-1,19
PARAM_VALUE 0 rtwdev->chip->agc_tbl 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->agc_tbl->parse 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->ampdu_density 4,7
PARAM_VALUE 0 rtwdev->chip->ant_isolation 10,15
PARAM_VALUE 0 rtwdev->chip->band 1,3
PARAM_VALUE 0 rtwdev->chip->bb_tbl 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->bb_tbl->parse 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->bfer_mu_max_num 0-1
PARAM_VALUE 0 rtwdev->chip->bfer_su_max_num 0,2
PARAM_VALUE 0 rtwdev->chip->bt_afh_span_bw20 32,36
PARAM_VALUE 0 rtwdev->chip->bt_afh_span_bw40 48,54
PARAM_VALUE 0 rtwdev->chip->bt_desired_ver 0,6,28,32,47,70,98
PARAM_VALUE 0 rtwdev->chip->bt_rssi_step 928621006206312448,3467606183691857920,3690552840095825920,4563654535209545728,4912028709153742848,7203519334402904064,7308889391569330176,8035320944494579712
PARAM_VALUE 0 rtwdev->chip->bt_rssi_type 0-1
PARAM_VALUE 0 rtwdev->chip->btg_reg 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->btg_reg->addr 103,256,1360-1361,1400-1402,1552,1560,1704,1792,1800,1808,2124,2156,2212,2572,3152,3584,3588,3592,3600,3604,3664,4352,5632,5636,5640,5664,5672,5680,5688,5696,5704,6224,6736,7536
PARAM_VALUE 0 rtwdev->chip->btg_reg->mask 0,3,12,48,127-128,255,1671,2047,16128,32512,65280,196608,786432,16711680,4278190080
PARAM_VALUE 0 rtwdev->chip->c2h_ra_report_size 4,6-7
PARAM_VALUE 0 rtwdev->chip->coex_info_hw_regs 0,388647648856535040,2038789311454437376,3368576683773652992,4427031621847494656,6624762050125484032
PARAM_VALUE 0 rtwdev->chip->coex_info_hw_regs_num 0,19,22,24
PARAM_VALUE 0 rtwdev->chip->coex_para_ver 0,20180330,20190509,420030278,537330182,537330223,637666336
PARAM_VALUE 0 rtwdev->chip->csi_buf_pg_num 0,50
PARAM_VALUE 0 rtwdev->chip->default_1ss_tx_path 0-1
PARAM_VALUE 0 rtwdev->chip->dig_max 0
PARAM_VALUE 0 rtwdev->chip->dig_min 28,32
PARAM_VALUE 0 rtwdev->chip->dpd_ratemask 0,1023
PARAM_VALUE 0 rtwdev->chip->edcca_th 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->edcca_th->hw_reg.mask 0,3,12,48,127-128,255,1671,2047,16128,32512,65280,196608,786432,16711680,4278190080
PARAM_VALUE 0 rtwdev->chip->fix_rf_phy_num 0,2
PARAM_VALUE 0 rtwdev->chip->fw_name 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->fw_rxff_size 0,12288
PARAM_VALUE 0 rtwdev->chip->fwcd_segs 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->fwcd_segs->num 5
PARAM_VALUE 0 rtwdev->chip->ht_supported 1
PARAM_VALUE 0 rtwdev->chip->id 0-7
PARAM_VALUE 0 rtwdev->chip->intf_table 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->intf_table->usb2_para->value 0,384,4096,6208,12352,12828,13718-13719,18978,24774,25472,38143,38435,43073,49158,65294,65487
PARAM_VALUE 0 rtwdev->chip->intf_table->usb3_para->value 0,384,4096,6208,12352,12828,13718-13719,18978,24774,25472,38143,38435,43073,49158,65294,65487
PARAM_VALUE 0 rtwdev->chip->iqk_threshold 8
PARAM_VALUE 0 rtwdev->chip->l2h_th_ini_ad 0,36,45
PARAM_VALUE 0 rtwdev->chip->l2h_th_ini_cs 0,60
PARAM_VALUE 0 rtwdev->chip->lck_threshold 0,8
PARAM_VALUE 0 rtwdev->chip->log_efuse_size 512,768
PARAM_VALUE 0 rtwdev->chip->lps_deep_mode_supported 0,2,6
PARAM_VALUE 0 rtwdev->chip->ltecoex_addr 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->mac_tbl 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->mac_tbl->parse 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->max_power_index 63,127
PARAM_VALUE 0 rtwdev->chip->max_scan_ie_len 384,2304
PARAM_VALUE 0 rtwdev->chip->max_sched_scan_ssids 0,4
PARAM_VALUE 0 rtwdev->chip->ops 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->ops->coex_set_rfe_type 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->ops->dump_fw_crash 0,8550957186331455488
PARAM_VALUE 0 rtwdev->chip->ops->mac_postinit 0,4560463045825736704,8103904664606908416
PARAM_VALUE 0 rtwdev->chip->ops->power_on 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->ops->read_rf 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->ops->write_rf 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->page_size 128,256,512
PARAM_VALUE 0 rtwdev->chip->page_table 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->phy_efuse_size 256,512,1024
PARAM_VALUE 0 rtwdev->chip->prioq_addrs 2884978449246904320,5496196557375185080,5502972148739887104,6426313704783654912,7334454704842031104,7826763044899860480,7928761448940474368
PARAM_VALUE 0 rtwdev->chip->pstdma_type 0
PARAM_VALUE 0 rtwdev->chip->ptct_efuse_size 0,15,96-97,124
PARAM_VALUE 0 rtwdev->chip->pwr_off_seq 552351883728277504,1061558296207134720,1256034303112417280,3426464919347089408,3663722476965031936,5817954600798265344,6515248732118650880,6536170561990139904
PARAM_VALUE 0 rtwdev->chip->pwr_off_seq->offset 0-8,16,18,20-21,28-29,31-37,40-41,45-46,64-71,73-74,78-79,88,90,97-99,102-105,112-113,116-119,124,127-129,134,144-147,175,239-240,256-257,768-769,1314,1363,1528-1531,3072,3584,4098,4120,4165,4196,4264-4266,4290-s64max
PARAM_VALUE 0 rtwdev->chip->pwr_on_seq 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->pwr_on_seq->offset 0-8,16,18,20-21,28-29,31-37,40-41,45-46,64-71,73-74,78-79,88,90,97-99,102-105,112-113,116-119,124,127-129,134,144-147,175,239-240,256-257,768-769,1314,1363,1528-1531,3072,3584,4098,4120,4165,4196,4264-4266,4290-s64max
PARAM_VALUE 0 rtwdev->chip->rfe_defs 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->rfe_defs_size 1-2,4,6-7
PARAM_VALUE 0 rtwdev->chip->rfk_init_tbl 0,4788664948504236032
PARAM_VALUE 0 rtwdev->chip->rqpn_table 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->rssi_tolerance 2
PARAM_VALUE 0 rtwdev->chip->rsvd_drv_pg_num 8-9,16
PARAM_VALUE 0 rtwdev->chip->rx_buf_desc_sz 8
PARAM_VALUE 0 rtwdev->chip->rx_pkt_desc_sz 24
PARAM_VALUE 0 rtwdev->chip->rxff_size 16128,16384,23552,24576
PARAM_VALUE 0 rtwdev->chip->sys_func_en 216,220,253
PARAM_VALUE 0 rtwdev->chip->table_nsant 0,1126073727380848640,1164550582106300416,2632518655987335168,5736751157638778880,7135092037308055552
PARAM_VALUE 0 rtwdev->chip->table_nsant_num 0,24
PARAM_VALUE 0 rtwdev->chip->table_sant 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->table_sant_num 0,38
PARAM_VALUE 0 rtwdev->chip->tdma_nsant 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->tdma_nsant_num 0,22
PARAM_VALUE 0 rtwdev->chip->tdma_sant 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->tdma_sant_num 0,28
PARAM_VALUE 0 rtwdev->chip->tx_buf_desc_sz 16
PARAM_VALUE 0 rtwdev->chip->tx_pkt_desc_sz 40,48
PARAM_VALUE 0 rtwdev->chip->txff_size 32768,65536,131072,260864,262144
PARAM_VALUE 0 rtwdev->chip->txgi_factor 1-2
PARAM_VALUE 0 rtwdev->chip->usb_tx_agg_desc_num 1,3,6
PARAM_VALUE 0 rtwdev->chip->wl_fw_desired_ver 0
PARAM_VALUE 0 rtwdev->chip->wl_rf_para_num 6-7
PARAM_VALUE 0 rtwdev->chip->wl_rf_para_rx 451474474183696384,842932627458916352,1196348150471000064,1804922331916414976,2446491809553006592,3599887348798255104,4183601012571422720,7809787194387320832
PARAM_VALUE 0 rtwdev->chip->wl_rf_para_tx 797105125345198080,1141578155943211008,2160736311744901120,5090680802501992448,5233036938880258048,6135859668408279040,6356194774551535616,7554442395199242240
PARAM_VALUE 0 rtwdev->chip->wl_rssi_step 1535032119514083328,2847579499111342080,4261179604407238656,4432948854536974336,4652622708381237248,4914657942141829120,6972854213667299328,8021325202161844224
PARAM_VALUE 0 rtwdev->chip->wlan_cpu 0-1
PARAM_VALUE 0 rtwdev->chip->wow_fw_name 0,708222457746194432,4550329286058184704
PARAM_VALUE 0 rtwdev->chip->wowlan_stub 0,8241641100676087808
PARAM_VALUE 0 rtwdev->fifo.rqpn->dma_map_be 1-2
PARAM_VALUE 0 rtwdev->fifo.rqpn->dma_map_bk 1-3
PARAM_VALUE 0 rtwdev->fifo.rqpn->dma_map_hi 3
PARAM_VALUE 0 rtwdev->fifo.rqpn->dma_map_mg 0,3
PARAM_VALUE 0 rtwdev->fifo.rqpn->dma_map_vi 2-3
PARAM_VALUE 0 rtwdev->fifo.rqpn->dma_map_vo 2-3
PARAM_VALUE 0 rtwdev->hci.ops->deep_ps 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->interface_cfg 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->link_ps 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->read32 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->read8 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->setup 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->start 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->stop 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->write16 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->write32 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->write8 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->write_data_h2c 4096-ptr_max
PARAM_VALUE 1 offset 56,84,160,164
PARAM_VALUE 2 val 630891178200489984
DATA_SOURCE 0 rtwdev $0
DATA_SOURCE 1 offset $1
HARD_MAX 1 offset 164
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 rtwdev->coex.stat.ampdu_max_time 0-255
HOST_DATA 0 rtwdev->coex.stat.darfrc 0-u32max
HOST_DATA 0 rtwdev->coex.stat.darfrch 0-u32max
HOST_DATA 0 rtwdev->coex.stat.hi_pri_tx 0-u32max[c]
HOST_DATA 0 rtwdev->coex.stat.lo_pri_rx 0-u32max
HOST_DATA 0 rtwdev->coex.stat.lo_pri_tx 0-u32max[c]
HOST_DATA 0 rtwdev->coex.stat.retry_limit 0-u16max
HOST_DATA 0 rtwdev->dm_info.cck_cca_cnt 0-u32max
HOST_DATA 0 rtwdev->dm_info.cck_err_cnt 0-u32max
HOST_DATA 0 rtwdev->dm_info.cck_fa_avg 0-1073741823
HOST_DATA 0 rtwdev->dm_info.cck_fa_cnt 0-u16max
HOST_DATA 0 rtwdev->dm_info.cck_ok_cnt 0-u32max[c]
HOST_DATA 0 rtwdev->dm_info.cck_pd_default 0-31
HOST_DATA 0 rtwdev->dm_info.dpk_info.dpk_bw 0-255[c]
HOST_DATA 0 rtwdev->dm_info.dpk_info.dpk_ch 0-255[c]
HOST_DATA 0 rtwdev->dm_info.dpk_info.gnt_control 0-u32max
HOST_DATA 0 rtwdev->dm_info.dpk_info.gnt_value 0-u32max
HOST_DATA 0 rtwdev->dm_info.ht_err_cnt 0-u32max
HOST_DATA 0 rtwdev->dm_info.ht_ok_cnt 0-u32max[c]
HOST_DATA 0 rtwdev->dm_info.ofdm_cca_cnt 0-u32max
HOST_DATA 0 rtwdev->dm_info.ofdm_err_cnt 0-u32max
HOST_DATA 0 rtwdev->dm_info.ofdm_fa_cnt 0-524280
HOST_DATA 0 rtwdev->dm_info.ofdm_ok_cnt 0-u32max[c]
HOST_DATA 0 rtwdev->dm_info.total_cca_cnt 0-u32max
HOST_DATA 0 rtwdev->dm_info.total_fa_cnt 0-589815
HOST_DATA 0 rtwdev->dm_info.vht_err_cnt 0-u32max
HOST_DATA 0 rtwdev->dm_info.vht_ok_cnt 0-u32max[c]
HOST_DATA 0 rtwdev->hal.chip_version 0-u32max
HALF_LOCKED2 &m->lock
HALF_LOCKED2 0 &rtwdev->mutex

drivers/net/wireless/realtek/rtw88/mac.c __rtw_download_firmware() -> ltecoex_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 rtwdev 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->afh_5g 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->btg_reg 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->btg_reg->mask 0,3,12,48,127-128,255,1671,2047,16128,32512,65280,196608,786432,16711680,4278190080
PARAM_VALUE 0 rtwdev->chip->edcca_th 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->edcca_th->hw_reg.mask 0,3,12,48,127-128,255,1671,2047,16128,32512,65280,196608,786432,16711680,4278190080
PARAM_VALUE 0 rtwdev->chip->fix_rf_phy_num 0,2
PARAM_VALUE 0 rtwdev->chip->fw_name 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->fwcd_segs 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->id 0-7
PARAM_VALUE 0 rtwdev->chip->intf_table->usb2_para->value 0,384,4096,6208,12352,12828,13718-13719,18978,24774,25472,38143,38435,43073,49158,65294,65487
PARAM_VALUE 0 rtwdev->chip->intf_table->usb3_para->value 0,384,4096,6208,12352,12828,13718-13719,18978,24774,25472,38143,38435,43073,49158,65294,65487
PARAM_VALUE 0 rtwdev->chip->log_efuse_size 512,768
PARAM_VALUE 0 rtwdev->chip->ltecoex_addr 1013705511958941696,5496196557375185012,5781175279680311296,7121409721533333504
PARAM_VALUE 0 rtwdev->chip->ops 4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->phy_efuse_size 256,512,1024
PARAM_VALUE 0 rtwdev->chip->ptct_efuse_size 0,15,96-97,124
PARAM_VALUE 0 rtwdev->chip->table_sant 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->tdma_nsant 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->tdma_sant 0,4096-ptr_max
PARAM_VALUE 0 rtwdev->chip->wlan_cpu 0
PARAM_VALUE 0 rtwdev->hci.ops 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->deep_ps 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->link_ps 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->read32 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->read8 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->setup 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->write32 4096-ptr_max
PARAM_VALUE 0 rtwdev->hci.ops->write8 4096-ptr_max
PARAM_VALUE 0 rtwdev->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->cqe_on 0-1
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->doing_retune 0-1
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->fail_mmc_request.ratelimit_state.flags 0-4294967295
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->fail_mmc_request.ratelimit_state.missed.counter s32min-s32max
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->fail_mmc_request.space.counter s32min-s32max
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->fail_mmc_request.times.counter s32min-s32max
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->hold_retune s32min-s32max
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->led->brightness 0-4294967295
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->need_retune s32min-s32max
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->ongoing_mrq->cmd_completion.done 0-4294967293,4294967295
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->retune_now 0-1
PARAM_VALUE 0 rtwdev->priv->sdio_func->card->host->uhs2_app_cmd 0-1
PARAM_VALUE 0 rtwdev->priv->usb_data_index 0-127
PARAM_VALUE 0 rtwdev->tx_wq->flags 0-4294967295
PARAM_VALUE 0 rtwdev->tx_wq->flush_color s32min-s32max
PARAM_VALUE 0 rtwdev->tx_wq->nr_drainers s32min-s32max
PARAM_VALUE 0 rtwdev->tx_wq->work_color s32min-s32max
PARAM_VALUE 0 rtwdev->tx_wq->wq_dev 0-s64max
PARAM_VALUE 1 offset 56
PARAM_VALUE 2 val 7055704191839477760
BUF_SIZE 0 rtwdev->dev (-1),1616
BUF_SIZE 0 rtwdev->hci.ops (-1),152
BUF_SIZE 0 rtwdev->hw (-1),208
DATA_SOURCE 0 rtwdev $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 rtwdev->coex.stat.ampdu_max_time 0-255
HOST_DATA 0 rtwdev->coex.stat.darfrc 0-u32max
HOST_DATA 0 rtwdev->coex.stat.darfrch 0-u32max
HOST_DATA 0 rtwdev->coex.stat.retry_limit 0-u16max
HOST_DATA 0 rtwdev->hal.chip_version 0-u32max
HOST_DATA 0 rtwdev->wow.txpause 0-255
NO_OVERFLOW_SIMPLE 0 rtwdev->scan_info.scanning_vif->active_links
NO_OVERFLOW_SIMPLE 0 rtwdev->tx_wq->rescuer->task->dl.pi_se->dl_runtime
LOCK2 0 &rtwdev->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct rtw_dev)->mutex