Home
last modified time | relevance | path

Searched refs:is_mt7915 (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/
Ddma.c54 if (is_mt7915(&dev->mt76)) { in mt7915_dma_config()
139 if (!is_mt7915(&dev->mt76)) { in __mt7915_dma_prefetch()
154 if (is_mt7915(&dev->mt76)) { in __mt7915_dma_prefetch()
190 if (is_mt7915(mdev)) { in mt7915_dma_disable()
209 if (is_mt7915(mdev)) { in mt7915_dma_disable()
229 if (is_mt7915(mdev)) in mt7915_dma_disable()
245 if (is_mt7915(mdev)) in mt7915_dma_disable()
272 if (is_mt7915(mdev)) in mt7915_dma_start()
286 if (is_mt7915(mdev)) in mt7915_dma_start()
344 if (is_mt7915(mdev)) in mt7915_dma_enable()
[all …]
Dcoredump.c151 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()
Deeprom.c12 u32 offs = is_mt7915(&dev->mt76) ? MT_EE_DO_PRE_CAL : MT_EE_DO_PRE_CAL_V2; in mt7915_eeprom_load_precal()
25 offs = is_mt7915(&dev->mt76) ? MT_EE_PRECAL : MT_EE_PRECAL_V2; in mt7915_eeprom_load_precal()
50 return CHECK_EEPROM_ERR(is_mt7915(&dev->mt76)); in mt7915_check_eeprom()
164 if (!is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_band_config()
208 if (is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_hw_cap()
222 if (is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_hw_cap()
Dinit.c389 if (!is_mt7915(&dev->mt76)) in mt7915_init_wiphy()
411 if (is_mt7915(&dev->mt76)) in mt7915_init_wiphy()
427 if (is_mt7915(&dev->mt76)) { in mt7915_init_wiphy()
453 if (!is_mt7915(&dev->mt76) || !dev->dbdc_support) in mt7915_init_wiphy()
603 u32 rx_len = is_mt7915(&dev->mt76) ? 0x400 : 0x680; in mt7915_mac_init()
606 if (!is_mt7915(&dev->mt76) && dev->hif2) in mt7915_mac_init()
612 if (!is_mt7915(&dev->mt76)) in mt7915_mac_init()
730 if (is_mt7915(&dev->mt76)) { in mt7915_wfsys_reset()
798 ret = is_mt7915(&dev->mt76) ? in mt7915_band_config()
887 if (is_mt7915(&dev->mt76)) { in mt7915_set_stream_he_txbf_caps()
[all …]
Deeprom.h175 if (is_mt7915(&dev->mt76)) { in mt7915_get_cal_group_size()
192 if (is_mt7915(&dev->mt76)) in mt7915_get_cal_dpd_size()
Dmmio.c423 l1_remap = is_mt7915(&dev->mt76) ? in mt7915_reg_map_l1()
439 if (is_mt7915(&dev->mt76)) { in mt7915_reg_map_l2()
688 wed->wlan.tx_tbit[0] = is_mt7915(&dev->mt76) ? 4 : 30; in mt7915_mmio_wed_init()
689 wed->wlan.tx_tbit[1] = is_mt7915(&dev->mt76) ? 5 : 31; in mt7915_mmio_wed_init()
692 wed->wlan.wcid_512 = !is_mt7915(&dev->mt76); in mt7915_mmio_wed_init()
697 if (is_mt7915(&dev->mt76)) { in mt7915_mmio_wed_init()
873 if (!is_mt7915(&dev->mt76) && in mt7915_irq_tasklet()
Dmac.c473 if (!is_mt7915(&dev->mt76) || (rxd1 & MT_RXD1_NORMAL_GROUP_5)) { in mt7915_mac_fill_rx()
1184 if (!is_mt7915(&dev->mt76)) { in mt7915_mac_set_timing()
1218 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RXTD12(band) : in mt7915_mac_enable_nf()
1224 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RX_CTRL1(band) : in mt7915_mac_enable_nf()
1238 u32 reg = is_mt7915(&dev->mt76) ? in mt7915_phy_get_nf()
1338 if (is_mt7915(mdev)) in mt7915_mac_restart()
1391 if (is_mt7915(mdev)) in mt7915_mac_restart()
1717 mib->fcs_err_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()
1739 mib->rx_mrdy_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()
1755 mib->tx_mpdu_attempts_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()
[all …]
Dmcu.c104 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()
885 if (!is_mt7915(&dev->mt76)) in mt7915_mcu_sta_muru_tlv()
978 if (!is_mt7915(&dev->mt76)) { in mt7915_mcu_sta_amsdu_tlv()
2368 is_mt7915(&dev->mt76)) || in mt7915_mcu_init_firmware()
2923 u32 offs = is_mt7915(&dev->mt76) ? MT_EE_DO_PRE_CAL : MT_EE_DO_PRE_CAL_V2; in mt7915_mcu_apply_group_cal()
3018 if (!is_mt7915(&dev->mt76)) { in mt7915_dpd_freq_idx()
3058 u32 offs = is_mt7915(&dev->mt76) ? MT_EE_DO_PRE_CAL : MT_EE_DO_PRE_CAL_V2; in mt7915_mcu_apply_tx_dpd()
3061 u8 dpd_mask, cal_num = is_mt7915(&dev->mt76) ? 2 : 3; in mt7915_mcu_apply_tx_dpd()
3117 if (is_mt7915(&dev->mt76)) { in mt7915_mcu_get_chan_mib_info()
[all …]
Dpci.c166 if (is_mt7915(mdev)) in mt7915_pci_probe()
Dmt7915.h516 return is_mt7915(&dev->mt76) ? MT7915_WTBL_SIZE : MT7916_WTBL_SIZE; in mt7915_wtbl_size()
521 return is_mt7915(&dev->mt76) ? MT7915_EEPROM_SIZE : MT7916_EEPROM_SIZE; in mt7915_eeprom_size()
Dmain.c955 if (is_mt7915(&dev->mt76)) in __mt7915_get_tsf()
1002 if (is_mt7915(&dev->mt76)) in mt7915_set_tsf()
1033 if (is_mt7915(&dev->mt76)) in mt7915_offset_tsf()
1674 path->mtk_wdma.wcid = is_mt7915(&dev->mt76) ? msta->wcid.idx : 0x3ff; in mt7915_net_fill_forward_path()
Dtestmode.c776 fcs_err = is_mt7915(&dev->mt76) ? FIELD_GET(MT_MIB_SDR3_FCS_ERR_MASK, cnt) : in mt7915_tm_dump_stats()
Ddebugfs.c1036 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_TPC_CTRL_STAT(band) : in mt7915_rate_txpower_get()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt76_connac.h200 static inline bool is_mt7915(struct mt76_dev *dev) in is_mt7915() function
Dmt76_connac_mac.c521 if (is_mt7915(dev) && mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac2_mac_write_txwi()
1027 if (!is_mt7915(dev)) { in mt76_connac2_mac_fill_rx_rate()