Lines Matching defs:chip

43 	const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
53 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
305 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
323 const struct rtw89_chip_info *chip = rtwdev->chip;
343 if (chip->chip_id == RTL8852C) {
360 if (chip->chip_id == RTL8852C)
369 if (chip->chip_id == RTL8852C) {
401 } else if (chip->chip_id == RTL8922A) {
452 if (chip->chip_id == RTL8922A) {
477 if (chip->chip_id == RTL8852C || chip->chip_id == RTL8922A) {
515 if (chip->chip_id == RTL8922A) {
529 if (chip->chip_id == RTL8852C) {
555 if (chip->chip_id == RTL8922A) {
585 if (chip->chip_id == RTL8852C || chip->chip_id == RTL8922A) {
610 if (chip->chip_id == RTL8922A) {
619 if (chip->chip_id == RTL8922A) {
624 } else if (chip->chip_id == RTL8852C) {
659 const struct rtw89_chip_info *chip = rtwdev->chip;
699 if (chip->chip_id == RTL8852C) {
711 if (chip->chip_id == RTL8852C) {
730 if (chip->chip_id == RTL8852C) {
785 if (rtwdev->chip->chip_id == RTL8852C) {
814 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
884 param_ini = rtwdev->chip->hfc_param_ini[qta_mode];
933 if (rtwdev->chip->chip_id == RTL8852A)
955 const struct rtw89_chip_info *chip = rtwdev->chip;
956 const struct rtw89_page_regs *regs = chip->page_regs;
983 const struct rtw89_chip_info *chip = rtwdev->chip;
984 const struct rtw89_page_regs *regs = chip->page_regs;
1010 const struct rtw89_chip_info *chip = rtwdev->chip;
1011 const struct rtw89_page_regs *regs = chip->page_regs;
1036 const struct rtw89_chip_info *chip = rtwdev->chip;
1037 const struct rtw89_page_regs *regs = chip->page_regs;
1091 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
1110 const struct rtw89_chip_info *chip = rtwdev->chip;
1111 const struct rtw89_page_regs *regs = chip->page_regs;
1126 const struct rtw89_chip_info *chip = rtwdev->chip;
1127 const struct rtw89_page_regs *regs = chip->page_regs;
1161 const struct rtw89_chip_info *chip = rtwdev->chip;
1162 const struct rtw89_page_regs *regs = chip->page_regs;
1177 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
1178 const struct rtw89_chip_info *chip = rtwdev->chip;
1179 u32 dma_ch_mask = chip->dma_ch_mask;
1447 const struct rtw89_chip_info *chip = rtwdev->chip;
1454 cfg_seq = chip->pwr_on_seq;
1455 cfg_func = chip->ops->pwr_on_func;
1457 cfg_seq = chip->pwr_off_seq;
1458 cfg_func = chip->ops->pwr_off_func;
1546 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
1580 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
1695 cfg = &rtwdev->chip->dle_mem[mode];
1773 grpnum = rtwdev->chip->wde_qempty_acq_grpnum;
1792 qempty.grpsel = rtwdev->chip->wde_qempty_mgq_grpsel;
1841 u32 size = rtwdev->chip->fifo_size;
1844 size -= rtwdev->chip->dle_scc_rsvd_size;
1864 if (rtwdev->chip->chip_id == RTL8851B)
1990 if (rtwdev->chip->chip_id == RTL8852C)
2000 if (rtwdev->chip->chip_id == RTL8852C)
2030 if (rtwdev->chip->chip_gen != RTW89_CHIP_AX)
2043 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
2052 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
2149 const struct rtw89_chip_info *chip = rtwdev->chip;
2151 if (chip->chip_id == RTL8852A || rtw89_is_rtl885xb(rtwdev) ||
2186 const struct rtw89_chip_info *chip = rtwdev->chip;
2188 if (chip->chip_id == RTL8852A || rtw89_is_rtl885xb(rtwdev))
2243 const struct rtw89_chip_info *chip = rtwdev->chip;
2257 if (chip->chip_id == RTL8852A || chip->chip_id == RTL8852B ||
2258 chip->chip_id == RTL8851B)
2269 if (chip->chip_id == RTL8852C)
2357 if (rtwdev->chip->chip_id == RTL8852C)
2373 if (rtwdev->chip->chip_id == RTL8852C) {
2468 switch (rtwdev->chip->chip_id) {
2574 const struct rtw89_chip_info *chip = rtwdev->chip;
2575 const struct rtw89_rrsr_cfgs *rrsr = chip->rrsr_cfgs;
2588 switch (rtwdev->chip->chip_id) {
2638 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
2693 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
2877 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
2903 const struct rtw89_chip_info *chip = rtwdev->chip;
2923 hal->tx_nss = tx_nss ? min_t(u8, tx_nss, chip->tx_nss) : chip->tx_nss;
2924 hal->rx_nss = rx_nss ? min_t(u8, rx_nss, chip->rx_nss) : chip->rx_nss;
2936 if (chip->rf_path_num == 1) {
2944 "phycap hal/phy/chip: tx_nss=0x%x/0x%x/0x%x rx_nss=0x%x/0x%x/0x%x\n",
2945 hal->tx_nss, tx_nss, chip->tx_nss,
2946 hal->rx_nss, rx_nss, chip->rx_nss);
3208 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
3229 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
3359 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3367 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3374 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
3375 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3402 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3414 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3428 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3436 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3450 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3474 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3499 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3509 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3510 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
3526 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3536 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3546 const struct rtw89_imr_info *imr = rtwdev->chip->imr_info;
3649 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
3705 const struct rtw89_chip_info *chip = rtwdev->chip;
3708 if (chip->bacam_ver != RTW89_BACAM_V1)
3784 if (rtwdev->chip->chip_id == RTL8852B)
3805 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
3819 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
3848 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
3934 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
3935 const struct rtw89_chip_info *chip = rtwdev->chip;
3936 bool include_bb = !!chip->bbmcu_nr;
3979 if (rtwdev->chip->chip_gen != RTW89_CHIP_AX)
3991 if (rtwdev->chip->chip_gen != RTW89_CHIP_AX)
4060 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4082 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4115 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4118 const struct rtw89_chip_info *chip = rtwdev->chip;
4125 if (chip->chip_id == RTL8852A && rtwvif->port != RTW89_PORT_0) {
4133 if (chip->chip_id == RTL8852A) {
4153 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4165 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4177 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4187 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4201 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4216 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4237 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4267 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4280 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4292 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4307 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4317 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4327 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4337 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4347 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4369 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4386 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4403 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4417 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4427 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4431 if (rtwdev->chip->chip_id != RTL8852C)
4450 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4597 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4636 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
4733 if (!(rtwdev->chip->support_bands & BIT(NL80211_BAND_6GHZ)))
4740 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) {
5342 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE)
5490 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
5528 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id;
5818 const struct rtw89_chip_info *chip = rtwdev->chip;
5821 if (chip->chip_id == RTL8852C || chip->chip_id == RTL8922A)
5823 else if (chip->chip_id == RTL8852A || rtw89_is_rtl885xb(rtwdev))
5847 if (rtwdev->chip->chip_gen != RTW89_CHIP_AX)
5865 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
6249 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
6365 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
6406 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def;
6407 const struct rtw89_chip_info *chip = rtwdev->chip;
6426 if (chip->chip_id == RTL8852A || rtw89_is_rtl885xb(rtwdev))