/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | phy.c | 55 mt76_wr(dev, MT_TX_ALC_CFG_2, 0x35160a00); in mt76x2_phy_set_txpower_regs() 56 mt76_wr(dev, MT_TX_ALC_CFG_3, 0x35160a06); in mt76x2_phy_set_txpower_regs() 59 mt76_wr(dev, MT_RF_PA_MODE_ADJ0, 0x0000ec00); in mt76x2_phy_set_txpower_regs() 60 mt76_wr(dev, MT_RF_PA_MODE_ADJ1, 0x0000ec00); in mt76x2_phy_set_txpower_regs() 62 mt76_wr(dev, MT_RF_PA_MODE_ADJ0, 0xf4000200); in mt76x2_phy_set_txpower_regs() 63 mt76_wr(dev, MT_RF_PA_MODE_ADJ1, 0xfa000200); in mt76x2_phy_set_txpower_regs() 70 mt76_wr(dev, MT_TX_ALC_CFG_2, 0x2f0f0400); in mt76x2_phy_set_txpower_regs() 71 mt76_wr(dev, MT_TX_ALC_CFG_3, 0x2f0f0476); in mt76x2_phy_set_txpower_regs() 73 mt76_wr(dev, MT_TX_ALC_CFG_2, 0x1b0f0400); in mt76x2_phy_set_txpower_regs() 74 mt76_wr(dev, MT_TX_ALC_CFG_3, 0x1b0f0476); in mt76x2_phy_set_txpower_regs() [all …]
|
D | usb_mac.c | 46 mt76_wr(dev, 0x504, 0x06000000); in mt76x2u_mac_fixup_xtal() 47 mt76_wr(dev, 0x50c, 0x08800000); in mt76x2u_mac_fixup_xtal() 49 mt76_wr(dev, 0x504, 0x0); in mt76x2u_mac_fixup_xtal() 62 mt76_wr(dev, MT_XO_CTRL7, 0x5c1fee80); in mt76x2u_mac_fixup_xtal() 65 mt76_wr(dev, MT_XO_CTRL7, 0x5c1feed0); in mt76x2u_mac_fixup_xtal() 74 mt76_wr(dev, MT_WPDMA_GLO_CFG, BIT(4) | BIT(5)); in mt76x2u_mac_reset() 77 mt76_wr(dev, MT_PBF_TX_MAX_PCNT, 0xefef3f1f); in mt76x2u_mac_reset() 78 mt76_wr(dev, MT_PBF_RX_MAX_PCNT, 0xfebf); in mt76x2u_mac_reset() 82 mt76_wr(dev, MT_TX_LINK_CFG, 0x1020); in mt76x2u_mac_reset() 83 mt76_wr(dev, MT_AUTO_RSP_CFG, 0x13); in mt76x2u_mac_reset() [all …]
|
D | usb_mcu.c | 102 mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); in mt76x2u_mcu_load_rom_patch() 109 mt76_wr(dev, MT_FCE_PSE_CTRL, 0x1); in mt76x2u_mcu_load_rom_patch() 111 mt76_wr(dev, MT_TX_CPU_FROM_FCE_BASE_PTR, 0x400230); in mt76x2u_mcu_load_rom_patch() 113 mt76_wr(dev, MT_TX_CPU_FROM_FCE_MAX_COUNT, 0x1); in mt76x2u_mcu_load_rom_patch() 115 mt76_wr(dev, MT_FCE_PDMA_GLOBAL_CONF, 0x44); in mt76x2u_mcu_load_rom_patch() 117 mt76_wr(dev, MT_FCE_SKIP_FS, 0x3); in mt76x2u_mcu_load_rom_patch() 139 mt76_wr(dev, MT_MCU_SEMAPHORE_03, 1); in mt76x2u_mcu_load_rom_patch() 185 mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); in mt76x2u_mcu_load_firmware() 187 mt76_wr(dev, MT_FCE_PSE_CTRL, 0x1); in mt76x2u_mcu_load_firmware() 189 mt76_wr(dev, MT_TX_CPU_FROM_FCE_BASE_PTR, 0x400230); in mt76x2u_mcu_load_firmware() [all …]
|
D | pci_init.c | 25 mt76_wr(dev, MT_PBF_TX_MAX_PCNT, 0xefef3f1f); in mt76x2_mac_pbf_init() 26 mt76_wr(dev, MT_PBF_RX_MAX_PCNT, 0xfebf); in mt76x2_mac_pbf_init() 59 mt76_wr(dev, MT_XO_CTRL7, 0x5c1fee80); in mt76x2_fixup_xtal() 62 mt76_wr(dev, MT_XO_CTRL7, 0x5c1feed0); in mt76x2_fixup_xtal() 87 mt76_wr(dev, MT_WPDMA_GLO_CFG, val); in mt76x2_mac_reset() 103 mt76_wr(dev, MT_RF_BYPASS_0, 0x06000000); in mt76x2_mac_reset() 104 mt76_wr(dev, MT_RF_SETTING_0, 0x08800000); in mt76x2_mac_reset() 106 mt76_wr(dev, MT_RF_BYPASS_0, 0x00000000); in mt76x2_mac_reset() 108 mt76_wr(dev, MT_MCU_CLOCK_CTL, 0x1401); in mt76x2_mac_reset() 117 mt76_wr(dev, MT_WCID_DROP_BASE + i * 4, 0); in mt76x2_mac_reset() [all …]
|
D | pci_mcu.c | 56 mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, MT_MCU_ROM_PATCH_OFFSET); in mt76pci_load_rom_patch() 62 mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, 0); in mt76pci_load_rom_patch() 65 mt76_wr(dev, MT_MCU_INT_LEVEL, 4); in mt76pci_load_rom_patch() 75 mt76_wr(dev, MT_MCU_SEMAPHORE_03, 1); in mt76pci_load_rom_patch() 116 mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, MT_MCU_ILM_OFFSET); in mt76pci_load_firmware() 127 mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, MT_MCU_DLM_OFFSET); in mt76pci_load_firmware() 130 mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, 0); in mt76pci_load_firmware() 137 mt76_wr(dev, MT_MCU_INT_LEVEL, 2); in mt76pci_load_firmware() 172 mt76_wr(dev, MT_WPDMA_RST_IDX, ~0); in mt76pci_mcu_restart()
|
D | mac.c | 18 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x2_mac_stop() 21 mt76_wr(dev, MT_TX_RTS_CFG, rts_cfg & ~MT_TX_RTS_CFG_RETRY_LIMIT); in mt76x2_mac_stop() 44 mt76_wr(dev, MT_TX_RTS_CFG, rts_cfg); in mt76x2_mac_stop()
|
D | usb_phy.c | 161 mt76_wr(dev, MT_BBP(AGC, 61), 0xff64a4e2); in mt76x2u_phy_set_channel() 162 mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); in mt76x2u_phy_set_channel() 163 mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); in mt76x2u_phy_set_channel() 164 mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); in mt76x2u_phy_set_channel() 165 mt76_wr(dev, MT_TXOP_CTRL_CFG, 0X04101b3f); in mt76x2u_phy_set_channel()
|
D | pci_phy.c | 114 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x2_phy_set_antenna() 227 mt76_wr(dev, MT_BBP(AGC, 61), 0xFF64A4E2); in mt76x2_phy_set_channel() 228 mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); in mt76x2_phy_set_channel() 229 mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); in mt76x2_phy_set_channel() 230 mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); in mt76x2_phy_set_channel() 231 mt76_wr(dev, MT_TXOP_CTRL_CFG, 0x04101B3F); in mt76x2_phy_set_channel()
|
D | usb_init.c | 25 mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); in mt76x2u_init_dma() 36 mt76_wr(dev, MT_VEND_ADDR(CFG, 0x14), 0x484f); in mt76x2u_power_on_rf_patch() 178 mt76_wr(dev, MT_TXOP_CTRL_CFG, 0x583f); in mt76x2u_init_hardware() 187 mt76_wr(dev, MT_CH_TIME_CFG, in mt76x2u_init_hardware()
|
/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | init.c | 34 mt76_wr(dev, addr + 4 * i, desc[i]); in mt7603_set_tmac_template() 57 mt76_wr(dev, MT_PSE_FRP, in mt7603_dma_sched_init() 62 mt76_wr(dev, MT_HIGH_PRIORITY_1, 0x55555553); in mt7603_dma_sched_init() 63 mt76_wr(dev, MT_HIGH_PRIORITY_2, 0x78555555); in mt7603_dma_sched_init() 65 mt76_wr(dev, MT_QUEUE_PRIORITY_1, 0x2b1a096e); in mt7603_dma_sched_init() 66 mt76_wr(dev, MT_QUEUE_PRIORITY_2, 0x785f4d3c); in mt7603_dma_sched_init() 68 mt76_wr(dev, MT_PRIORITY_MASK, 0xffffffff); in mt7603_dma_sched_init() 70 mt76_wr(dev, MT_SCH_1, page_count | (2 << 28)); in mt7603_dma_sched_init() 71 mt76_wr(dev, MT_SCH_2, max_amsdu_pages); in mt7603_dma_sched_init() 74 mt76_wr(dev, MT_PAGE_COUNT(i), max_amsdu_pages); in mt7603_dma_sched_init() [all …]
|
D | beacon.c | 29 mt76_wr(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY | in mt7603_update_beacon_iter() 90 mt76_wr(dev, MT_WF_ARB_CAB_FLUSH, GENMASK(30, 16) | BIT(0)); in mt7603_pre_tbtt_tasklet() 129 mt76_wr(dev, MT_WF_ARB_CAB_COUNT_B0_REG(i), in mt7603_pre_tbtt_tasklet() 132 mt76_wr(dev, MT_WF_ARB_CAB_START, in mt7603_pre_tbtt_tasklet() 158 mt76_wr(dev, MT_HW_INT_MASK(3), 0); in mt7603_beacon_set_timer() 163 mt76_wr(dev, MT_TBTT, in mt7603_beacon_set_timer() 166 mt76_wr(dev, MT_TBTT_TIMER_CFG, 0x99); /* start timer */ in mt7603_beacon_set_timer() 173 mt76_wr(dev, MT_PRE_TBTT, pre_tbtt); in mt7603_beacon_set_timer()
|
D | main.c | 52 mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), in mt7603_add_interface() 54 mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), in mt7603_add_interface() 59 mt76_wr(dev, MT_BSSID0(mvif->idx), in mt7603_add_interface() 61 mt76_wr(dev, MT_BSSID1(mvif->idx), in mt7603_add_interface() 92 mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), 0); in mt7603_remove_interface() 93 mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), 0); in mt7603_remove_interface() 94 mt76_wr(dev, MT_BSSID0(mvif->idx), 0); in mt7603_remove_interface() 95 mt76_wr(dev, MT_BSSID1(mvif->idx), 0); in mt7603_remove_interface() 167 mt76_wr(dev, MT_WF_RMAC_CH_FREQ, idx); in mt7603_set_channel() 223 mt76_wr(dev, MT_WF_RFCR, dev->rxfilter); in mt7603_config() [all …]
|
D | mac.c | 55 mt76_wr(dev, MT_TIMEOUT_CCK, cck + reg_offset); in mt7603_mac_set_timing() 56 mt76_wr(dev, MT_TIMEOUT_OFDM, ofdm + reg_offset); in mt7603_mac_set_timing() 57 mt76_wr(dev, MT_IFS, in mt7603_mac_set_timing() 142 mt76_wr(dev, addr + i, 0); in mt7603_wtbl_init() 148 mt76_wr(dev, addr + i, 0); in mt7603_wtbl_init() 152 mt76_wr(dev, addr + i, 0); in mt7603_wtbl_init() 164 mt76_wr(dev, addr + 3 * 4, val); in mt7603_wtbl_set_skip_tx() 181 mt76_wr(dev, MT_TX_ABORT, MT_TX_ABORT_EN | in mt7603_filter_tx() 185 mt76_wr(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY | in mt7603_filter_tx() 195 mt76_wr(dev, MT_TX_ABORT, 0); in mt7603_filter_tx() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | usb_mcu.c | 92 mt76_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt76x0u_load_firmware() 125 mt76_wr(dev, 0x1004, 0x2c); in mt76x0u_load_firmware() 133 mt76_wr(dev, MT_FCE_PSE_CTRL, 1); in mt76x0u_load_firmware() 136 mt76_wr(dev, MT_TX_CPU_FROM_FCE_BASE_PTR, 0x400230); in mt76x0u_load_firmware() 138 mt76_wr(dev, MT_TX_CPU_FROM_FCE_MAX_COUNT, 1); in mt76x0u_load_firmware() 140 mt76_wr(dev, MT_FCE_PDMA_GLOBAL_CONF, 0x44); in mt76x0u_load_firmware() 142 mt76_wr(dev, MT_FCE_SKIP_FS, 3); in mt76x0u_load_firmware() 146 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0u_load_firmware() 148 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0u_load_firmware() 153 mt76_wr(dev, MT_FCE_PSE_CTRL, 1); in mt76x0u_load_firmware()
|
D | phy.c | 42 mt76_wr(dev, MT_RF_CSR_CFG, in mt76x0_rf_csr_wr() 79 mt76_wr(dev, MT_RF_CSR_CFG, in mt76x0_rf_csr_rr() 215 mt76_wr(dev, MT_TX_ALC_VGA3, 0x00050007); in mt76x0_phy_set_band() 216 mt76_wr(dev, MT_TX0_RF_GAIN_CORR, 0x003E0002); in mt76x0_phy_set_band() 224 mt76_wr(dev, MT_TX_ALC_VGA3, 0x00000005); in mt76x0_phy_set_band() 225 mt76_wr(dev, MT_TX0_RF_GAIN_CORR, 0x01010102); in mt76x0_phy_set_band() 383 mt76_wr(dev, MT_TX0_RF_GAIN_ATTEN, 0x63707400); in mt76x0_phy_set_chan_rf_params() 387 mt76_wr(dev, MT_TX_ALC_CFG_1, mac_reg); in mt76x0_phy_set_chan_rf_params() 389 mt76_wr(dev, MT_TX0_RF_GAIN_ATTEN, 0x686A7800); in mt76x0_phy_set_chan_rf_params() 395 mt76_wr(dev, MT_TX_ALC_CFG_1, mac_reg); in mt76x0_phy_set_chan_rf_params() [all …]
|
D | pci_mcu.c | 68 mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, 0); in mt76x0e_load_firmware() 86 mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, MT_MCU_DLM_OFFSET); in mt76x0e_load_firmware() 93 mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, 0); in mt76x0e_load_firmware() 95 mt76_wr(dev, MT_MCU_INT_LEVEL, 0x3); in mt76x0e_load_firmware() 97 mt76_wr(dev, MT_MCU_RESET_CTL, 0x300); in mt76x0e_load_firmware() 110 mt76_wr(dev, MT_MCU_SEMAPHORE_00, 0x1); in mt76x0e_load_firmware()
|
D | init.c | 50 mt76_wr(dev, MT_WLAN_FUN_CTRL, val); in mt76x0_set_wlan_state() 74 mt76_wr(dev, MT_WLAN_FUN_CTRL, val); in mt76x0_chip_onoff() 82 mt76_wr(dev, MT_WLAN_FUN_CTRL, val); in mt76x0_chip_onoff() 91 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_reset_csr_bbp() 119 mt76_wr(dev, pair->reg, pair->value); in mt76x0_init_bbp() 165 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x0_mac_start() 170 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); in mt76x0_mac_start() 171 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_mac_start()
|
D | usb.c | 58 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma() 67 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma() 69 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma() 164 mt76_wr(dev, MT_TXOP_CTRL_CFG, in mt76x0u_init_hardware() 168 mt76_wr(dev, MT_CH_TIME_CFG, in mt76x0u_init_hardware()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_dfs.c | 148 mt76_wr(dev, MT_BBP(DFS, 36), data); in mt76x02_dfs_set_capture_mode_ctrl() 212 mt76_wr(dev, MT_BBP(DFS, 1), 0xf); in mt76x02_dfs_detector_reset() 254 mt76_wr(dev, MT_BBP(DFS, 0), data); in mt76x02_dfs_get_hw_pulse() 667 mt76_wr(dev, MT_BBP(DFS, 1), 0xf); in mt76x02_dfs_tasklet() 741 mt76_wr(dev, MT_BBP(DFS, 2), data); in mt76x02_dfs_set_bbp_params() 744 mt76_wr(dev, MT_BBP(DFS, 3), data); in mt76x02_dfs_set_bbp_params() 748 mt76_wr(dev, MT_BBP(DFS, 0), i); in mt76x02_dfs_set_bbp_params() 753 mt76_wr(dev, MT_BBP(DFS, 4), data); in mt76x02_dfs_set_bbp_params() 758 mt76_wr(dev, MT_BBP(DFS, 5), data); in mt76x02_dfs_set_bbp_params() 761 mt76_wr(dev, MT_BBP(DFS, 7), radar_specs[i].t_low); in mt76x02_dfs_set_bbp_params() [all …]
|
D | mt76x02_phy.c | 28 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x02_phy_set_rxpath() 100 mt76_wr(dev, MT_TX_PWR_CFG_0, in mt76x02_phy_set_txpower() 103 mt76_wr(dev, MT_TX_PWR_CFG_1, in mt76x02_phy_set_txpower() 106 mt76_wr(dev, MT_TX_PWR_CFG_2, in mt76x02_phy_set_txpower() 109 mt76_wr(dev, MT_TX_PWR_CFG_3, in mt76x02_phy_set_txpower() 112 mt76_wr(dev, MT_TX_PWR_CFG_4, in mt76x02_phy_set_txpower() 114 mt76_wr(dev, MT_TX_PWR_CFG_7, in mt76x02_phy_set_txpower() 117 mt76_wr(dev, MT_TX_PWR_CFG_8, in mt76x02_phy_set_txpower() 119 mt76_wr(dev, MT_TX_PWR_CFG_9, in mt76x02_phy_set_txpower()
|
D | mt76x02_mmio.c | 93 mt76_wr(dev, MT_INT_TIMER_EN, 0); in mt76x02e_init_beacon_config() 203 mt76_wr(dev, MT_WPDMA_RST_IDX, ~0); in mt76x02_dma_init() 262 mt76_wr(dev, MT_INT_SOURCE_CSR, intr); in mt76x02_irq_handler() 313 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_dma_enable() 340 mt76_wr(dev, MT_WPDMA_GLO_CFG, val); in mt76x02_dma_disable() 347 mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); in mt76x02_mac_start() 348 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x02_mac_start() 466 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x02_watchdog_reset() 470 mt76_wr(dev, MT_INT_SOURCE_CSR, 0xffffffff); in mt76x02_watchdog_reset()
|
D | mt76x02_mac.c | 50 mt76_wr(dev, MT_SKEY_MODE(vif_idx), val); in mt76x02_mac_shared_key_setup() 135 mt76_wr(dev, MT_WCID_ATTR(idx), attr); in mt76x02_mac_wcid_setup() 154 mt76_wr(dev, MT_WCID_DROP(idx), (val & ~bit) | (bit * drop)); in mt76x02_mac_wcid_set_drop() 679 mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->mt76.macaddr)); in mt76x02_mac_setaddr() 680 mt76_wr(dev, MT_MAC_ADDR_DW1, in mt76x02_mac_setaddr() 684 mt76_wr(dev, MT_MAC_BSSID_DW0, in mt76x02_mac_setaddr() 686 mt76_wr(dev, MT_MAC_BSSID_DW1, in mt76x02_mac_setaddr() 941 mt76_wr(dev, MT_CCK_PROT_CFG + i * 4, prot[i]); in mt76x02_mac_set_tx_protection() 944 mt76_wr(dev, MT_TX_PROT_CFG6 + i * 4, vht_prot[i]); in mt76x02_mac_set_tx_protection() 976 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x02_check_mac_err() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | dma.c | 124 mt76_wr(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init() 142 mt76_wr(dev, MT_WPDMA_GLO_CFG1, 0x1); in mt7615_dma_init() 143 mt76_wr(dev, MT_WPDMA_TX_PRE_CFG, 0xf0000); in mt7615_dma_init() 144 mt76_wr(dev, MT_WPDMA_RX_PRE_CFG, 0xf7f0000); in mt7615_dma_init() 145 mt76_wr(dev, MT_WPDMA_ABT_CFG, 0x4000026); in mt7615_dma_init() 146 mt76_wr(dev, MT_WPDMA_ABT_CFG1, 0x18811881); in mt7615_dma_init() 149 mt76_wr(dev, MT_WPDMA_RST_IDX, ~0); in mt7615_dma_init() 180 mt76_wr(dev, MT_DELAY_INT_CFG, 0); in mt7615_dma_init()
|
D | init.c | 34 mt76_wr(dev, MT_TMAC_TRCR1, val); in mt7615_mac_init() 39 mt76_wr(dev, MT_AGG_ACR0, val); in mt7615_mac_init() 40 mt76_wr(dev, MT_AGG_ACR1, val); in mt7615_mac_init() 60 mt76_wr(dev, MT_DMA_DCR0, MT_DMA_DCR0_RX_VEC_DROP | in mt7615_mac_init() 63 mt76_wr(dev, MT_AGG_ARUCR, in mt7615_mac_init() 73 mt76_wr(dev, MT_AGG_ARDCR, in mt7615_mac_init() 83 mt76_wr(dev, MT_AGG_ARCR, in mt7615_mac_init() 94 mt76_wr(dev, MT_INT_SOURCE_CSR, ~0); in mt7615_init_hardware()
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | tx.c | 292 mt76_wr(dev, MT_EDCA_CFG_AC(hw_q), val); in mt7601u_conf_tx() 297 mt76_wr(dev, MT_WMM_TXOP(hw_q), val); in mt7601u_conf_tx() 302 mt76_wr(dev, MT_WMM_AIFSN, val); in mt7601u_conf_tx() 307 mt76_wr(dev, MT_WMM_CWMIN, val); in mt7601u_conf_tx() 312 mt76_wr(dev, MT_WMM_CWMAX, val); in mt7601u_conf_tx()
|