Lines Matching refs:ext_phy

141 	bool ext_phy = phy != &dev->phy;  in mt7615_mac_set_timing()  local
158 if (ext_phy) { in mt7615_mac_set_timing()
180 mt76_wr(dev, MT_TMAC_ICR(ext_phy), in mt7615_mac_set_timing()
191 mt76_rmw_field(dev, MT_AGG_ACR(ext_phy), MT_AGG_ACR_CFEND_RATE, val); in mt7615_mac_set_timing()
192 if (ext_phy) in mt7615_mac_set_timing()
1687 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_sensitivity() local
1691 mt76_rmw(dev, MT7663_WF_PHY_MIN_PRI_PWR(ext_phy), in mt7615_mac_set_sensitivity()
1695 mt76_rmw(dev, MT7663_WF_PHY_RXTD_CCK_PD(ext_phy), in mt7615_mac_set_sensitivity()
1696 MT_WF_PHY_PD_CCK_MASK(ext_phy), in mt7615_mac_set_sensitivity()
1697 MT_WF_PHY_PD_CCK(ext_phy, val)); in mt7615_mac_set_sensitivity()
1702 mt76_rmw(dev, MT_WF_PHY_MIN_PRI_PWR(ext_phy), in mt7615_mac_set_sensitivity()
1703 MT_WF_PHY_PD_OFDM_MASK(ext_phy), in mt7615_mac_set_sensitivity()
1704 MT_WF_PHY_PD_OFDM(ext_phy, val)); in mt7615_mac_set_sensitivity()
1706 mt76_rmw(dev, MT_WF_PHY_RXTD_CCK_PD(ext_phy), in mt7615_mac_set_sensitivity()
1707 MT_WF_PHY_PD_CCK_MASK(ext_phy), in mt7615_mac_set_sensitivity()
1708 MT_WF_PHY_PD_CCK(ext_phy, val)); in mt7615_mac_set_sensitivity()
1727 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_scs() local
1736 reg = MT7663_WF_PHY_MIN_PRI_PWR(ext_phy); in mt7615_mac_set_scs()
1739 reg = MT_WF_PHY_MIN_PRI_PWR(ext_phy); in mt7615_mac_set_scs()
1740 mask = MT_WF_PHY_PD_BLK(ext_phy); in mt7615_mac_set_scs()
1760 void mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy) in mt7615_mac_enable_nf() argument
1767 reg = MT_WF_PHY_R0_PHYMUX_5(ext_phy); in mt7615_mac_enable_nf()
1769 if (ext_phy) in mt7615_mac_enable_nf()
1781 bool ext_phy = phy != &dev->phy; in mt7615_mac_cca_stats_reset() local
1787 reg = MT_WF_PHY_R0_PHYMUX_5(ext_phy); in mt7615_mac_cca_stats_reset()
1800 bool ext_phy = phy != &dev->phy; in mt7615_mac_adjust_sensitivity() local
1807 signal = mt76_get_min_avg_rssi(&dev->mt76, ext_phy); in mt7615_mac_adjust_sensitivity()
1855 bool ext_phy = phy != &dev->phy; in mt7615_mac_scs_check() local
1861 val = mt76_rr(dev, MT7663_WF_PHY_R0_PHYCTRL_STS0(ext_phy)); in mt7615_mac_scs_check()
1863 val = mt76_rr(dev, MT_WF_PHY_R0_PHYCTRL_STS0(ext_phy)); in mt7615_mac_scs_check()
1868 val = mt76_rr(dev, MT7663_WF_PHY_R0_PHYCTRL_STS5(ext_phy)); in mt7615_mac_scs_check()
1870 val = mt76_rr(dev, MT_WF_PHY_R0_PHYCTRL_STS5(ext_phy)); in mt7615_mac_scs_check()
1988 bool ext_phy = phy != &dev->phy; in mt7615_mac_update_mib_stats() local
1992 mib->fcs_err_cnt += mt76_get_field(dev, MT_MIB_SDR3(ext_phy), in mt7615_mac_update_mib_stats()
1995 val = mt76_get_field(dev, MT_MIB_SDR14(ext_phy), in mt7615_mac_update_mib_stats()
1998 val2 = mt76_get_field(dev, MT_MIB_SDR15(ext_phy), in mt7615_mac_update_mib_stats()
2004 val = mt76_rr(dev, MT_MIB_MB_SDR1(ext_phy, i)); in mt7615_mac_update_mib_stats()
2009 val = mt76_rr(dev, MT_MIB_MB_SDR0(ext_phy, i)); in mt7615_mac_update_mib_stats()
2014 val = mt76_rr(dev, MT_TX_AGG_CNT(ext_phy, i)); in mt7615_mac_update_mib_stats()
2161 bool ext_phy = phy != &dev->phy; in mt7615_dfs_start_radar_detector() local
2165 err = mt76_connac_mcu_rdd_cmd(&dev->mt76, RDD_CAC_START, ext_phy, in mt7615_dfs_start_radar_detector()
2170 err = mt7615_dfs_start_rdd(dev, ext_phy); in mt7615_dfs_start_radar_detector()
2174 phy->rdd_state |= BIT(ext_phy); in mt7615_dfs_start_radar_detector()
2229 bool ext_phy = phy != &dev->phy; in mt7615_dfs_init_radar_detector() local
2264 ext_phy, MT_RX_SEL0, 0); in mt7615_dfs_init_radar_detector()
2274 err = mt76_connac_mcu_rdd_cmd(&dev->mt76, RDD_NORMAL_START, ext_phy, in mt7615_dfs_init_radar_detector()
2290 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_beacon_filter() local
2317 mt76_clear(dev, MT_WF_RFCR(ext_phy), in mt7615_mac_set_beacon_filter()
2321 mt76_set(dev, MT_WF_RFCR(ext_phy), in mt7615_mac_set_beacon_filter()