Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dinit.c114 val = mt76_rr(dev, MT_USB_DMA_CFG); in mt76x0_init_usb_dma()
122 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma()
128 val = mt76_rr(dev, MT_USB_DMA_CFG); in mt76x0_init_usb_dma()
131 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma()
133 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_init_usb_dma()
323 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_BUSY, 0, 1000)) in mt76x0_mac_stop_hw()
356 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_RX_BUSY, 0, 1000)) in mt76x0_mac_stop_hw()
Dmcu.c535 mt76_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt76x0_load_firmware()
570 mt76_set(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt76x0_load_firmware()
593 val = mt76_rr(dev, MT_USB_DMA_CFG); in mt76x0_load_firmware()
595 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_load_firmware()
597 mt76_wr(dev, MT_USB_DMA_CFG, val); in mt76x0_load_firmware()
Dregs.h156 #define MT_USB_DMA_CFG 0x238 macro
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Dinit.c102 mt7601u_wr(dev, MT_USB_DMA_CFG, 0); in mt7601u_reset_csr_bbp()
118 mt7601u_wr(dev, MT_USB_DMA_CFG, val); in mt7601u_init_usb_dma()
121 mt7601u_wr(dev, MT_USB_DMA_CFG, val); in mt7601u_init_usb_dma()
123 mt7601u_wr(dev, MT_USB_DMA_CFG, val); in mt7601u_init_usb_dma()
276 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_BUSY, 0, 1000)) in mt7601u_mac_stop_hw()
309 if (!mt76_poll(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_RX_BUSY, 0, 1000)) in mt7601u_mac_stop_hw()
Dmcu.c419 mt7601u_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt7601u_load_firmware()
470 mt7601u_wr(dev, MT_USB_DMA_CFG, (MT_USB_DMA_CFG_RX_BULK_EN | in mt7601u_load_firmware()
472 val = mt76_set(dev, MT_USB_DMA_CFG, MT_USB_DMA_CFG_TX_CLR); in mt7601u_load_firmware()
474 mt7601u_wr(dev, MT_USB_DMA_CFG, val); in mt7601u_load_firmware()
Dregs.h147 #define MT_USB_DMA_CFG 0x238 macro