Searched refs:is_mt7915 (Results 1 – 14 of 14) sorted by relevance
52 if (is_mt7915(&dev->mt76)) { in mt7915_dma_config()137 if (!is_mt7915(&dev->mt76)) { in __mt7915_dma_prefetch()152 if (is_mt7915(&dev->mt76)) { in __mt7915_dma_prefetch()188 if (is_mt7915(mdev)) { in mt7915_dma_disable()207 if (is_mt7915(mdev)) { in mt7915_dma_disable()227 if (is_mt7915(mdev)) in mt7915_dma_disable()243 if (is_mt7915(mdev)) in mt7915_dma_disable()270 if (is_mt7915(mdev)) in mt7915_dma_start()284 if (is_mt7915(mdev)) in mt7915_dma_start()342 if (is_mt7915(mdev)) in mt7915_dma_enable()[all …]
151 count = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_state()175 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()181 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()186 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()194 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()208 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()247 u32 offs = is_mt7915(&dev->mt76) ? 0xe0 : 0x170; in mt7915_coredump_fw_task()280 idx = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_context()
26 offs = is_mt7915(&dev->mt76) ? MT_EE_PRECAL : MT_EE_PRECAL_V2; in mt7915_eeprom_load_precal()39 return CHECK_EEPROM_ERR(is_mt7915(&dev->mt76)); in mt7915_check_eeprom()153 if (!is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_band_config()197 if (is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_hw_cap()211 if (is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_hw_cap()
375 if (!is_mt7915(&dev->mt76)) in mt7915_init_wiphy()410 if (is_mt7915(&dev->mt76)) { in mt7915_init_wiphy()430 if (!is_mt7915(&dev->mt76) || !dev->dbdc_support) in mt7915_init_wiphy()579 u32 rx_len = is_mt7915(&dev->mt76) ? 0x400 : 0x680; in mt7915_mac_init()582 if (!is_mt7915(&dev->mt76) && dev->hif2) in mt7915_mac_init()588 if (!is_mt7915(&dev->mt76)) in mt7915_mac_init()709 if (is_mt7915(&dev->mt76)) { in mt7915_wfsys_reset()777 ret = is_mt7915(&dev->mt76) ? in mt7915_band_config()866 if (is_mt7915(&dev->mt76)) { in mt7915_set_stream_he_txbf_caps()893 if (!is_mt7915(&dev->mt76)) in mt7915_set_stream_he_txbf_caps()[all …]
466 if (!is_mt7915(&dev->mt76) || (rxd1 & MT_RXD1_NORMAL_GROUP_5)) { in mt7915_mac_fill_rx()1177 if (!is_mt7915(&dev->mt76)) { in mt7915_mac_set_timing()1211 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RXTD12(band) : in mt7915_mac_enable_nf()1217 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RX_CTRL1(band) : in mt7915_mac_enable_nf()1231 u32 reg = is_mt7915(&dev->mt76) ? in mt7915_phy_get_nf()1331 if (is_mt7915(mdev)) in mt7915_mac_restart()1386 if (is_mt7915(mdev)) in mt7915_mac_restart()1706 mib->fcs_err_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()1728 mib->rx_mrdy_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()1744 mib->tx_mpdu_attempts_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()[all …]
423 l1_remap = is_mt7915(&dev->mt76) ? in mt7915_reg_map_l1()439 if (is_mt7915(&dev->mt76)) { in mt7915_reg_map_l2()794 wed->wlan.tx_tbit[0] = is_mt7915(&dev->mt76) ? 4 : 30; in mt7915_mmio_wed_init()795 wed->wlan.tx_tbit[1] = is_mt7915(&dev->mt76) ? 5 : 31; in mt7915_mmio_wed_init()798 wed->wlan.wcid_512 = !is_mt7915(&dev->mt76); in mt7915_mmio_wed_init()803 if (is_mt7915(&dev->mt76)) { in mt7915_mmio_wed_init()979 if (!is_mt7915(&dev->mt76) && in mt7915_irq_tasklet()
511 return is_mt7915(&dev->mt76) ? MT7915_WTBL_SIZE : MT7916_WTBL_SIZE; in mt7915_wtbl_size()516 return is_mt7915(&dev->mt76) ? MT7915_EEPROM_SIZE : MT7916_EEPROM_SIZE; in mt7915_eeprom_size()
166 if (is_mt7915(mdev)) in mt7915_pci_probe()
934 if (is_mt7915(&dev->mt76)) in __mt7915_get_tsf()981 if (is_mt7915(&dev->mt76)) in mt7915_set_tsf()1012 if (is_mt7915(&dev->mt76)) in mt7915_offset_tsf()1076 if (is_mt7915(&phy->dev->mt76) && in mt7915_sta_statistics()1638 path->mtk_wdma.wcid = is_mt7915(&dev->mt76) ? msta->wcid.idx : 0x3ff; in mt7915_net_fill_forward_path()
104 if (is_mt7915(&dev->mt76) && nss > 1 && in mt7915_mcu_set_sta_he_mcs()140 if (is_mt7915(&dev->mt76) && nss > 1 && in mt7915_mcu_set_sta_vht_mcs()875 if (!is_mt7915(&dev->mt76)) in mt7915_mcu_sta_muru_tlv()966 if (!is_mt7915(&dev->mt76)) { in mt7915_mcu_sta_amsdu_tlv()2351 is_mt7915(&dev->mt76)) || in mt7915_mcu_init_firmware()3027 if (is_mt7915(&dev->mt76)) { in mt7915_mcu_get_chan_mib_info()3064 cc_tx = is_mt7915(&dev->mt76) ? __res_u64(1) - __res_u64(4) : __res_u64(1); in mt7915_mcu_get_chan_mib_info()3827 if (!is_mt7915(&dev->mt76)) in mt7915_mcu_wed_wa_tx_stats()
774 fcs_err = is_mt7915(&dev->mt76) ? FIELD_GET(MT_MIB_SDR3_FCS_ERR_MASK, cnt) : in mt7915_tm_dump_stats()
1035 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_TPC_CTRL_STAT(band) : in mt7915_rate_txpower_get()
190 static inline bool is_mt7915(struct mt76_dev *dev) in is_mt7915() function
512 if (is_mt7915(dev) && mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac2_mac_write_txwi()1013 if (!is_mt7915(dev)) { in mt76_connac2_mac_fill_rx_rate()