Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A 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()
H A Dusb.c50 val = mt76_rr(dev, MT_USB_DMA_CFG); in mt76x0_init_usb_dma()
59 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma()
65 val = mt76_rr(dev, MT_USB_DMA_CFG); in mt76x0_init_usb_dma()
68 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma()
70 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma()
93 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_BUSY, 0, 1000)) in mt76x0u_stop()
98 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_RX_BUSY, 0, 1000)) in mt76x0u_stop()
/linux/drivers/net/wireless/mediatek/mt7601u/
H A 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()
H A 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()
H A Dregs.h139 #define MT_USB_DMA_CFG 0x238 macro
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_regs.h161 #define MT_USB_DMA_CFG 0x0238 macro