Home
last modified time | relevance | path

Searched refs:wed (Results 1 – 23 of 23) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt7915/
Dmmio.c579 static int mt7915_mmio_wed_offload_enable(struct mtk_wed_device *wed) in mt7915_mmio_wed_offload_enable() argument
583 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_offload_enable()
586 dev->mt76.token_size = wed->wlan.token_start; in mt7915_mmio_wed_offload_enable()
593 static void mt7915_mmio_wed_offload_disable(struct mtk_wed_device *wed) in mt7915_mmio_wed_offload_disable() argument
597 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_offload_disable()
604 static void mt7915_mmio_wed_release_rx_buf(struct mtk_wed_device *wed) in mt7915_mmio_wed_release_rx_buf() argument
609 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_release_rx_buf()
626 static u32 mt7915_mmio_wed_init_rx_buf(struct mtk_wed_device *wed, int size) in mt7915_mmio_wed_init_rx_buf() argument
628 struct mtk_rxbm_desc *desc = wed->rx_buf_ring.desc; in mt7915_mmio_wed_init_rx_buf()
634 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_init_rx_buf()
[all …]
Ddma.c13 if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) { in mt7915_init_tx_queues()
85 if (is_mt7916(&dev->mt76) && mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_dma_config()
307 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && wed_reset) { in mt7915_dma_start()
321 mtk_wed_device_start(&dev->mt76.mmio.wed, wed_irq_mask); in mt7915_dma_start()
422 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7915_dma_init()
492 if (mtk_wed_device_active(&mdev->mmio.wed) && is_mt7915(mdev)) { in mt7915_dma_init()
508 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7915_dma_init()
509 mtk_wed_get_rx_capa(&mdev->mmio.wed)) { in mt7915_dma_init()
529 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7915_dma_init()
545 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7915_dma_init()
[all …]
Dpci.c192 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_pci_probe()
193 mtk_wed_device_detach(&mdev->mmio.wed); in mt7915_pci_probe()
Dmain.c1100 if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) { in mt7915_sta_statistics()
1109 if (mtk_wed_get_rx_capa(&phy->dev->mt76.mmio.wed)) { in mt7915_sta_statistics()
1626 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_net_fill_forward_path() local
1628 if (!mtk_wed_device_active(wed)) in mt7915_net_fill_forward_path()
1636 path->mtk_wdma.wdma_idx = wed->wdma_idx; in mt7915_net_fill_forward_path()
Dsoc.c1281 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt798x_wmac_probe()
1282 mtk_wed_device_detach(&mdev->mmio.wed); in mt798x_wmac_probe()
Dmac.c266 mtk_wed_device_ppe_check(&dev->mt76.mmio.wed, skb, in mt7915_wed_check_ppe()
931 if (!mtk_wed_device_active(&mdev->mmio.wed) && wcid) { in mt7915_mac_tx_free()
1523 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_mac_reset_work()
1524 mtk_wed_device_stop(&dev->mt76.mmio.wed); in mt7915_mac_reset_work()
Dmcu.c1718 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_mcu_wed_enable_rx_stats() local
1726 return mtk_wed_device_update_msg(wed, MTK_WED_WO_CMD_RXCNT_CTRL, in mt7915_mcu_wed_enable_rx_stats()
2350 if ((mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7915_mcu_init_firmware()
2352 !mtk_wed_get_rx_capa(&dev->mt76.mmio.wed)) in mt7915_mcu_init_firmware()
2368 return mt7915_mcu_set_red(dev, mtk_wed_device_active(&dev->mt76.mmio.wed)); in mt7915_mcu_init_firmware()
Dinit.c506 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7915_mac_init_band()
/drivers/misc/cxl/
Dnative.c658 static int process_element_entry_psl9(struct cxl_context *ctx, u64 wed, u64 amr) in process_element_entry_psl9() argument
696 cxl_prefault(ctx, wed); in process_element_entry_psl9()
708 ctx->elem->common.wed = cpu_to_be64(wed); in process_element_entry_psl9()
713 int cxl_attach_afu_directed_psl9(struct cxl_context *ctx, u64 wed, u64 amr) in cxl_attach_afu_directed_psl9() argument
718 result = process_element_entry_psl9(ctx, wed, amr); in cxl_attach_afu_directed_psl9()
732 int cxl_attach_afu_directed_psl8(struct cxl_context *ctx, u64 wed, u64 amr) in cxl_attach_afu_directed_psl8() argument
756 cxl_prefault(ctx, wed); in cxl_attach_afu_directed_psl8()
773 ctx->elem->common.wed = cpu_to_be64(wed); in cxl_attach_afu_directed_psl8()
900 int cxl_attach_dedicated_process_psl9(struct cxl_context *ctx, u64 wed, u64 amr) in cxl_attach_dedicated_process_psl9() argument
906 result = process_element_entry_psl9(ctx, wed, amr); in cxl_attach_dedicated_process_psl9()
[all …]
Dcxl.h637 int (*attach_afu_directed)(struct cxl_context *ctx, u64 wed, u64 amr);
638 int (*attach_dedicated_process)(struct cxl_context *ctx, u64 wed, u64 amr);
745 __be64 wed; member
902 int cxl_attach_afu_directed_psl9(struct cxl_context *ctx, u64 wed, u64 amr);
903 int cxl_attach_afu_directed_psl8(struct cxl_context *ctx, u64 wed, u64 amr);
906 int cxl_attach_dedicated_process_psl9(struct cxl_context *ctx, u64 wed, u64 amr);
907 int cxl_attach_dedicated_process_psl8(struct cxl_context *ctx, u64 wed, u64 amr);
971 void cxl_prefault(struct cxl_context *ctx, u64 wed);
1082 u64 wed, u64 amr);
Dtrace.h89 TP_PROTO(struct cxl_context *ctx, u64 wed, s16 num_interrupts, u64 amr),
91 TP_ARGS(ctx, wed, num_interrupts, amr),
98 __field(u64, wed)
108 __entry->wed = wed;
118 __entry->wed,
Dguest.c521 static int attach_afu_directed(struct cxl_context *ctx, u64 wed, u64 amr) in attach_afu_directed() argument
561 cxl_prefault(ctx, wed); in attach_afu_directed()
587 elem->common.wed = cpu_to_be64(wed); in attach_afu_directed()
626 static int guest_attach_process(struct cxl_context *ctx, bool kernel, u64 wed, u64 amr) in guest_attach_process() argument
632 return attach_afu_directed(ctx, wed, amr); in guest_attach_process()
Dfault.c319 void cxl_prefault(struct cxl_context *ctx, u64 wed) in cxl_prefault() argument
331 cxl_fault_segment(ctx, mm, wed); in cxl_prefault()
Dapi.c266 int cxl_start_context(struct cxl_context *ctx, u64 wed, in cxl_start_context() argument
313 if ((rc = cxl_ops->attach_process(ctx, kernel, wed, 0))) { in cxl_start_context()
/drivers/net/wireless/mediatek/mt76/
Ddma.c16 _val = mtk_wed_device_reg_read(&(_dev)->mmio.wed, \
27 mtk_wed_device_reg_write(&(_dev)->mmio.wed, \
639 struct mtk_wed_device *wed = &dev->mmio.wed; in mt76_dma_wed_setup() local
647 if (!mtk_wed_device_active(wed)) in mt76_dma_wed_setup()
658 ret = mtk_wed_device_tx_ring_setup(wed, ring, q->regs, reset); in mt76_dma_wed_setup()
660 q->wed_regs = wed->tx_ring[ring].reg_base; in mt76_dma_wed_setup()
669 ret = mtk_wed_device_txfree_ring_setup(wed, q->regs); in mt76_dma_wed_setup()
671 q->wed_regs = wed->txfree_ring.reg_base; in mt76_dma_wed_setup()
674 ret = mtk_wed_device_rx_ring_setup(wed, ring, q->regs, reset); in mt76_dma_wed_setup()
676 q->wed_regs = wed->rx_ring[ring].reg_base; in mt76_dma_wed_setup()
[all …]
Dmmio.c77 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_set_irq_mask()
78 mtk_wed_device_irq_set_mask(&dev->mmio.wed, in mt76_set_irq_mask()
Dtx.c139 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_tx_status_skb_add()
831 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_consume()
832 token >= dev->mmio.wed.wlan.token_start) in mt76_token_consume()
875 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_release()
876 token >= dev->mmio.wed.wlan.token_start && in mt76_token_release()
Dmt76_connac_mac.c512 if (is_mt7915(dev) && mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac2_mac_write_txwi()
598 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_connac2_mac_fill_txs()
Dmt76.h604 struct mtk_wed_device wed; member
Dmt76_connac_mcu.c1229 if (!mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac_mcu_sta_wed_update()
1232 return mtk_wed_device_update_msg(&dev->mmio.wed, WED_WO_STA_REC, in mt76_connac_mcu_sta_wed_update()
Dmac80211.c1378 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_rx_poll_complete()
/drivers/net/ethernet/mediatek/
Dmtk_wed_mcu.c65 mtk_wed_update_rx_stats(struct mtk_wed_device *wed, struct sk_buff *skb) in mtk_wed_update_rx_stats() argument
71 if (!wed->wlan.update_wo_rx_stats) in mtk_wed_update_rx_stats()
79 wed->wlan.update_wo_rx_stats(wed, &stats[i]); in mtk_wed_update_rx_stats()
Dmtk_wed.c849 __le32 wed; in mtk_wed_rro_cfg() member
1838 mtk_wed_setup_tc(struct mtk_wed_device *wed, struct net_device *dev, in mtk_wed_setup_tc() argument
1841 struct mtk_wed_hw *hw = wed->hw; in mtk_wed_setup_tc()