Home
last modified time | relevance | path

Searched refs:mtk_wed_device (Results 1 – 17 of 17) sorted by relevance

/linux/include/linux/soc/mediatek/
H A Dmtk_wed.h85 struct mtk_wed_device { struct
182 int (*offload_enable)(struct mtk_wed_device *wed);
183 void (*offload_disable)(struct mtk_wed_device *wed);
184 u32 (*init_rx_buf)(struct mtk_wed_device *wed, int size);
185 void (*release_rx_buf)(struct mtk_wed_device *wed);
186 void (*update_wo_rx_stats)(struct mtk_wed_device *wed,
188 int (*reset)(struct mtk_wed_device *wed);
189 void (*reset_complete)(struct mtk_wed_device *wed);
195 int (*attach)(struct mtk_wed_device *dev); argument
196 int (*tx_ring_setup)(struct mtk_wed_device *dev, int ring,
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.h44 struct mtk_wed_device *wed_dev;
86 wed_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wed_w32()
92 wed_r32(struct mtk_wed_device *dev, u32 reg) in wed_r32()
102 wdma_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wdma_w32()
108 wdma_r32(struct mtk_wed_device *dev, u32 reg) in wdma_r32()
114 wpdma_tx_r32(struct mtk_wed_device *dev, int ring, u32 reg) in wpdma_tx_r32()
123 wpdma_tx_w32(struct mtk_wed_device *dev, int ring, u32 reg, u32 val) in wpdma_tx_w32()
132 wpdma_rx_r32(struct mtk_wed_device *dev, int ring, u32 reg) in wpdma_rx_r32()
141 wpdma_rx_w32(struct mtk_wed_device *dev, int ring, u32 reg, u32 val) in wpdma_rx_w32()
150 wpdma_txfree_r32(struct mtk_wed_device *dev, u32 reg) in wpdma_txfree_r32()
[all …]
H A Dmtk_wed.c93 wed_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wed_m32()
99 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set()
105 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr()
111 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32()
117 wdma_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_set()
123 wdma_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_clr()
129 wifi_r32(struct mtk_wed_device *dev, u32 reg) in wifi_r32()
135 wifi_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wifi_w32()
141 mtk_wed_read_reset(struct mtk_wed_device *dev) in mtk_wed_read_reset()
147 mtk_wdma_read_reset(struct mtk_wed_device *dev) in mtk_wdma_read_reset()
[all …]
H A Dmtk_wed_debugfs.c57 dump_wed_regs(struct seq_file *s, struct mtk_wed_device *dev, in dump_wed_regs()
146 struct mtk_wed_device *dev = hw->wed_dev; in wed_txinfo_show()
261 struct mtk_wed_device *dev = hw->wed_dev; in wed_rxinfo_show()
489 struct mtk_wed_device *dev = hw->wed_dev; in wed_amsdu_show()
539 struct mtk_wed_device *dev = hw->wed_dev; in wed_rtqm_show()
576 struct mtk_wed_device *dev = hw->wed_dev; in wed_rro_show()
H A Dmtk_wed_mcu.c81 mtk_wed_update_rx_stats(struct mtk_wed_device *wed, struct sk_buff *skb) in mtk_wed_update_rx_stats()
221 int mtk_wed_mcu_msg_update(struct mtk_wed_device *dev, int id, void *data, in mtk_wed_mcu_msg_update()
H A Dmtk_wed_wo.h275 int mtk_wed_mcu_msg_update(struct mtk_wed_device *dev, int id, void *data,
/linux/drivers/net/wireless/mediatek/mt76/
H A Dwed.c9 void mt76_wed_release_rx_buf(struct mtk_wed_device *wed) in mt76_wed_release_rx_buf()
32 u32 mt76_wed_init_rx_buf(struct mtk_wed_device *wed, int size) in mt76_wed_init_rx_buf()
85 int mt76_wed_offload_enable(struct mtk_wed_device *wed) in mt76_wed_offload_enable()
169 void mt76_wed_offload_disable(struct mtk_wed_device *wed) in mt76_wed_offload_disable()
179 void mt76_wed_reset_complete(struct mtk_wed_device *wed) in mt76_wed_reset_complete()
192 struct mtk_wed_device *wed = &phy->dev->mmio.wed; in mt76_wed_net_setup_tc()
H A Dmt76.h224 struct mtk_wed_device *wed;
655 struct mtk_wed_device wed;
656 struct mtk_wed_device wed_hif2;
1113 void mt76_wed_release_rx_buf(struct mtk_wed_device *wed);
1114 void mt76_wed_offload_disable(struct mtk_wed_device *wed);
1115 void mt76_wed_reset_complete(struct mtk_wed_device *wed);
1121 u32 mt76_wed_init_rx_buf(struct mtk_wed_device *wed, int size);
1122 int mt76_wed_offload_enable(struct mtk_wed_device *wed);
1125 static inline u32 mt76_wed_init_rx_buf(struct mtk_wed_device *wed, int size) in mt76_wed_init_rx_buf()
1130 static inline int mt76_wed_offload_enable(struct mtk_wed_device *wed) in mt76_wed_offload_enable()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmmio.c579 static void mt7915_mmio_wed_update_rx_stats(struct mtk_wed_device *wed, in mt7915_mmio_wed_update_rx_stats()
604 static int mt7915_mmio_wed_reset(struct mtk_wed_device *wed) in mt7915_mmio_wed_reset()
638 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_mmio_wed_init()
824 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_irq_tasklet()
894 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_irq_handler()
H A Ddma.c12 struct mtk_wed_device *wed = NULL; in mt7915_init_tx_queues()
593 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_dma_reset()
H A Dmain.c1663 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_net_fill_forward_path()
H A Dmcu.c1734 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_mcu_wed_enable_rx_stats()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmmio.c272 static int mt7996_mmio_wed_reset(struct mtk_wed_device *wed) in mt7996_mmio_wed_reset()
306 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_mmio_wed_init()
520 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_irq_tasklet()
521 struct mtk_wed_device *wed_hif2 = &dev->mt76.mmio.wed_hif2; in mt7996_irq_tasklet()
H A Ddma.c11 int ring_base, struct mtk_wed_device *wed) in mt7996_init_tx_queues()
221 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_dma_start()
444 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_dma_init()
445 struct mtk_wed_device *wed_hif2 = &dev->mt76.mmio.wed_hif2; in mt7996_dma_init()
H A Dinit.c351 mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed) in mt7996_init_wiphy()
566 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_register_phy()
685 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_wed_rro_init()
H A Dmt7996.h438 int n_desc, int ring_base, struct mtk_wed_device *wed);
H A Dmain.c1433 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_net_fill_forward_path()