mt76_wr 29 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_wr(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY | mt76_wr 90 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_wr(dev, MT_WF_ARB_CAB_FLUSH, GENMASK(30, 16) | BIT(0)); mt76_wr 129 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_wr(dev, MT_WF_ARB_CAB_COUNT_B0_REG(i), mt76_wr 132 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_wr(dev, MT_WF_ARB_CAB_START, mt76_wr 158 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_wr(dev, MT_HW_INT_MASK(3), 0); mt76_wr 163 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_wr(dev, MT_TBTT, mt76_wr 166 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_wr(dev, MT_TBTT_TIMER_CFG, 0x99); /* start timer */ mt76_wr 173 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt76_wr(dev, MT_PRE_TBTT, pre_tbtt); mt76_wr 18 drivers/net/wireless/mediatek/mt76/mt7603/core.c mt76_wr(dev, MT_INT_SOURCE_CSR, intr); mt76_wr 28 drivers/net/wireless/mediatek/mt76/mt7603/core.c mt76_wr(dev, MT_HW_INT_STATUS(3), hwintr); mt76_wr 179 drivers/net/wireless/mediatek/mt76/mt7603/dma.c mt76_wr(dev, MT_WPDMA_RST_IDX, ~0); mt76_wr 220 drivers/net/wireless/mediatek/mt76/mt7603/dma.c mt76_wr(dev, MT_DELAY_INT_CFG, 0); mt76_wr 17 drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c mt76_wr(dev, base + MT_EFUSE_CTRL, val); mt76_wr 34 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, addr + 4 * i, desc[i]); mt76_wr 57 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_PSE_FRP, mt76_wr 62 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_HIGH_PRIORITY_1, 0x55555553); mt76_wr 63 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_HIGH_PRIORITY_2, 0x78555555); mt76_wr 65 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_QUEUE_PRIORITY_1, 0x2b1a096e); mt76_wr 66 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_QUEUE_PRIORITY_2, 0x785f4d3c); mt76_wr 68 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_PRIORITY_MASK, 0xffffffff); mt76_wr 70 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_SCH_1, page_count | (2 << 28)); mt76_wr 71 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_SCH_2, max_amsdu_pages); mt76_wr 74 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_PAGE_COUNT(i), max_amsdu_pages); mt76_wr 77 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_PAGE_COUNT(5), mcu_pages); mt76_wr 80 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_PAGE_COUNT(7), beacon_pages); mt76_wr 83 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_PAGE_COUNT(8), max_mcast_pages); mt76_wr 89 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_RSV_MAX_THRESH, page_count - reserved_count); mt76_wr 92 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_GROUP_THRESH(0), mt76_wr 94 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_GROUP_THRESH(1), beacon_pages); mt76_wr 95 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_BMAP_0, 0x0080ff5f); mt76_wr 96 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_GROUP_THRESH(2), mcu_pages); mt76_wr 97 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_BMAP_1, 0x00000020); mt76_wr 99 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_GROUP_THRESH(0), page_count); mt76_wr 100 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_BMAP_0, 0xffff); mt76_wr 103 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_SCH_4, 0); mt76_wr 106 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_TXTIME_THRESH(i), 0xfffff); mt76_wr 137 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_BA_SIZE_LIMIT_0, mt76_wr 143 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_BA_SIZE_LIMIT_1, mt76_wr 149 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_LIMIT, mt76_wr 155 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_LIMIT_1, mt76_wr 161 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_CONTROL, mt76_wr 166 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_RETRY_CONTROL, mt76_wr 170 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_DMA_DCR0, MT_DMA_DCR0_RX_VEC_DROP | mt76_wr 181 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_WF_RFCR1, 0); mt76_wr 200 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_RXREQ, 4); mt76_wr 203 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_DMA_RCFR0, 0xc0000000); mt76_wr 206 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_DMA_TCFR0, mt76_wr 211 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_DMA_TCFR1, mt76_wr 216 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_MCU_PCIE_REMAP_1, MT_PSE_WTBL_2_PHYS_ADDR); mt76_wr 230 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_ARUCR, mt76_wr 240 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_ARDCR, mt76_wr 250 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_AGG_ARCR, mt76_wr 272 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_INT_SOURCE_CSR, ~0); mt76_wr 282 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_WPDMA_GLO_CFG, 0x52000850); mt76_wr 288 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, MT_PSE_RTA, MT_PSE_RTA_BUSY | MT_PSE_RTA_WRITE | mt76_wr 369 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, addr, val); mt76_wr 371 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, addr, val); mt76_wr 378 drivers/net/wireless/mediatek/mt76/mt7603/init.c mt76_wr(dev, addr, val); mt76_wr 55 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_TIMEOUT_CCK, cck + reg_offset); mt76_wr 56 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_TIMEOUT_OFDM, ofdm + reg_offset); mt76_wr 57 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_IFS, mt76_wr 142 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + i, 0); mt76_wr 148 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + i, 0); mt76_wr 152 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + i, 0); mt76_wr 164 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + 3 * 4, val); mt76_wr 181 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_TX_ABORT, MT_TX_ABORT_EN | mt76_wr 185 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY | mt76_wr 195 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_TX_ABORT, 0); mt76_wr 223 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_PSE_RTA, mt76_wr 267 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + 0 * 4, mt76_wr 271 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + 1 * 4, 0); mt76_wr 272 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + 2 * 4, 0); mt76_wr 276 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + 3 * 4, mt76_wr 281 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + 4 * 4, mt76_wr 291 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + (15 * 4), 0); mt76_wr 295 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + (i * 4), 0); mt76_wr 324 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + 2 * 4, val); mt76_wr 334 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr + 9 * 4, val); mt76_wr 339 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_BA_CONTROL_0, get_unaligned_le32(addr)); mt76_wr 340 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_BA_CONTROL_1, mt76_wr 687 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_WTBL_RIUCR0, w9); mt76_wr 689 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_WTBL_RIUCR1, mt76_wr 694 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_WTBL_RIUCR2, mt76_wr 700 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_WTBL_RIUCR3, mt76_wr 708 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_WTBL_UPDATE, mt76_wr 1222 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_WF_ARB_TX_START_0, ~0); mt76_wr 1230 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_WF_ARB_TX_START_0, 0); mt76_wr 1356 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_WPDMA_DEBUG, mt76_wr 1426 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, addr, 3); mt76_wr 1505 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_RXTD(6), rxtd_6); mt76_wr 1615 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_AGC(0), agc0); mt76_wr 1616 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_AGC1(0), agc0); mt76_wr 1618 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_AGC(3), agc3); mt76_wr 1619 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt76_wr(dev, MT_AGC1(3), agc3); mt76_wr 52 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), mt76_wr 54 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), mt76_wr 59 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID0(mvif->idx), mt76_wr 61 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID1(mvif->idx), mt76_wr 92 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_MAC_ADDR0(mvif->idx), 0); mt76_wr 93 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_MAC_ADDR1(mvif->idx), 0); mt76_wr 94 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID0(mvif->idx), 0); mt76_wr 95 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID1(mvif->idx), 0); mt76_wr 167 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_WF_RMAC_CH_FREQ, idx); mt76_wr 223 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_WF_RFCR, dev->rxfilter); mt76_wr 268 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_WF_RFCR, dev->rxfilter); mt76_wr 282 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID0(mvif->idx), mt76_wr 284 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID1(mvif->idx), mt76_wr 288 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID0(mvif->idx), 0); mt76_wr 289 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_BSSID1(mvif->idx), 0); mt76_wr 516 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_WMM_TXOP(queue), val); mt76_wr 521 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_WMM_AIFSN, val); mt76_wr 526 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_WMM_CWMIN, val); mt76_wr 531 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_wr(dev, MT_WMM_CWMAX(queue), val); mt76_wr 203 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c mt76_wr(dev, addr, 0x5); mt76_wr 204 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c mt76_wr(dev, addr, 0x5); mt76_wr 124 drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt76_wr(dev, MT_WPDMA_GLO_CFG, mt76_wr 142 drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt76_wr(dev, MT_WPDMA_GLO_CFG1, 0x1); mt76_wr 143 drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt76_wr(dev, MT_WPDMA_TX_PRE_CFG, 0xf0000); mt76_wr 144 drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt76_wr(dev, MT_WPDMA_RX_PRE_CFG, 0xf7f0000); mt76_wr 145 drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt76_wr(dev, MT_WPDMA_ABT_CFG, 0x4000026); mt76_wr 146 drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt76_wr(dev, MT_WPDMA_ABT_CFG1, 0x18811881); mt76_wr 149 drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt76_wr(dev, MT_WPDMA_RST_IDX, ~0); mt76_wr 180 drivers/net/wireless/mediatek/mt76/mt7615/dma.c mt76_wr(dev, MT_DELAY_INT_CFG, 0); mt76_wr 21 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c mt76_wr(dev, base + MT_EFUSE_CTRL, val); mt76_wr 34 drivers/net/wireless/mediatek/mt76/mt7615/init.c mt76_wr(dev, MT_TMAC_TRCR1, val); mt76_wr 39 drivers/net/wireless/mediatek/mt76/mt7615/init.c mt76_wr(dev, MT_AGG_ACR0, val); mt76_wr 40 drivers/net/wireless/mediatek/mt76/mt7615/init.c mt76_wr(dev, MT_AGG_ACR1, val); mt76_wr 60 drivers/net/wireless/mediatek/mt76/mt7615/init.c mt76_wr(dev, MT_DMA_DCR0, MT_DMA_DCR0_RX_VEC_DROP | mt76_wr 63 drivers/net/wireless/mediatek/mt76/mt7615/init.c mt76_wr(dev, MT_AGG_ARUCR, mt76_wr 73 drivers/net/wireless/mediatek/mt76/mt7615/init.c mt76_wr(dev, MT_AGG_ARDCR, mt76_wr 83 drivers/net/wireless/mediatek/mt76/mt7615/init.c mt76_wr(dev, MT_AGG_ARCR, mt76_wr 94 drivers/net/wireless/mediatek/mt76/mt7615/init.c mt76_wr(dev, MT_INT_SOURCE_CSR, ~0); mt76_wr 565 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, MT_WTBL_RIUCR0, w5); mt76_wr 567 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, MT_WTBL_RIUCR1, mt76_wr 572 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, MT_WTBL_RIUCR2, mt76_wr 578 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, MT_WTBL_RIUCR3, mt76_wr 583 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, MT_WTBL_UPDATE, mt76_wr 588 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, addr + 27 * 4, w27); mt76_wr 692 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, MT_WTBL_RICR0, w0); mt76_wr 693 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, MT_WTBL_RICR1, w1); mt76_wr 695 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mt76_wr(dev, MT_WTBL_UPDATE, mt76_wr 240 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt76_wr(dev, MT_WF_RFCR, dev->mt76.rxfilter); mt76_wr 298 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt76_wr(dev, MT_WF_RFCR, dev->mt76.rxfilter); mt76_wr 324 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt76_wr(dev, MT_CFG_LPCR_HOST, MT_CFG_LPCR_HOST_DRV_OWN); mt76_wr 572 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt76_wr(dev, MT_CFG_LPCR_HOST, MT_CFG_LPCR_HOST_FW_OWN); mt76_wr 25 drivers/net/wireless/mediatek/mt76/mt7615/pci.c mt76_wr(dev, MT_MCU_PCIE_REMAP_2, base); mt76_wr 44 drivers/net/wireless/mediatek/mt76/mt7615/pci.c mt76_wr(dev, MT_INT_SOURCE_CSR, intr); mt76_wr 50 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76_wr(dev, MT_WLAN_FUN_CTRL, val); mt76_wr 74 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76_wr(dev, MT_WLAN_FUN_CTRL, val); mt76_wr 82 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76_wr(dev, MT_WLAN_FUN_CTRL, val); mt76_wr 91 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76_wr(dev, MT_MAC_SYS_CTRL, mt76_wr 119 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76_wr(dev, pair->reg, pair->value); mt76_wr 165 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); mt76_wr 170 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); mt76_wr 171 drivers/net/wireless/mediatek/mt76/mt76x0/init.c mt76_wr(dev, MT_MAC_SYS_CTRL, mt76_wr 62 drivers/net/wireless/mediatek/mt76/mt76x0/main.c mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); mt76_wr 135 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c mt76_wr(dev, MT_CH_TIME_CFG, mt76_wr 68 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, 0); mt76_wr 86 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, MT_MCU_DLM_OFFSET); mt76_wr 93 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, 0); mt76_wr 95 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76_wr(dev, MT_MCU_INT_LEVEL, 0x3); mt76_wr 97 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76_wr(dev, MT_MCU_RESET_CTL, 0x300); mt76_wr 110 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c mt76_wr(dev, MT_MCU_SEMAPHORE_00, 0x1); mt76_wr 42 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_RF_CSR_CFG, mt76_wr 79 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_RF_CSR_CFG, mt76_wr 215 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX_ALC_VGA3, 0x00050007); mt76_wr 216 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX0_RF_GAIN_CORR, 0x003E0002); mt76_wr 224 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX_ALC_VGA3, 0x00000005); mt76_wr 225 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX0_RF_GAIN_CORR, 0x01010102); mt76_wr 383 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX0_RF_GAIN_ATTEN, 0x63707400); mt76_wr 387 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX_ALC_CFG_1, mac_reg); mt76_wr 389 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX0_RF_GAIN_ATTEN, 0x686A7800); mt76_wr 395 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX_ALC_CFG_1, mac_reg); mt76_wr 419 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, pair->reg, val); mt76_wr 421 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, pair->reg, pair->value); mt76_wr 465 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_WLAN_FUN_CTRL, wlan); mt76_wr 469 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_COEXCFG3, coex3); mt76_wr 512 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_RF_SETTING_0, 0x60002237); mt76_wr 513 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_RF_BYPASS_0, 0xffffffff); mt76_wr 521 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(CORE, 34), val); mt76_wr 524 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(TXBE, 6), BIT(31)); mt76_wr 530 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_RF_BYPASS_0, 0); mt76_wr 532 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(TXBE, 6), 0); mt76_wr 550 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(CORE, 34), val); mt76_wr 562 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(CORE, 34), 0x80041); mt76_wr 566 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(CORE, 34), 0x80042); mt76_wr 570 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(CORE, 34), 0x80043); mt76_wr 874 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_MAC_SYS_CTRL, mt76_wr 877 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_MAC_SYS_CTRL, mt76_wr 884 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX_ALC_CFG_0, 0); mt76_wr 888 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(IBI, 9), 0xffffff7e); mt76_wr 906 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(IBI, 9), reg_val); mt76_wr 907 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX_ALC_CFG_0, tx_alc); mt76_wr 978 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_TX_SW_CFG0, val); mt76_wr 1030 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_wr(dev, MT_BBP(CORE, 34), 0x00080055); mt76_wr 58 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c mt76_wr(dev, MT_USB_DMA_CFG, val); mt76_wr 67 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c mt76_wr(dev, MT_USB_DMA_CFG, val); mt76_wr 69 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c mt76_wr(dev, MT_USB_DMA_CFG, val); mt76_wr 164 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c mt76_wr(dev, MT_TXOP_CTRL_CFG, mt76_wr 168 drivers/net/wireless/mediatek/mt76/mt76x0/usb.c mt76_wr(dev, MT_CH_TIME_CFG, mt76_wr 92 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | mt76_wr 125 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, 0x1004, 0x2c); mt76_wr 133 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_FCE_PSE_CTRL, 1); mt76_wr 136 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_TX_CPU_FROM_FCE_BASE_PTR, 0x400230); mt76_wr 138 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_TX_CPU_FROM_FCE_MAX_COUNT, 1); mt76_wr 140 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_FCE_PDMA_GLOBAL_CONF, 0x44); mt76_wr 142 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_FCE_SKIP_FS, 3); mt76_wr 146 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_USB_DMA_CFG, val); mt76_wr 148 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_USB_DMA_CFG, val); mt76_wr 153 drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c mt76_wr(dev, MT_FCE_PSE_CTRL, 1); mt76_wr 22 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76_wr(dev, MT_BCN_OFFSET(i), regs[i]); mt76_wr 62 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76_wr(dev, beacon_addr + i, 0); mt76_wr 65 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76_wr(dev, MT_BCN_BYPASS_MASK, 0xff00 | ~dev->beacon_data_mask); mt76_wr 253 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76_wr(dev, MT_BCN_BYPASS_MASK, 0xffff); mt76_wr 148 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 36), data); mt76_wr 212 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 1), 0xf); mt76_wr 254 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 0), data); mt76_wr 667 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 1), 0xf); mt76_wr 741 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 2), data); mt76_wr 744 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 3), data); mt76_wr 748 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 0), i); mt76_wr 753 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 4), data); mt76_wr 758 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 5), data); mt76_wr 761 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 7), radar_specs[i].t_low); mt76_wr 762 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 9), radar_specs[i].t_high); mt76_wr 765 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 11), radar_specs[i].b_low); mt76_wr 766 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 13), radar_specs[i].b_high); mt76_wr 771 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 14), data); mt76_wr 776 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 15), data); mt76_wr 779 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 17), radar_specs[i].event_expiration); mt76_wr 782 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 30), radar_specs[i].pwr_jmp); mt76_wr 786 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 1), 0xf); mt76_wr 787 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 36), 0x3); mt76_wr 790 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 0), MT_DFS_CH_EN << 16); mt76_wr 791 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(IBI, 11), 0x0c350001); mt76_wr 804 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(AGC, 4), val_r4); mt76_wr 810 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 31), dfs_r31); mt76_wr 813 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 32), 0x00040071); mt76_wr 816 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 0), 0); mt76_wr 818 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 0), MT_DFS_CH_EN << 16); mt76_wr 839 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 0), 0); mt76_wr 841 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(DFS, 1), 0xf); mt76_wr 844 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(IBI, 11), 0xfde8081); mt76_wr 846 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(IBI, 11), 0); mt76_wr 24 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c mt76_wr(dev, MT_EFUSE_CTRL, val); mt76_wr 50 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_SKEY_MODE(vif_idx), val); mt76_wr 135 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_WCID_ATTR(idx), attr); mt76_wr 154 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_WCID_DROP(idx), (val & ~bit) | (bit * drop)); mt76_wr 679 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->mt76.macaddr)); mt76_wr 680 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_MAC_ADDR_DW1, mt76_wr 684 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_MAC_BSSID_DW0, mt76_wr 686 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_MAC_BSSID_DW1, mt76_wr 941 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_CCK_PROT_CFG + i * 4, prot[i]); mt76_wr 944 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_TX_PROT_CFG6 + i * 4, vht_prot[i]); mt76_wr 976 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_MAC_SYS_CTRL, mt76_wr 994 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_TX_PIN_CFG, data); mt76_wr 1023 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); mt76_wr 1027 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_BBP(AGC, 2), 0x003a6464); mt76_wr 1122 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_MAC_APC_BSSID_L(idx), get_unaligned_le32(addr)); mt76_wr 141 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c mt76_wr(dev, MT_MCU_INT_LEVEL, 1); mt76_wr 93 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_INT_TIMER_EN, 0); mt76_wr 203 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_WPDMA_RST_IDX, ~0); mt76_wr 262 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_INT_SOURCE_CSR, intr); mt76_wr 313 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); mt76_wr 340 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_WPDMA_GLO_CFG, val); mt76_wr 347 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); mt76_wr 348 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_MAC_SYS_CTRL, mt76_wr 466 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_MAC_SYS_CTRL, 0); mt76_wr 470 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c mt76_wr(dev, MT_INT_SOURCE_CSR, 0xffffffff); mt76_wr 28 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_BBP(AGC, 0), val); mt76_wr 100 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_TX_PWR_CFG_0, mt76_wr 103 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_TX_PWR_CFG_1, mt76_wr 106 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_TX_PWR_CFG_2, mt76_wr 109 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_TX_PWR_CFG_3, mt76_wr 112 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_TX_PWR_CFG_4, mt76_wr 114 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_TX_PWR_CFG_7, mt76_wr 117 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_TX_PWR_CFG_8, mt76_wr 119 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_TX_PWR_CFG_9, mt76_wr 259 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c mt76_wr(dev, MT_TX_CPU_FROM_FCE_CPU_DESC_IDX, val); mt76_wr 103 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_LED_S0(mdev->led_pin), val); mt76_wr 104 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_LED_S1(mdev->led_pin), val); mt76_wr 110 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_LED_CTRL, val); mt76_wr 241 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); mt76_wr 503 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_EDCA_CFG_AC(qid), val); mt76_wr 508 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_WMM_TXOP(qid), val); mt76_wr 513 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_WMM_AIFSN, val); mt76_wr 518 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_WMM_CWMIN, val); mt76_wr 523 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_wr(dev, MT_WMM_CWMAX, val); mt76_wr 23 drivers/net/wireless/mediatek/mt76/mt76x2/init.c mt76_wr(dev, MT_WLAN_FUN_CTRL, val); mt76_wr 40 drivers/net/wireless/mediatek/mt76/mt76x2/init.c mt76_wr(dev, MT_WLAN_FUN_CTRL, val); mt76_wr 46 drivers/net/wireless/mediatek/mt76/mt76x2/init.c mt76_wr(dev, MT_WLAN_FUN_CTRL, val); mt76_wr 18 drivers/net/wireless/mediatek/mt76/mt76x2/mac.c mt76_wr(dev, MT_MAC_SYS_CTRL, 0); mt76_wr 21 drivers/net/wireless/mediatek/mt76/mt76x2/mac.c mt76_wr(dev, MT_TX_RTS_CFG, rts_cfg & ~MT_TX_RTS_CFG_RETRY_LIMIT); mt76_wr 44 drivers/net/wireless/mediatek/mt76/mt76x2/mac.c mt76_wr(dev, MT_TX_RTS_CFG, rts_cfg); mt76_wr 20 drivers/net/wireless/mediatek/mt76/mt76x2/mac.h mt76_wr(dev, MT_MAC_SYS_CTRL, mt76_wr 25 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_PBF_TX_MAX_PCNT, 0xefef3f1f); mt76_wr 26 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_PBF_RX_MAX_PCNT, 0xfebf); mt76_wr 59 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_XO_CTRL7, 0x5c1fee80); mt76_wr 62 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_XO_CTRL7, 0x5c1feed0); mt76_wr 87 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_WPDMA_GLO_CFG, val); mt76_wr 103 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_RF_BYPASS_0, 0x06000000); mt76_wr 104 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_RF_SETTING_0, 0x08800000); mt76_wr 106 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_RF_BYPASS_0, 0x00000000); mt76_wr 108 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_MCU_CLOCK_CTL, 0x1401); mt76_wr 117 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_WCID_DROP_BASE + i * 4, 0); mt76_wr 121 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_WCID_TX_RATE(i), 0); mt76_wr 122 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_WCID_TX_RATE(i) + 4, 0); mt76_wr 135 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, MT_CH_TIME_CFG, mt76_wr 174 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c mt76_wr(dev, 0x10014, 0x484f); mt76_wr 90 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); mt76_wr 56 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, MT_MCU_ROM_PATCH_OFFSET); mt76_wr 62 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, 0); mt76_wr 65 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_MCU_INT_LEVEL, 4); mt76_wr 75 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_MCU_SEMAPHORE_03, 1); mt76_wr 116 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, MT_MCU_ILM_OFFSET); mt76_wr 127 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, MT_MCU_DLM_OFFSET); mt76_wr 130 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_MCU_PCIE_REMAP_BASE4, 0); mt76_wr 137 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_MCU_INT_LEVEL, 2); mt76_wr 172 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c mt76_wr(dev, MT_WPDMA_RST_IDX, ~0); mt76_wr 114 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 0), val); mt76_wr 227 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 61), 0xFF64A4E2); mt76_wr 228 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); mt76_wr 229 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); mt76_wr 230 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); mt76_wr 231 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_TXOP_CTRL_CFG, 0x04101B3F); mt76_wr 55 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_2, 0x35160a00); mt76_wr 56 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_3, 0x35160a06); mt76_wr 59 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_RF_PA_MODE_ADJ0, 0x0000ec00); mt76_wr 60 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_RF_PA_MODE_ADJ1, 0x0000ec00); mt76_wr 62 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_RF_PA_MODE_ADJ0, 0xf4000200); mt76_wr 63 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_RF_PA_MODE_ADJ1, 0xfa000200); mt76_wr 70 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_2, 0x2f0f0400); mt76_wr 71 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_3, 0x2f0f0476); mt76_wr 73 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_2, 0x1b0f0400); mt76_wr 74 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_3, 0x1b0f0476); mt76_wr 82 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_RF_PA_MODE_ADJ0, pa_mode_adj); mt76_wr 83 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_RF_PA_MODE_ADJ1, pa_mode_adj); mt76_wr 86 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BB_PA_MODE_CFG0, pa_mode[0]); mt76_wr 87 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BB_PA_MODE_CFG1, pa_mode[1]); mt76_wr 88 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_RF_PA_MODE_CFG0, pa_mode[0]); mt76_wr 89 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_RF_PA_MODE_CFG1, pa_mode[1]); mt76_wr 99 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX0_RF_GAIN_CORR, val); mt76_wr 100 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX1_RF_GAIN_CORR, val); mt76_wr 101 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_4, 0x00001818); mt76_wr 106 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX0_RF_GAIN_CORR, val); mt76_wr 107 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX1_RF_GAIN_CORR, val); mt76_wr 108 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_4, 0x00000606); mt76_wr 110 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX0_RF_GAIN_CORR, 0x383c023c); mt76_wr 111 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX1_RF_GAIN_CORR, 0x24282e28); mt76_wr 112 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_ALC_CFG_4, 0); mt76_wr 196 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_SW_CFG0, cfg0); mt76_wr 197 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_TX_SW_CFG1, cfg1); mt76_wr 265 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 8), mt76_wr 267 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 9), mt76_wr 301 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(RXO, 14), 0x00560211); mt76_wr 307 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 26), val); mt76_wr 309 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(RXO, 14), 0x00560423); mt76_wr 328 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(RXO, 18), 0xf000a990); mt76_wr 329 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 35), 0x08080808); mt76_wr 330 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 37), 0x08080808); mt76_wr 334 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(RXO, 18), 0xf000a991); mt76_wr 339 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 35), agc_35); mt76_wr 340 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 37), agc_37); mt76_wr 25 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); mt76_wr 36 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c mt76_wr(dev, MT_VEND_ADDR(CFG, 0x14), 0x484f); mt76_wr 178 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c mt76_wr(dev, MT_TXOP_CTRL_CFG, 0x583f); mt76_wr 187 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c mt76_wr(dev, MT_CH_TIME_CFG, mt76_wr 46 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, 0x504, 0x06000000); mt76_wr 47 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, 0x50c, 0x08800000); mt76_wr 49 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, 0x504, 0x0); mt76_wr 62 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_XO_CTRL7, 0x5c1fee80); mt76_wr 65 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_XO_CTRL7, 0x5c1feed0); mt76_wr 74 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_WPDMA_GLO_CFG, BIT(4) | BIT(5)); mt76_wr 77 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_PBF_TX_MAX_PCNT, 0xefef3f1f); mt76_wr 78 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_PBF_RX_MAX_PCNT, 0xfebf); mt76_wr 82 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_TX_LINK_CFG, 0x1020); mt76_wr 83 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_AUTO_RSP_CFG, 0x13); mt76_wr 84 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_MAX_LEN_CFG, 0x2f00); mt76_wr 86 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_WMM_AIFSN, 0x2273); mt76_wr 87 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_WMM_CWMIN, 0x2344); mt76_wr 88 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_WMM_CWMAX, 0x34aa); mt76_wr 109 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); mt76_wr 113 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); mt76_wr 115 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_MAC_SYS_CTRL, mt76_wr 132 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_TX_RTS_CFG, rts_cfg & ~MT_TX_RTS_CFG_RETRY_LIMIT); mt76_wr 198 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c mt76_wr(dev, MT_TX_RTS_CFG, rts_cfg); mt76_wr 79 drivers/net/wireless/mediatek/mt76/mt76x2/usb_main.c mt76_wr(dev, MT_RX_FILTR_CFG, dev->mt76.rxfilter); mt76_wr 102 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); mt76_wr 109 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_FCE_PSE_CTRL, 0x1); mt76_wr 111 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_TX_CPU_FROM_FCE_BASE_PTR, 0x400230); mt76_wr 113 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_TX_CPU_FROM_FCE_MAX_COUNT, 0x1); mt76_wr 115 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_FCE_PDMA_GLOBAL_CONF, 0x44); mt76_wr 117 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_FCE_SKIP_FS, 0x3); mt76_wr 139 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_MCU_SEMAPHORE_03, 1); mt76_wr 185 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_VEND_ADDR(CFG, MT_USB_U3DMA_CFG), val); mt76_wr 187 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_FCE_PSE_CTRL, 0x1); mt76_wr 189 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_TX_CPU_FROM_FCE_BASE_PTR, 0x400230); mt76_wr 191 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_TX_CPU_FROM_FCE_MAX_COUNT, 0x1); mt76_wr 193 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_FCE_PDMA_GLOBAL_CONF, 0x44); mt76_wr 195 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_FCE_SKIP_FS, 0x3); mt76_wr 226 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c mt76_wr(dev, MT_FCE_PSE_CTRL, 0x1); mt76_wr 161 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_BBP(AGC, 61), 0xff64a4e2); mt76_wr 162 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); mt76_wr 163 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); mt76_wr 164 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); mt76_wr 165 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_TXOP_CTRL_CFG, 0X04101b3f); mt76_wr 17 drivers/net/wireless/mediatek/mt7601u/debugfs.c mt76_wr(dev, dev->debugfs_reg, val); mt76_wr 44 drivers/net/wireless/mediatek/mt7601u/eeprom.c mt76_wr(dev, MT_EFUSE_CTRL, val); mt76_wr 22 drivers/net/wireless/mediatek/mt7601u/mac.c mt76_wr(dev, MT_MAC_ADDR_DW0, get_unaligned_le32(dev->macaddr)); mt76_wr 23 drivers/net/wireless/mediatek/mt7601u/mac.c mt76_wr(dev, MT_MAC_ADDR_DW1, get_unaligned_le16(dev->macaddr + 4) | mt76_wr 363 drivers/net/wireless/mediatek/mt7601u/mac.c mt76_wr(dev, MT_WCID_ATTR(idx), attr); mt76_wr 590 drivers/net/wireless/mediatek/mt7601u/mac.c mt76_wr(dev, MT_SKEY_MODE(vif_idx), val); mt76_wr 128 drivers/net/wireless/mediatek/mt7601u/main.c mt76_wr(dev, MT_RX_FILTR_CFG, dev->rxfilter); mt76_wr 292 drivers/net/wireless/mediatek/mt7601u/tx.c mt76_wr(dev, MT_EDCA_CFG_AC(hw_q), val); mt76_wr 297 drivers/net/wireless/mediatek/mt7601u/tx.c mt76_wr(dev, MT_WMM_TXOP(hw_q), val); mt76_wr 302 drivers/net/wireless/mediatek/mt7601u/tx.c mt76_wr(dev, MT_WMM_AIFSN, val); mt76_wr 307 drivers/net/wireless/mediatek/mt7601u/tx.c mt76_wr(dev, MT_WMM_CWMIN, val); mt76_wr 312 drivers/net/wireless/mediatek/mt7601u/tx.c mt76_wr(dev, MT_WMM_CWMAX, val);