Lines Matching refs:band_idx

245 	if ((rxd1 & MT_RXD1_NORMAL_BAND_IDX) && !phy->band_idx) {  in mt7915_mac_fill_rx()
510 u8 band_idx; in mt7915_mac_fill_rx_vector() local
515 band_idx = le32_get_bits(rxv_hdr[1], MT_RXV_HDR_BAND_IDX); in mt7915_mac_fill_rx_vector()
516 if (band_idx && !phy->band_idx) { in mt7915_mac_fill_rx_vector()
1114 u32 reg = MT_WF_PHY_RX_CTRL1(phy->band_idx); in mt7915_mac_cca_stats_reset()
1126 mt76_rr(dev, MT_TX_AGG_CNT(phy->band_idx, i)); in mt7915_mac_reset_counters()
1127 mt76_rr(dev, MT_TX_AGG_CNT2(phy->band_idx, i)); in mt7915_mac_reset_counters()
1132 if (phy->band_idx) in mt7915_mac_reset_counters()
1138 mt76_set(dev, MT_WF_RMAC_MIB_AIRTIME0(phy->band_idx), in mt7915_mac_reset_counters()
1164 mt76_set(dev, MT_ARB_SCR(phy->band_idx), in mt7915_mac_set_timing()
1174 mt76_wr(dev, MT_TMAC_ICR1(phy->band_idx), in mt7915_mac_set_timing()
1184 mt76_wr(dev, MT_TMAC_CDTR(phy->band_idx), cck + reg_offset); in mt7915_mac_set_timing()
1185 mt76_wr(dev, MT_TMAC_ODTR(phy->band_idx), ofdm + reg_offset); in mt7915_mac_set_timing()
1186 mt76_wr(dev, MT_TMAC_ICR0(phy->band_idx), in mt7915_mac_set_timing()
1197 mt76_rmw_field(dev, MT_AGG_ACR0(phy->band_idx), MT_AGG_ACR_CFEND_RATE, val); in mt7915_mac_set_timing()
1198 mt76_clear(dev, MT_ARB_SCR(phy->band_idx), in mt7915_mac_set_timing()
1251 nf = mt7915_phy_get_nf(phy, phy->band_idx); in mt7915_update_channel()
1481 cnt = mt76_rr(dev, MT_MIB_SDR3(phy->band_idx)); in mt7915_mac_update_stats()
1486 cnt = mt76_rr(dev, MT_MIB_SDR4(phy->band_idx)); in mt7915_mac_update_stats()
1489 cnt = mt76_rr(dev, MT_MIB_SDR5(phy->band_idx)); in mt7915_mac_update_stats()
1492 cnt = mt76_rr(dev, MT_MIB_SDR6(phy->band_idx)); in mt7915_mac_update_stats()
1495 cnt = mt76_rr(dev, MT_MIB_SDR7(phy->band_idx)); in mt7915_mac_update_stats()
1499 cnt = mt76_rr(dev, MT_MIB_SDR8(phy->band_idx)); in mt7915_mac_update_stats()
1503 cnt = mt76_rr(dev, MT_MIB_SDR10(phy->band_idx)); in mt7915_mac_update_stats()
1508 cnt = mt76_rr(dev, MT_MIB_SDR11(phy->band_idx)); in mt7915_mac_update_stats()
1512 cnt = mt76_rr(dev, MT_MIB_SDR12(phy->band_idx)); in mt7915_mac_update_stats()
1515 cnt = mt76_rr(dev, MT_MIB_SDR13(phy->band_idx)); in mt7915_mac_update_stats()
1519 cnt = mt76_rr(dev, MT_MIB_SDR14(phy->band_idx)); in mt7915_mac_update_stats()
1524 cnt = mt76_rr(dev, MT_MIB_SDR15(phy->band_idx)); in mt7915_mac_update_stats()
1529 cnt = mt76_rr(dev, MT_MIB_SDR16(phy->band_idx)); in mt7915_mac_update_stats()
1533 cnt = mt76_rr(dev, MT_MIB_SDR17(phy->band_idx)); in mt7915_mac_update_stats()
1537 cnt = mt76_rr(dev, MT_MIB_SDR18(phy->band_idx)); in mt7915_mac_update_stats()
1541 cnt = mt76_rr(dev, MT_MIB_SDR19(phy->band_idx)); in mt7915_mac_update_stats()
1544 cnt = mt76_rr(dev, MT_MIB_SDR20(phy->band_idx)); in mt7915_mac_update_stats()
1548 cnt = mt76_rr(dev, MT_MIB_SDR21(phy->band_idx)); in mt7915_mac_update_stats()
1552 cnt = mt76_rr(dev, MT_MIB_SDR22(phy->band_idx)); in mt7915_mac_update_stats()
1555 cnt = mt76_rr(dev, MT_MIB_SDR23(phy->band_idx)); in mt7915_mac_update_stats()
1558 cnt = mt76_rr(dev, MT_MIB_SDR24(phy->band_idx)); in mt7915_mac_update_stats()
1563 cnt = mt76_rr(dev, MT_MIB_SDR25(phy->band_idx)); in mt7915_mac_update_stats()
1566 cnt = mt76_rr(dev, MT_MIB_SDR27(phy->band_idx)); in mt7915_mac_update_stats()
1570 cnt = mt76_rr(dev, MT_MIB_SDR28(phy->band_idx)); in mt7915_mac_update_stats()
1574 cnt = mt76_rr(dev, MT_MIB_SDR29(phy->band_idx)); in mt7915_mac_update_stats()
1579 cnt = mt76_rr(dev, MT_MIB_SDRVEC(phy->band_idx)); in mt7915_mac_update_stats()
1584 cnt = mt76_rr(dev, MT_MIB_SDR31(phy->band_idx)); in mt7915_mac_update_stats()
1587 cnt = mt76_rr(dev, MT_MIB_SDRMUBF(phy->band_idx)); in mt7915_mac_update_stats()
1590 cnt = mt76_rr(dev, MT_MIB_DR8(phy->band_idx)); in mt7915_mac_update_stats()
1593 cnt = mt76_rr(dev, MT_MIB_DR9(phy->band_idx)); in mt7915_mac_update_stats()
1596 cnt = mt76_rr(dev, MT_MIB_DR11(phy->band_idx)); in mt7915_mac_update_stats()
1599 cnt = mt76_rr(dev, MT_ETBF_PAR_RPT0(phy->band_idx)); in mt7915_mac_update_stats()
1610 aggr0 = phy->band_idx ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7915_mac_update_stats()
1613 val = mt76_rr(dev, MT_MIB_MB_SDR1(phy->band_idx, (i << 4))); in mt7915_mac_update_stats()
1619 val = mt76_rr(dev, MT_MIB_MB_SDR0(phy->band_idx, (i << 4))); in mt7915_mac_update_stats()
1624 val = mt76_rr(dev, MT_TX_AGG_CNT(phy->band_idx, i)); in mt7915_mac_update_stats()
1628 val = mt76_rr(dev, MT_TX_AGG_CNT2(phy->band_idx, i)); in mt7915_mac_update_stats()
1633 cnt = mt76_rr(dev, MT_MIB_SDR32(phy->band_idx)); in mt7915_mac_update_stats()
1636 cnt = mt76_rr(dev, MT_MIB_SDR33(phy->band_idx)); in mt7915_mac_update_stats()
1639 cnt = mt76_rr(dev, MT_ETBF_TX_APP_CNT(phy->band_idx)); in mt7915_mac_update_stats()
1643 cnt = mt76_rr(dev, MT_ETBF_TX_NDP_BFRP(phy->band_idx)); in mt7915_mac_update_stats()
1647 cnt = mt76_rr(dev, MT_ETBF_RX_FB_CNT(phy->band_idx)); in mt7915_mac_update_stats()
1655 val = mt76_rr(dev, MT_MIB_MB_SDR0(phy->band_idx, (i << 2))); in mt7915_mac_update_stats()
1660 val = mt76_rr(dev, MT_MIB_MB_SDR1(phy->band_idx, (i << 2))); in mt7915_mac_update_stats()
1665 val = mt76_rr(dev, MT_MIB_MB_SDR2(phy->band_idx, (i << 2))); in mt7915_mac_update_stats()
1670 val = mt76_rr(dev, MT_MIB_MB_BFTF(phy->band_idx, (i << 2))); in mt7915_mac_update_stats()
1676 val = mt76_rr(dev, MT_TX_AGG_CNT(phy->band_idx, i)); in mt7915_mac_update_stats()
1681 cnt = mt76_rr(dev, MT_MIB_SDR32(phy->band_idx)); in mt7915_mac_update_stats()
1687 cnt = mt76_rr(dev, MT_MIB_BFCR7(phy->band_idx)); in mt7915_mac_update_stats()
1690 cnt = mt76_rr(dev, MT_MIB_BFCR2(phy->band_idx)); in mt7915_mac_update_stats()
1693 cnt = mt76_rr(dev, MT_MIB_BFCR0(phy->band_idx)); in mt7915_mac_update_stats()
1699 cnt = mt76_rr(dev, MT_MIB_BFCR1(phy->band_idx)); in mt7915_mac_update_stats()
1718 trb = mt76_rr(dev, MT_TRB_RXPSR0(phy->band_idx)); in mt7915_mac_severe_check()
1839 err = mt76_connac_mcu_rdd_cmd(&dev->mt76, RDD_CAC_START, phy->band_idx, in mt7915_dfs_start_radar_detector()
1844 err = mt7915_dfs_start_rdd(dev, phy->band_idx); in mt7915_dfs_start_radar_detector()
1848 phy->rdd_state |= BIT(phy->band_idx); in mt7915_dfs_start_radar_detector()
1933 phy->band_idx, MT_RX_SEL0, 0); in mt7915_dfs_init_radar_detector()
1944 phy->band_idx, MT_RX_SEL0, 0); in mt7915_dfs_init_radar_detector()