Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dpci.c106 static int mt7915_wed_offload_enable(struct mtk_wed_device *wed) in mt7915_wed_offload_enable() argument
112 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_wed_offload_enable()
115 dev->mt76.token_size = wed->wlan.token_start; in mt7915_wed_offload_enable()
134 static void mt7915_wed_offload_disable(struct mtk_wed_device *wed) in mt7915_wed_offload_disable() argument
139 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_wed_offload_disable()
162 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_pci_wed_init() local
168 wed->wlan.pci_dev = pdev; in mt7915_pci_wed_init()
169 wed->wlan.wpdma_phys = pci_resource_start(pdev, 0) + in mt7915_pci_wed_init()
171 wed->wlan.nbuf = 4096; in mt7915_pci_wed_init()
172 wed->wlan.token_start = MT7915_TOKEN_SIZE - wed->wlan.nbuf; in mt7915_pci_wed_init()
[all …]
Dmmio.c558 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_irq_tasklet() local
561 if (mtk_wed_device_active(wed)) { in mt7915_irq_tasklet()
562 mtk_wed_device_irq_set_mask(wed, 0); in mt7915_irq_tasklet()
563 intr = mtk_wed_device_irq_get(wed, dev->mt76.mmio.irqmask); in mt7915_irq_tasklet()
627 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_irq_handler() local
629 if (mtk_wed_device_active(wed)) { in mt7915_irq_handler()
630 mtk_wed_device_irq_set_mask(wed, 0); in mt7915_irq_handler()
Ddma.c13 if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) { in mt7915_init_tx_queues()
322 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_dma_enable()
327 mtk_wed_device_start(&dev->mt76.mmio.wed, wed_irq_mask); in mt7915_dma_enable()
351 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_dma_init()
413 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_dma_init()
Dmain.c1017 if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) { in mt7915_sta_statistics()
1422 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_net_fill_forward_path() local
1424 if (!mtk_wed_device_active(wed)) in mt7915_net_fill_forward_path()
1432 path->mtk_wdma.wdma_idx = wed->wdma_idx; in mt7915_net_fill_forward_path()
Dmcu.c2277 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7915_mcu_init()
/linux-6.1.9/Documentation/devicetree/bindings/arm/mediatek/
Dmediatek,mt7622-wed.yaml4 $id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml#"
22 - mediatek,mt7622-wed
23 - mediatek,mt7986-wed
46 wed0: wed@1020a000 {
47 compatible = "mediatek,mt7622-wed","syscon";
Dmediatek,mt7986-wed-pcie.yaml4 $id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7986-wed-pcie.yaml#"
21 - mediatek,mt7986-wed-pcie
38 wed_pcie: wed-pcie@10003000 {
39 compatible = "mediatek,mt7986-wed-pcie",
/linux-6.1.9/arch/arm64/boot/dts/mediatek/
Dmt7986a.dtsi115 wed_pcie: wed-pcie@10003000 {
116 compatible = "mediatek,mt7986-wed-pcie",
237 wed0: wed@15010000 {
238 compatible = "mediatek,mt7986-wed",
245 wed1: wed@15011000 {
246 compatible = "mediatek,mt7986-wed",
287 mediatek,wed-pcie = <&wed_pcie>;
288 mediatek,wed = <&wed0>, <&wed1>;
Dmt7622.dtsi953 wed0: wed@1020a000 {
954 compatible = "mediatek,mt7622-wed",
960 wed1: wed@1020b000 {
961 compatible = "mediatek,mt7622-wed",
994 mediatek,wed = <&wed0>, <&wed1>;
/linux-6.1.9/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, \
490 struct mtk_wed_device *wed = &dev->mmio.wed; in mt76_dma_wed_setup() local
494 if (!mtk_wed_device_active(wed)) in mt76_dma_wed_setup()
505 ret = mtk_wed_device_tx_ring_setup(wed, ring, q->regs); in mt76_dma_wed_setup()
507 q->wed_regs = wed->tx_ring[ring].reg_base; in mt76_dma_wed_setup()
516 ret = mtk_wed_device_txfree_ring_setup(wed, q->regs); in mt76_dma_wed_setup()
518 q->wed_regs = wed->txfree_ring.reg_base; in mt76_dma_wed_setup()
812 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_cleanup()
813 mtk_wed_device_detach(&dev->mmio.wed); in mt76_dma_cleanup()
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.c745 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_consume()
746 token >= dev->mmio.wed.wlan.token_start) in mt76_token_consume()
771 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_release()
772 token >= dev->mmio.wed.wlan.token_start && in mt76_token_release()
Dmt76.h594 struct mtk_wed_device wed; member
/linux-6.1.9/drivers/misc/cxl/
Dnative.c663 static int process_element_entry_psl9(struct cxl_context *ctx, u64 wed, u64 amr) in process_element_entry_psl9() argument
701 cxl_prefault(ctx, wed); in process_element_entry_psl9()
713 ctx->elem->common.wed = cpu_to_be64(wed); in process_element_entry_psl9()
718 int cxl_attach_afu_directed_psl9(struct cxl_context *ctx, u64 wed, u64 amr) in cxl_attach_afu_directed_psl9() argument
723 result = process_element_entry_psl9(ctx, wed, amr); in cxl_attach_afu_directed_psl9()
737 int cxl_attach_afu_directed_psl8(struct cxl_context *ctx, u64 wed, u64 amr) in cxl_attach_afu_directed_psl8() argument
761 cxl_prefault(ctx, wed); in cxl_attach_afu_directed_psl8()
778 ctx->elem->common.wed = cpu_to_be64(wed); in cxl_attach_afu_directed_psl8()
905 int cxl_attach_dedicated_process_psl9(struct cxl_context *ctx, u64 wed, u64 amr) in cxl_attach_dedicated_process_psl9() argument
911 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,
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()
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()
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()
/linux-6.1.9/Documentation/devicetree/bindings/net/
Dmediatek,net.yaml72 mediatek,wed:
124 mediatek,wed: false
207 mediatek,wed: false
245 mediatek,wed-pcie:
248 Phandle to the mediatek wed-pcie controller.
/linux-6.1.9/include/linux/soc/mediatek/
Dmtk_wed.h70 int (*offload_enable)(struct mtk_wed_device *wed);
71 void (*offload_disable)(struct mtk_wed_device *wed);
/linux-6.1.9/include/misc/
Dcxl.h115 int cxl_start_context(struct cxl_context *ctx, u64 wed,