Home
last modified time | relevance | path

Searched refs:MT_USB_DMA_CFG (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/
Dusb_mcu.c92 mt76_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt76x0u_load_firmware()
127 mt76_set(dev, MT_USB_DMA_CFG, in mt76x0u_load_firmware()
144 val = mt76_rr(dev, MT_USB_DMA_CFG); 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()
Dusb.c49 val = mt76_rr(dev, MT_USB_DMA_CFG); in mt76x0_init_usb_dma()
58 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma()
64 val = mt76_rr(dev, MT_USB_DMA_CFG); 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()
92 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_BUSY, 0, 1000)) in mt76x0u_stop()
97 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_RX_BUSY, 0, 1000)) in mt76x0u_stop()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dinit.c94 mt7601u_wr(dev, MT_USB_DMA_CFG, 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()
268 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_BUSY, 0, 1000)) in mt7601u_mac_stop_hw()
301 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_RX_BUSY, 0, 1000)) in mt7601u_mac_stop_hw()
Dmcu.c413 mt7601u_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt7601u_load_firmware()
464 mt7601u_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt7601u_load_firmware()
466 val = mt76_set(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_CLR); in mt7601u_load_firmware()
468 mt7601u_wr(dev, MT_USB_DMA_CFG, val); in mt7601u_load_firmware()
Dregs.h139 #define MT_USB_DMA_CFG 0x238 macro
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_regs.h161 #define MT_USB_DMA_CFG 0x0238 macro