/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | mmio.c | 551 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_offload_enable() 578 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_offload_disable() 601 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_release_rx_buf() 626 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_init_rx_buf() 677 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_update_rx_stats() 726 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt7915_mmio_wed_reset_complete() 736 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_mmio_wed_init() local 789 wed->wlan.token_start = MT7915_TOKEN_SIZE - wed->wlan.nbuf; in mt7915_mmio_wed_init() 820 *irq = wed->irq; in mt7915_mmio_wed_init() 920 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_irq_tasklet() local [all …]
|
A D | dma.c | 13 if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) { in mt7915_init_tx_queues() 400 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7915_dma_init() 486 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7915_dma_init() 487 mtk_wed_get_rx_capa(&mdev->mmio.wed)) { in mt7915_dma_init() 507 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7915_dma_init() 523 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7915_dma_init() 524 mtk_wed_get_rx_capa(&mdev->mmio.wed)) { in mt7915_dma_init() 580 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7915_dma_reset_tx_queue() 587 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_dma_reset() local 607 if (mtk_wed_device_active(wed)) in mt7915_dma_reset() [all …]
|
A D | pci.c | 192 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_pci_probe() 193 mtk_wed_device_detach(&mdev->mmio.wed); in mt7915_pci_probe()
|
A D | main.c | 1043 if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) { in mt7915_sta_statistics() 1056 if (mtk_wed_get_rx_capa(&phy->dev->mt76.mmio.wed)) { in mt7915_sta_statistics() 1500 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_net_fill_forward_path() local 1502 if (!mtk_wed_device_active(wed)) in mt7915_net_fill_forward_path() 1510 path->mtk_wdma.wdma_idx = wed->wdma_idx; in mt7915_net_fill_forward_path()
|
A D | soc.c | 1221 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7986_wmac_probe() 1222 mtk_wed_device_detach(&mdev->mmio.wed); in mt7986_wmac_probe()
|
A D | mcu.c | 1711 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_mcu_wed_enable_rx_stats() local 1719 return mtk_wed_device_update_msg(wed, MTK_WED_WO_CMD_RXCNT_CTRL, in mt7915_mcu_wed_enable_rx_stats() 2373 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && is_mt7915(&dev->mt76)) in mt7915_mcu_init_firmware() 2389 return mt7915_mcu_set_red(dev, mtk_wed_device_active(&dev->mt76.mmio.wed)); in mt7915_mcu_init_firmware()
|
A D | mac.c | 270 mtk_wed_device_ppe_check(&dev->mt76.mmio.wed, skb, in mt7915_wed_check_ppe() 1581 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_mac_reset_work() 1582 mtk_wed_device_stop(&dev->mt76.mmio.wed); in mt7915_mac_reset_work()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/mediatek/ |
A D | mediatek,mt7622-wed.yaml | 4 $id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml#" 22 - mediatek,mt7622-wed 23 - mediatek,mt7986-wed 50 description: mediatek wed-wo controller interface. 57 const: mediatek,mt7622-wed 78 wed0: wed@1020a000 { 79 compatible = "mediatek,mt7622-wed","syscon"; 92 wed@15010000 { 93 compatible = "mediatek,mt7986-wed", "syscon";
|
A D | mediatek,mt7986-wed-pcie.yaml | 4 $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.3-rc2/include/linux/soc/mediatek/ |
A D | mtk_wed.h | 147 int (*offload_enable)(struct mtk_wed_device *wed); 148 void (*offload_disable)(struct mtk_wed_device *wed); 149 u32 (*init_rx_buf)(struct mtk_wed_device *wed, int size); 150 void (*release_rx_buf)(struct mtk_wed_device *wed); 151 void (*update_wo_rx_stats)(struct mtk_wed_device *wed, 153 int (*reset)(struct mtk_wed_device *wed); 154 void (*reset_complete)(struct mtk_wed_device *wed);
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | dma.c | 16 _val = mtk_wed_device_reg_read(&(_dev)->mmio.wed, \ 27 mtk_wed_device_reg_write(&(_dev)->mmio.wed, \ 632 struct mtk_wed_device *wed = &dev->mmio.wed; in mt76_dma_wed_setup() local 640 if (!mtk_wed_device_active(wed)) in mt76_dma_wed_setup() 651 ret = mtk_wed_device_tx_ring_setup(wed, ring, q->regs, reset); in mt76_dma_wed_setup() 653 q->wed_regs = wed->tx_ring[ring].reg_base; in mt76_dma_wed_setup() 662 ret = mtk_wed_device_txfree_ring_setup(wed, q->regs); in mt76_dma_wed_setup() 664 q->wed_regs = wed->txfree_ring.reg_base; in mt76_dma_wed_setup() 669 q->wed_regs = wed->rx_ring[ring].reg_base; in mt76_dma_wed_setup() 979 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_cleanup() [all …]
|
A D | mmio.c | 77 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()
|
A D | tx.c | 745 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_consume() 746 token >= dev->mmio.wed.wlan.token_start) in mt76_token_consume() 789 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_release() 790 token >= dev->mmio.wed.wlan.token_start && in mt76_token_release()
|
A D | mt76.h | 597 struct mtk_wed_device wed; member
|
/linux-6.3-rc2/drivers/misc/cxl/ |
A D | native.c | 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() 911 result = process_element_entry_psl9(ctx, wed, amr); in cxl_attach_dedicated_process_psl9() 949 cxl_prefault(ctx, wed); in cxl_attach_dedicated_process_psl8() 962 cxl_p2n_write(afu, CXL_PSL_WED_An, wed); in cxl_attach_dedicated_process_psl8() [all …]
|
A D | cxl.h | 637 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);
|
A D | trace.h | 89 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,
|
A D | fault.c | 319 void cxl_prefault(struct cxl_context *ctx, u64 wed) in cxl_prefault() argument 331 cxl_fault_segment(ctx, mm, wed); in cxl_prefault()
|
A D | guest.c | 521 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()
|
A D | api.c | 266 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.3-rc2/arch/arm64/boot/dts/mediatek/ |
A D | mt7986a.dtsi | 158 wed_pcie: wed-pcie@10003000 { 159 compatible = "mediatek,mt7986-wed-pcie", 457 wed0: wed@15010000 { 458 compatible = "mediatek,mt7986-wed", 470 wed1: wed@15011000 { 471 compatible = "mediatek,mt7986-wed", 531 mediatek,wed-pcie = <&wed_pcie>; 532 mediatek,wed = <&wed0>, <&wed1>;
|
A D | mt7622.dtsi | 953 wed0: wed@1020a000 { 954 compatible = "mediatek,mt7622-wed", 960 wed1: wed@1020b000 { 961 compatible = "mediatek,mt7622-wed", 994 mediatek,wed = <&wed0>, <&wed1>;
|
/linux-6.3-rc2/Documentation/devicetree/bindings/net/ |
A D | mediatek,net.yaml | 72 mediatek,wed: 124 mediatek,wed: false 207 mediatek,wed: false 245 mediatek,wed-pcie: 248 Phandle to the mediatek wed-pcie controller.
|
/linux-6.3-rc2/drivers/net/ethernet/mediatek/ |
A D | mtk_wed_mcu.c | 65 mtk_wed_update_rx_stats(struct mtk_wed_device *wed, struct sk_buff *skb) in mtk_wed_update_rx_stats() argument 76 wed->wlan.update_wo_rx_stats(wed, &stats[i]); in mtk_wed_update_rx_stats()
|
/linux-6.3-rc2/include/misc/ |
A D | cxl.h | 115 int cxl_start_context(struct cxl_context *ctx, u64 wed,
|