Lines Matching defs:chip

352 	const struct rtw89_chip_info *chip = rtwdev->chip;
384 chip->ops->set_txpwr(rtwdev, chan, phy_idx);
390 const struct rtw89_chip_info *chip = rtwdev->chip;
429 chip->ops->set_channel(rtwdev, chan, mac_idx, phy_idx);
431 chip->ops->set_txpwr(rtwdev, chan, phy_idx);
508 const struct rtw89_chip_info *chip = rtwdev->chip;
559 if (!chip->hw_sec_hdr)
664 const struct rtw89_chip_info *chip = rtwdev->chip;
668 if (!chip->dis_2g_40m_ul_ofdma ||
897 const struct rtw89_chip_info *chip = rtwdev->chip;
905 if (chip->chip_id != RTL8852C &&
1435 const struct rtw89_chip_info *chip = rtwdev->chip;
1438 enum rtw89_chip_gen chip_gen = rtwdev->chip->chip_gen;
1463 if (usr_num > chip->ppdu_max_usr) {
1507 u8 ant_num = hal->ant_diversity ? 2 : rtwdev->chip->rf_path_num;
1525 for (i = 0; i < rtwdev->chip->rf_path_num; i++)
1557 physts_ie_len_tab = physts_ie_len_tabs[rtwdev->chip->chip_gen];
1595 if (rtwdev->chip->cfo_src_fd) {
1651 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE)
2235 const struct rtw89_chip_info *chip = rtwdev->chip;
2246 if (chip->chip_id == RTL8852C)
2475 const struct rtw89_chip_info *chip = rtwdev->chip;
2477 if (rtw89_disable_ps_mode || !chip->ps_mode_supported ||
2481 if ((chip->ps_mode_supported & BIT(RTW89_PS_MODE_PWR_GATED)) &&
2485 if (chip->ps_mode_supported & BIT(RTW89_PS_MODE_CLK_GATED))
2488 if (chip->ps_mode_supported & BIT(RTW89_PS_MODE_RFOFF))
2968 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
3005 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
3258 const struct rtw89_chip_info *chip = rtwdev->chip;
3266 idx = rtw89_core_acquire_bit_map(cam_info->ba_cam_map, chip->bacam_num);
3267 if (idx == chip->bacam_num) {
3275 for_each_set_bit(i, cam_info->ba_cam_map, chip->bacam_num) {
3389 u8 ant_num = hal->ant_diversity ? 2 : rtwdev->chip->rf_path_num;
3717 const struct rtw89_chip_info *chip = rtwdev->chip;
3718 const __le16 *highest = chip->support_bandwidths & BIT(NL80211_CHAN_WIDTH_160) ?
3748 if (chip->support_bandwidths & BIT(NL80211_CHAN_WIDTH_160))
3766 const struct rtw89_chip_info *chip = rtwdev->chip;
3768 bool no_ng16 = (chip->chip_id == RTL8852A && hal->cv == CHIP_CBV) ||
3769 (chip->chip_id == RTL8852B && hal->cv == CHIP_CAV);
3807 if (chip->support_bandwidths & BIT(NL80211_CHAN_WIDTH_160))
3825 if (chip->support_bandwidths & BIT(NL80211_CHAN_WIDTH_160))
3840 if (chip->support_bandwidths & BIT(NL80211_CHAN_WIDTH_160))
3853 if (chip->support_bandwidths & BIT(NL80211_CHAN_WIDTH_160)) {
3876 const struct rtw89_chip_info *chip = rtwdev->chip;
3885 if (chip->chip_gen == RTW89_CHIP_AX)
3889 chip->support_bandwidths & BIT(NL80211_CHAN_WIDTH_320))
4003 u8 support_bands = rtwdev->chip->support_bands;
4262 const struct rtw89_chip_info *chip = rtwdev->chip;
4263 u8 mac_id_num = chip->support_macid_num;
4289 if (!(rtwdev->chip->support_bands & BIT(band)))
4330 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) {
4409 const struct rtw89_chip_info *chip = rtwdev->chip;
4415 if (chip->chip_id == RTL8852A && cv <= CHIP_CBV) {
4436 !(rtwdev->chip->chip_id == RTL8852A && rtwdev->hal.cv <= CHIP_CBV) &&
4437 !(rtwdev->chip->chip_id == RTL8852B && rtwdev->hal.cv <= CHIP_CAV);
4439 rtwdev->chip->chip_id == RTL8852A && rtwdev->hal.cv <= CHIP_CBV;
4444 const struct rtw89_chip_info *chip = rtwdev->chip;
4445 const struct rtw89_rfe_parms_conf *conf = chip->rfe_parms_conf;
4451 sel = chip->dflt_parms;
4463 sel = chip->dflt_parms;
4472 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4548 const struct rtw89_chip_info *chip = rtwdev->chip;
4587 if (chip->support_bandwidths & BIT(NL80211_CHAN_WIDTH_160))
4602 hw->wiphy->available_antennas_tx = BIT(rtwdev->chip->rf_path_num) - 1;
4603 hw->wiphy->available_antennas_rx = BIT(rtwdev->chip->rf_path_num) - 1;
4611 if (!chip->support_rnr)
4614 if (chip->chip_gen == RTW89_CHIP_BE)
4623 hw->wiphy->wowlan = rtwdev->chip->wowlan_stub;
4704 const struct rtw89_chip_info *chip)
4715 firmware = rtw89_early_fw_feature_recognize(device, chip, &early_fw, &fw_format);
4721 no_chanctx = chip->support_chanctx_num == 0 ||
4743 if (no_chanctx || chip->support_chanctx_num == 1)
4752 rtwdev->chip = chip;