Lines Matching defs:chip
65 u32 h2c_desc_size = rtwdev->chip->h2c_desc_size;
91 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
704 const struct rtw89_chip_info *chip,
712 if (chip->chip_id != ent->chip_id)
722 const struct rtw89_chip_info *chip = rtwdev->chip;
729 rtw89_fw_iterate_feature_cfg(&rtwdev->fw, chip, suit_ver_code);
734 const struct rtw89_chip_info *chip,
744 for (fw_format = chip->fw_format_max; fw_format >= 0; fw_format--) {
746 chip->fw_basename, fw_format);
766 rtw89_fw_iterate_feature_cfg(early_fw, chip, ver_code);
774 const struct rtw89_chip_info *chip = rtwdev->chip;
777 if (chip->try_ce_fw) {
920 const struct rtw89_chip_info *chip = rtwdev->chip;
927 if (chip->support_bands & BIT(NL80211_BAND_6GHZ))
929 if (chip->support_bands & BIT(NL80211_BAND_5GHZ))
931 if (chip->support_bands & BIT(NL80211_BAND_2GHZ))
1069 const struct rtw89_chip_info *chip = rtwdev->chip;
1070 u32 unrecognized_elements = chip->needed_fw_elms;
1078 BUILD_BUG_ON(sizeof(chip->needed_fw_elms) * 8 < RTW89_FW_ELEMENT_ID_NUM);
1271 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
1367 const struct rtw89_chip_info *chip = rtwdev->chip;
1379 if (chip->chip_gen == RTW89_CHIP_AX)
1395 enum rtw89_chip_gen chip_gen = rtwdev->chip->chip_gen;
1439 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
1449 if (rtwdev->chip->chip_id == RTL8922A &&
1474 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
1477 u8 bbmcu_nr = rtwdev->chip->bbmcu_nr;
1573 const struct rtw89_chip_info *chip = rtwdev->chip;
1577 chip->fw_basename, rtwdev->fw.fw_format);
1946 const struct rtw89_chip_info *chip = rtwdev->chip;
1977 if (chip->bacam_ver == RTW89_BACAM_V0_EXT)
1993 if (chip->bacam_ver == RTW89_BACAM_V0_EXT) {
2062 const struct rtw89_chip_info *chip = rtwdev->chip;
2063 u8 entry_idx = chip->bacam_num;
2067 for (i = 0; i < chip->bacam_dynamic_num; i++) {
2077 const struct rtw89_chip_info *chip = rtwdev->chip;
2124 entry_idx += chip->bacam_dynamic_num; /* std entry right after dynamic ones */
2533 const struct rtw89_chip_info *chip = rtwdev->chip;
2540 if (chip->chip_gen != RTW89_CHIP_BE)
2635 const struct rtw89_chip_info *chip = rtwdev->chip;
2640 if (chip->rf_path_num == 1) {
2660 const struct rtw89_chip_info *chip = rtwdev->chip;
2673 if (chip->h2c_cctl_func_id == H2C_FUNC_MAC_CCTLINFO_UD) {
2688 chip->h2c_cctl_func_id, 0, 1,
2847 const struct rtw89_chip_info *chip = rtwdev->chip;
2887 if (chip->h2c_cctl_func_id == H2C_FUNC_MAC_CCTLINFO_UD_V1) {
2892 } else if (chip->h2c_cctl_func_id == H2C_FUNC_MAC_CCTLINFO_UD) {
2906 chip->h2c_cctl_func_id, 0, 1,
3165 const struct rtw89_chip_info *chip = rtwdev->chip;
3188 chip->h2c_cctl_func_id, 0, 1,
3207 const struct rtw89_chip_info *chip = rtwdev->chip;
3211 if (chip->h2c_cctl_func_id != H2C_FUNC_MAC_CCTLINFO_UD)
3495 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) {
3911 const struct rtw89_chip_info *chip = rtwdev->chip;
3919 if (chip->chip_gen == RTW89_CHIP_BE) {
5680 const struct rtw89_chip_info *chip = rtwdev->chip;
5682 const u32 *h2c_reg = chip->h2c_regs;
5687 rtwdev, chip->h2c_ctrl_reg);
5703 rtw89_write8_mask(rtwdev, chip->h2c_counter_reg.addr,
5704 chip->h2c_counter_reg.mask, fw_info->h2c_counter);
5705 rtw89_write8(rtwdev, chip->h2c_ctrl_reg, B_AX_H2CREG_TRIGGER);
5713 const struct rtw89_chip_info *chip = rtwdev->chip;
5715 const u32 *c2h_reg = chip->c2h_regs;
5723 chip->c2h_ctrl_reg);
5732 rtw89_write8(rtwdev, chip->c2h_ctrl_reg, 0);
5740 rtw89_write8_mask(rtwdev, chip->c2h_counter_reg.addr,
5741 chip->c2h_counter_reg.mask, fw_info->c2h_counter);
5802 if (!(rtwdev->chip->support_bands & BIT(idx)))
5847 if (!(rtwdev->chip->support_bands & BIT(band)))
6258 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
6279 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
6314 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
6380 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
6399 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) {