Lines Matching full:chip
16 const struct rtw_chip_info *chip = rtwdev->chip;
17 u8 tol = chip->rssi_tolerance;
39 const struct rtw_chip_info *chip = rtwdev->chip;
44 if (!chip->scbd_support)
368 const struct rtw_chip_info *chip = rtwdev->chip;
373 if (!chip->scbd_support)
381 if (!chip->new_scbd10_def && (bitpos & COEX_SCBD_FIX2M)) {
403 const struct rtw_chip_info *chip = rtwdev->chip;
405 if (!chip->scbd_support)
413 const struct rtw_chip_info *chip = rtwdev->chip;
421 if (coex_rfe->wlg_at_btg && chip->scbd_support &&
492 const struct rtw_chip_info *chip = rtwdev->chip;
500 if (chip->scbd_support) {
545 const struct rtw_chip_info *chip = rtwdev->chip;
586 rssi_step = chip->wl_rssi_step[i];
726 const struct rtw_chip_info *chip = rtwdev->chip;
738 rssi_step = chip->bt_rssi_step[i];
826 const struct rtw_chip_info *chip = rtwdev->chip;
850 bw = chip->bt_afh_span_bw40;
852 bw = chip->bt_afh_span_bw20;
853 } else if (chip->afh_5g_num > 1) {
854 for (i = 0; i < chip->afh_5g_num; i++) {
855 if (center_chan == chip->afh_5g[i].wl_5g_ch) {
857 center_chan = chip->afh_5g[i].bt_skip_ch;
858 bw = chip->afh_5g[i].bt_skip_span;
953 const struct rtw_chip_info *chip = rtwdev->chip;
954 const struct rtw_hw_reg *btg_reg = chip->btg_reg;
971 if (!rtwdev->chip->ltecoex_addr)
980 if (!rtwdev->chip->ltecoex_addr)
1007 const struct rtw_chip_info *chip = rtwdev->chip;
1017 if (table_case < chip->table_sant_num)
1018 table_wl = chip->table_sant[table_case].wl;
1020 if (table_case < chip->table_nsant_num)
1021 table_wl = chip->table_nsant[table_case].wl;
1091 const struct rtw_chip_info *chip = rtwdev->chip;
1102 if (type < chip->table_sant_num)
1104 chip->table_sant[type].bt,
1105 chip->table_sant[type].wl);
1108 if (type < chip->table_nsant_num)
1110 chip->table_nsant[type].bt,
1111 chip->table_nsant[type].wl);
1161 const struct rtw_chip_info *chip = rtwdev->chip;
1186 if (chip->pstdma_type == COEX_PSTDMA_FORCE_LPSOFF)
1219 const struct rtw_chip_info *chip = rtwdev->chip;
1260 if (type < chip->tdma_sant_num)
1262 chip->tdma_sant[type].para[0],
1263 chip->tdma_sant[type].para[1],
1264 chip->tdma_sant[type].para[2],
1265 chip->tdma_sant[type].para[3],
1266 chip->tdma_sant[type].para[4]);
1269 if (n < chip->tdma_nsant_num)
1271 chip->tdma_nsant[n].para[0],
1272 chip->tdma_nsant[n].para[1],
1273 chip->tdma_nsant[n].para[2],
1274 chip->tdma_nsant[n].para[3],
1275 chip->tdma_nsant[n].para[4]);
1552 const struct rtw_chip_info *chip = rtwdev->chip;
1557 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
1575 const struct rtw_chip_info *chip = rtwdev->chip;
1606 if (level > chip->wl_rf_para_num - 1)
1607 level = chip->wl_rf_para_num - 1;
1610 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_tx[level]);
1612 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[level]);
1620 const struct rtw_chip_info *chip = rtwdev->chip;
1627 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
1645 const struct rtw_chip_info *chip = rtwdev->chip;
1652 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
1670 const struct rtw_chip_info *chip = rtwdev->chip;
1680 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
1710 const struct rtw_chip_info *chip = rtwdev->chip;
1719 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
1779 const struct rtw_chip_info *chip = rtwdev->chip;
1789 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
1879 const struct rtw_chip_info *chip = rtwdev->chip;
1914 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_tx[6]);
1916 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[5]);
1918 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
1927 const struct rtw_chip_info *chip = rtwdev->chip;
1935 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
1958 const struct rtw_chip_info *chip = rtwdev->chip;
1968 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2041 const struct rtw_chip_info *chip = rtwdev->chip;
2052 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2083 const struct rtw_chip_info *chip = rtwdev->chip;
2093 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2122 const struct rtw_chip_info *chip = rtwdev->chip;
2130 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2159 const struct rtw_chip_info *chip = rtwdev->chip;
2172 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2216 const struct rtw_chip_info *chip = rtwdev->chip;
2225 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2248 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2255 const struct rtw_chip_info *chip = rtwdev->chip;
2264 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2290 const struct rtw_chip_info *chip = rtwdev->chip;
2298 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2324 const struct rtw_chip_info *chip = rtwdev->chip;
2333 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2356 const struct rtw_chip_info *chip = rtwdev->chip;
2362 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2380 const struct rtw_chip_info *chip = rtwdev->chip;
2406 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_tx[6]);
2408 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[5]);
2410 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2419 const struct rtw_chip_info *chip = rtwdev->chip;
2428 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2459 const struct rtw_chip_info *chip = rtwdev->chip;
2465 rtw_coex_set_rf_para(rtwdev, chip->wl_rf_para_rx[0]);
2536 const struct rtw_chip_info *chip = rtwdev->chip;
2652 if (chip->wl_mimo_ps_support) {
3013 const struct rtw_chip_info *chip = rtwdev->chip;
3134 if (chip->ble_hid_profile_support) {
3182 if (chip->bt_rssi_type == COEX_BTRSSI_RATIO) {
3281 const struct rtw_chip_info *chip = rtwdev->chip;
3290 if (!chip->wl_mimo_ps_support &&
3371 const struct rtw_chip_info *chip = rtwdev->chip;
3378 if (!chip->wl_mimo_ps_support || coex_stat->wl_under_ips ||
3593 const struct rtw_chip_info *chip = rtwdev->chip;
3602 n = chip->table_sant_num;
3604 n = chip->table_nsant_num;
3608 load_bt_val = chip->table_sant[i].bt;
3609 load_wl_val = chip->table_sant[i].wl;
3611 load_bt_val = chip->table_nsant[i].bt;
3612 load_wl_val = chip->table_nsant[i].wl;
3629 const struct rtw_chip_info *chip = rtwdev->chip;
3638 n = chip->tdma_sant_num;
3640 n = chip->tdma_nsant_num;
3646 load_cur_tab_val = chip->tdma_sant[i].para[j];
3648 load_cur_tab_val = chip->tdma_nsant[i].para[j];
3747 const struct rtw_chip_info *chip = rtwdev->chip;
3755 for (i = 0; i < chip->coex_info_hw_regs_num; i++) {
3756 reg = &chip->coex_info_hw_regs[i];
3921 const struct rtw_chip_info *chip = rtwdev->chip;
3946 if (rtwdev->chip->ltecoex_addr) {
3968 seq_printf(m, "\t\tBT Coexist info %x\n", chip->id);
3990 chip->coex_para_ver, chip->bt_desired_ver,
3993 coex_stat->bt_supported_version >= chip->bt_desired_ver ?
4004 chip->wl_fw_desired_ver, coex_stat->kt_ver + 65);