Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.c17 u32 offs = is_mt7915(&dev->mt76) ? MT_EE_DO_PRE_CAL : MT_EE_DO_PRE_CAL_V2; in mt7915_eeprom_load_precal()
30 offs = is_mt7915(&dev->mt76) ? MT_EE_PRECAL : MT_EE_PRECAL_V2; in mt7915_eeprom_load_precal()
55 return CHECK_EEPROM_ERR(is_mt7915(&dev->mt76)); in mt7915_check_eeprom()
169 if (!is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_band_config()
225 if (is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_hw_cap()
239 if (is_mt7915(&dev->mt76)) { in mt7915_eeprom_parse_hw_cap()
H A Dinit.c429 if (!is_mt7915(&dev->mt76)) in mt7915_init_wiphy()
452 if (is_mt7915(&dev->mt76)) in mt7915_init_wiphy()
468 if (is_mt7915(&dev->mt76)) { in mt7915_init_wiphy()
494 if (!is_mt7915(&dev->mt76) || !dev->dbdc_support) in mt7915_init_wiphy()
561 if (is_mt7915(&dev->mt76)) in mt7915_mac_init_band()
653 u32 rx_len = is_mt7915(&dev->mt76) ? 0x400 : 0x680; in mt7915_mac_init()
656 if (!is_mt7915(&dev->mt76) && dev->hif2) in mt7915_mac_init()
662 if (!is_mt7915(&dev->mt76)) in mt7915_mac_init()
782 if (is_mt7915(&dev->mt76)) { in mt7915_wfsys_reset()
850 ret = is_mt7915(&dev->mt76) ? in mt7915_band_config()
[all …]
H A Dmmio.c425 l1_remap = is_mt7915(&dev->mt76) ? in mt7915_reg_map_l1()
441 if (is_mt7915(&dev->mt76)) { in mt7915_reg_map_l2()
693 wed->wlan.tx_tbit[0] = is_mt7915(&dev->mt76) ? 4 : 30; in mt7915_mmio_wed_init()
694 wed->wlan.tx_tbit[1] = is_mt7915(&dev->mt76) ? 5 : 31; in mt7915_mmio_wed_init()
697 wed->wlan.wcid_512 = !is_mt7915(&dev->mt76); in mt7915_mmio_wed_init()
702 if (is_mt7915(&dev->mt76)) { in mt7915_mmio_wed_init()
878 if (!is_mt7915(&dev->mt76) && in mt7915_irq_tasklet()
H A Dmac.c453 if (!is_mt7915(&dev->mt76) || (rxd1 & MT_RXD1_NORMAL_GROUP_5)) { in mt7915_mac_fill_rx()
1154 if (!is_mt7915(&dev->mt76)) { in mt7915_mac_set_timing()
1188 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RXTD12(band) : in mt7915_mac_enable_nf()
1194 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RX_CTRL1(band) : in mt7915_mac_enable_nf()
1208 u32 reg = is_mt7915(&dev->mt76) ? in mt7915_phy_get_nf()
1309 if (is_mt7915(mdev)) in mt7915_mac_restart()
1369 if (is_mt7915(mdev)) in mt7915_mac_restart()
1712 mib->fcs_err_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()
1734 mib->rx_mrdy_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()
1750 mib->tx_mpdu_attempts_cnt += is_mt7915(&dev->mt76) ? in mt7915_mac_update_stats()
[all …]
H A 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()
949 if (!is_mt7915(&dev->mt76)) in mt7915_mcu_sta_muru_tlv()
1042 if (!is_mt7915(&dev->mt76)) { in mt7915_mcu_sta_amsdu_tlv()
2445 is_mt7915(&dev->mt76)) || in mt7915_mcu_init_firmware()
3011 u32 offs = is_mt7915(&dev->mt76) ? MT_EE_DO_PRE_CAL : MT_EE_DO_PRE_CAL_V2; in mt7915_mcu_apply_group_cal()
3093 if (!is_mt7915(&dev->mt76)) { in mt7915_dpd_freq_idx()
3131 u32 offs = is_mt7915(&dev->mt76) ? MT_EE_DO_PRE_CAL : MT_EE_DO_PRE_CAL_V2; in mt7915_mcu_apply_tx_dpd()
3134 u8 dpd_mask, cal_num = is_mt7915(&dev->mt76) ? 2 : 3; in mt7915_mcu_apply_tx_dpd()
3190 if (is_mt7915(&dev->mt76)) { in mt7915_mcu_get_chan_mib_info()
[all …]
H A Dpci.c170 if (is_mt7915(mdev)) in mt7915_pci_probe()
H A Dmt7915.h557 return is_mt7915(&dev->mt76) ? MT7915_WTBL_SIZE : MT7916_WTBL_SIZE; in mt7915_wtbl_size()
562 return is_mt7915(&dev->mt76) ? MT7915_EEPROM_SIZE : MT7916_EEPROM_SIZE; in mt7915_eeprom_size()
H A Dmain.c1034 if (is_mt7915(&dev->mt76)) in __mt7915_get_tsf()
1081 if (is_mt7915(&dev->mt76)) in mt7915_set_tsf()
1112 if (is_mt7915(&dev->mt76)) in mt7915_offset_tsf()
1756 path->mtk_wdma.wcid = is_mt7915(&dev->mt76) ? msta->wcid.idx : 0x3ff; in mt7915_net_fill_forward_path()
H A Dtestmode.c773 fcs_err = is_mt7915(&dev->mt76) ? FIELD_GET(MT_MIB_SDR3_FCS_ERR_MASK, cnt) : in mt7915_tm_dump_stats()
H A Ddebugfs.c1046 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_TPC_CTRL_STAT(band) : in mt7915_rate_txpower_get()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac.h231 static inline bool is_mt7915(struct mt76_dev *dev) in is_mt7915() function
H A Dmt76_connac_mac.c548 if (is_mt7915(dev) && mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac2_mac_write_txwi()
1055 if (!is_mt7915(dev)) { in mt76_connac2_mac_fill_rx_rate()