Lines Matching full:chip
129 const struct rtw_hw_reg_offset *edcca_th = rtwdev->chip->edcca_th;
144 const struct rtw_chip_info *chip = rtwdev->chip;
157 dm_info->l2h_th_ini = chip->l2h_th_ini_ad;
161 dm_info->l2h_th_ini = chip->l2h_th_ini_cs;
171 const struct rtw_chip_info *chip = rtwdev->chip;
174 if (chip->ops->adaptivity_init)
175 chip->ops->adaptivity_init(rtwdev);
180 if (rtwdev->chip->ops->adaptivity)
181 rtwdev->chip->ops->adaptivity(rtwdev);
186 const struct rtw_chip_info *chip = rtwdev->chip;
188 if (chip->ops->cfo_init)
189 chip->ops->cfo_init(rtwdev);
196 path_div->current_tx_path = rtwdev->chip->default_1ss_tx_path;
205 const struct rtw_chip_info *chip = rtwdev->chip;
218 addr = chip->dig[0].addr;
219 mask = chip->dig[0].mask;
232 const struct rtw_chip_info *chip = rtwdev->chip;
237 if (chip->dig_cck) {
238 const struct rtw_hw_reg *dig_cck = &chip->dig_cck[0];
243 addr = chip->dig[path].addr;
244 mask = chip->dig[path].mask;
251 const struct rtw_chip_info *chip = rtwdev->chip;
253 chip->ops->false_alarm_statistics(rtwdev);
413 dig_min = rtwdev->chip->dig_min;
536 if (rtwdev->chip->id == RTW_CHIP_TYPE_8812A && rtwdev->beacon_loss &&
616 const struct rtw_chip_info *chip = rtwdev->chip;
618 if (chip->ops->dpk_track)
619 chip->ops->dpk_track(rtwdev);
672 const struct rtw_chip_info *chip = rtwdev->chip;
674 if (chip->ops->cfo_track)
675 chip->ops->cfo_track(rtwdev);
733 const struct rtw_chip_info *chip = rtwdev->chip;
757 if (chip->ops->cck_pd_set)
758 chip->ops->cck_pd_set(rtwdev, level);
763 rtwdev->chip->ops->pwr_track(rtwdev);
908 const struct rtw_chip_info *chip = rtwdev->chip;
909 const u32 *base_addr = chip->rf_base_addr;
931 const struct rtw_chip_info *chip = rtwdev->chip;
944 if (!chip->rf_sipi_read_addr) {
949 rf_sipi_addr = &chip->rf_sipi_read_addr[rf_path];
950 rf_sipi_addr_a = &chip->rf_sipi_read_addr[RF_PATH_A];
980 const struct rtw_chip_info *chip = rtwdev->chip;
981 const u32 *sipi_addr = chip->rf_sipi_addr;
995 old_data = chip->ops->read_rf(rtwdev, rf_path, addr, RFREG_MASK);
1020 const struct rtw_chip_info *chip = rtwdev->chip;
1021 const u32 *base_addr = chip->rf_base_addr;
1075 if (rtwdev->chip->id == RTW_CHIP_TYPE_8812A ||
1076 rtwdev->chip->id == RTW_CHIP_TYPE_8821A) {
1113 if (rtwdev->chip->id == RTW_CHIP_TYPE_8812A ||
1114 rtwdev->chip->id == RTW_CHIP_TYPE_8821A) {
1190 if (rtwdev->chip->is_pwr_by_rate_dec)
1584 u8 max_power_index = rtwdev->chip->max_power_index;
1619 u8 max_power_index = rtwdev->chip->max_power_index;
1796 const struct rtw_chip_info *chip = rtwdev->chip;
1799 if (!chip->rfk_init_tbl)
1808 rtw_load_table(rtwdev, chip->rfk_init_tbl);
1816 const struct rtw_chip_info *chip = rtwdev->chip;
1819 rtw_load_table(rtwdev, chip->mac_tbl);
1820 rtw_load_table(rtwdev, chip->bb_tbl);
1821 rtw_load_table(rtwdev, chip->agc_tbl);
1829 tbl = chip->rf_tbl[rf_path];
1927 const struct rtw_chip_info *chip = rtwdev->chip;
1930 if (!chip->en_dis_dpd)
1935 if (DIS_DPD_RATE ## _rate & chip->dpd_ratemask) \
1936 dpd_diff = -6 * chip->txgi_factor; \
1961 const struct rtw_chip_info *chip = rtwdev->chip;
1965 u8 factor = chip->txgi_factor;
2008 const struct rtw_chip_info *chip = rtwdev->chip;
2013 u8 factor = chip->txgi_factor;
2082 s8 power_limit = (s8)rtwdev->chip->max_power_index;
2122 return (s8)rtwdev->chip->max_power_index;
2143 return (s8)rtwdev->chip->max_power_index;
2200 if (rtwdev->chip->en_dis_dpd)
2205 if (tx_power > rtwdev->chip->max_power_index)
2206 tx_power = rtwdev->chip->max_power_index;
2261 const struct rtw_chip_info *chip = rtwdev->chip;
2270 chip->ops->set_tx_power_index(rtwdev);
2358 s8 max_power_index = (s8)rtwdev->chip->max_power_index;
2510 if (delta_lck >= rtwdev->chip->lck_threshold) {
2524 if (delta_iqk >= rtwdev->chip->iqk_threshold) {
2537 const struct rtw_chip_info *chip = rtwdev->chip;
2545 chip->ops->config_tx_path(rtwdev, rtwdev->hal.antenna_tx,
2592 const struct rtw_chip_info *chip = rtwdev->chip;
2594 if (!chip->path_div_supported)