Home
last modified time | relevance | path

Searched refs:hw_rro (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/soc/mediatek/
H A Dmtk_wed.h131 } hw_rro; member
155 bool hw_rro; member
255 return dev->wlan.hw_rro; in mtk_wed_get_rx_capa()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c773 if (!dev->wlan.hw_rro) in mtk_wed_hwrro_buffer_alloc()
780 dev->hw_rro.size = dev->wlan.rx_nbuf & ~(MTK_WED_BUF_PER_PAGE - 1); in mtk_wed_hwrro_buffer_alloc()
781 dev->hw_rro.pages = page_list; in mtk_wed_hwrro_buffer_alloc()
788 dev->hw_rro.desc = desc; in mtk_wed_hwrro_buffer_alloc()
789 dev->hw_rro.desc_phys = desc_phys; in mtk_wed_hwrro_buffer_alloc()
850 struct mtk_wed_buf *page_list = dev->hw_rro.pages; in mtk_wed_hwrro_free_buffer()
851 struct mtk_wed_bm_desc *desc = dev->hw_rro.desc; in mtk_wed_hwrro_free_buffer()
854 if (!dev->wlan.hw_rro) in mtk_wed_hwrro_free_buffer()
875 dma_free_coherent(dev->hw->dev, dev->hw_rro.size * sizeof(*desc), in mtk_wed_hwrro_free_buffer()
876 desc, dev->hw_rro.desc_phys); in mtk_wed_hwrro_free_buffer()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmmio.c356 wed->wlan.hw_rro = dev->has_rro; /* default on */ in mt7996_mmio_wed_init()