/linux-6.12.1/drivers/net/wireless/mediatek/mt7601u/ |
D | mcu.c | 330 mt7601u_wr(dev, MT_TX_CPU_FROM_FCE_CPU_DESC_IDX, val); in __mt7601u_dma_fw() 413 mt7601u_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt7601u_load_firmware() 446 mt7601u_wr(dev, 0x94c, 0); in mt7601u_load_firmware() 447 mt7601u_wr(dev, MT_FCE_PSE_CTRL, 0); in mt7601u_load_firmware() 452 mt7601u_wr(dev, 0xa44, 0); in mt7601u_load_firmware() 453 mt7601u_wr(dev, 0x230, 0x84210); in mt7601u_load_firmware() 454 mt7601u_wr(dev, 0x400, 0x80c00); in mt7601u_load_firmware() 455 mt7601u_wr(dev, 0x800, 1); in mt7601u_load_firmware() 462 mt7601u_wr(dev, MT_FCE_PSE_CTRL, 1); in mt7601u_load_firmware() 464 mt7601u_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt7601u_load_firmware() [all …]
|
D | init.c | 32 mt7601u_wr(dev, MT_WLAN_FUN_CTRL, val); in mt7601u_set_wlan_state() 74 mt7601u_wr(dev, MT_WLAN_FUN_CTRL, val); in mt7601u_chip_onoff() 82 mt7601u_wr(dev, MT_WLAN_FUN_CTRL, val); in mt7601u_chip_onoff() 92 mt7601u_wr(dev, MT_MAC_SYS_CTRL, (MT_MAC_SYS_CTRL_RESET_CSR | in mt7601u_reset_csr_bbp() 94 mt7601u_wr(dev, MT_USB_DMA_CFG, 0); in mt7601u_reset_csr_bbp() 96 mt7601u_wr(dev, MT_MAC_SYS_CTRL, 0); in mt7601u_reset_csr_bbp() 110 mt7601u_wr(dev, MT_USB_DMA_CFG, val); in mt7601u_init_usb_dma() 113 mt7601u_wr(dev, MT_USB_DMA_CFG, val); in mt7601u_init_usb_dma() 115 mt7601u_wr(dev, MT_USB_DMA_CFG, val); in mt7601u_init_usb_dma() 149 mt7601u_wr(dev, MT_BCN_OFFSET(i), regs[i]); in mt76_init_beacon_offsets() [all …]
|
D | phy.c | 36 mt7601u_wr(dev, MT_RF_CSR_CFG, in mt7601u_rf_wr() 70 mt7601u_wr(dev, MT_RF_CSR_CFG, in mt7601u_rf_rr() 135 mt7601u_wr(dev, MT_BBP_CSR_CFG, in mt7601u_bbp_wr() 159 mt7601u_wr(dev, MT_BBP_CSR_CFG, in mt7601u_bbp_rr() 429 mt7601u_wr(dev, MT_TX_PWR_CFG_0, int_to_s6(t->ofdm[1].bw20) << 24 | in __mt7601u_phy_set_channel() 501 mt7601u_wr(dev, MT_RF_BYPASS_0, 0); in mt7601u_read_bootup_temp() 502 mt7601u_wr(dev, MT_RF_SETTING_0, 0x00000010); in mt7601u_read_bootup_temp() 503 mt7601u_wr(dev, MT_RF_BYPASS_0, 0x00000010); in mt7601u_read_bootup_temp() 522 mt7601u_wr(dev, MT_RF_BYPASS_0, 0); in mt7601u_read_bootup_temp() 523 mt7601u_wr(dev, MT_RF_SETTING_0, rf_set); in mt7601u_read_bootup_temp() [all …]
|
D | main.c | 156 mt7601u_wr(dev, MT_LEGACY_BASIC_RATE, info->basic_rates); in mt7601u_bss_info_changed() 157 mt7601u_wr(dev, MT_HT_FBK_CFG0, 0x65432100); in mt7601u_bss_info_changed() 158 mt7601u_wr(dev, MT_HT_FBK_CFG1, 0xedcba980); in mt7601u_bss_info_changed() 159 mt7601u_wr(dev, MT_LG_FBK_CFG0, 0xedcba988); in mt7601u_bss_info_changed() 160 mt7601u_wr(dev, MT_LG_FBK_CFG1, 0x00002100); in mt7601u_bss_info_changed()
|
D | eeprom.c | 243 mt7601u_wr(dev, MT_TX_PWR_CFG_7, val); in mt7601u_extra_power_over_mac() 246 mt7601u_wr(dev, MT_TX_PWR_CFG_9, val); in mt7601u_extra_power_over_mac() 323 mt7601u_wr(dev, MT_TX_PWR_CFG_0 + i * 4, val); in mt7601u_config_tx_power_per_rate()
|
D | usb.c | 181 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val) in mt7601u_wr() function 224 mt7601u_wr(dev, offset, get_unaligned_le32(addr)); in mt7601u_addr_wr() 225 mt7601u_wr(dev, offset + 4, addr[4] | addr[5] << 8); in mt7601u_addr_wr()
|
D | mac.c | 256 mt7601u_wr(dev, MT_CCK_PROT_CFG + i * 4, prot[i]); in mt7601u_mac_set_protection() 276 mt7601u_wr(dev, MT_BEACON_TIME_CFG, val); in mt7601u_mac_config_tsf() 392 mt7601u_wr(dev, MT_MAX_LEN_CFG, 0xa0fff | in mt7601u_mac_set_ampdu_factor() 566 mt7601u_wr(dev, MT_WCID_ATTR(idx), val); in mt76_mac_wcid_set_key()
|
D | mt7601u.h | 284 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val); 307 return mt7601u_wr(dev, offset, val); in mt76_wr()
|