/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | wed.c | 9 void mt76_wed_release_rx_buf(struct mtk_wed_device *wed) in mt76_wed_release_rx_buf() argument 11 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.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() argument 34 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt76_wed_init_rx_buf() 35 struct mtk_wed_bm_desc *desc = wed->rx_buf_ring.desc; in mt76_wed_init_rx_buf() 79 mt76_wed_release_rx_buf(wed); in mt76_wed_init_rx_buf() 85 int mt76_wed_offload_enable(struct mtk_wed_device *wed) in mt76_wed_offload_enable() argument 87 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt76_wed_offload_enable() 90 dev->token_size = wed->wlan.token_start; in mt76_wed_offload_enable() 106 if (!q->wed || !mtk_wed_device_active(q->wed)) in mt76_wed_dma_setup() [all …]
|
D | mt76.h | 224 struct mtk_wed_device *wed; member 306 /* WED TX */ 310 /* WED RX */ 655 struct mtk_wed_device wed; member 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() argument [all …]
|
D | dma.c | 16 _val = mtk_wed_device_reg_read((_q)->wed, \ 27 mtk_wed_device_reg_write((_q)->wed, \ 730 if (mtk_wed_device_active(&dev->mmio.wed)) { in mt76_dma_alloc_queue() 731 if ((mtk_wed_get_rx_capa(&dev->mmio.wed) && mt76_queue_is_wed_rro(q)) || in mt76_dma_alloc_queue() 788 /* reset WED rx queues */ in mt76_dma_rx_reset() 794 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_dma_rx_reset() 1021 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_dma_cleanup() 1031 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_cleanup() 1032 mtk_wed_device_detach(&dev->mmio.wed); in mt76_dma_cleanup()
|
D | mmio.c | 78 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_set_irq_mask() 79 mtk_wed_device_irq_set_mask(&dev->mmio.wed, in mt76_set_irq_mask()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | mmio.c | 272 static int mt7996_mmio_wed_reset(struct mtk_wed_device *wed) in mt7996_mmio_wed_reset() argument 274 struct mt76_dev *mdev = container_of(wed, struct mt76_dev, mmio.wed); in mt7996_mmio_wed_reset() 291 dev_err(mdev->dev, "wed reset timeout\n"); in mt7996_mmio_wed_reset() 306 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_mmio_wed_init() local 318 wed = &dev->mt76.mmio.wed_hif2; in mt7996_mmio_wed_init() 320 wed->wlan.pci_dev = pci_dev; in mt7996_mmio_wed_init() 321 wed->wlan.bus_type = MTK_WED_BUS_PCIE; in mt7996_mmio_wed_init() 323 wed->wlan.base = devm_ioremap(dev->mt76.dev, in mt7996_mmio_wed_init() 326 wed->wlan.phy_base = pci_resource_start(pci_dev, 0); in mt7996_mmio_wed_init() 329 wed->wlan.wpdma_int = wed->wlan.phy_base + in mt7996_mmio_wed_init() [all …]
|
D | dma.c | 11 int ring_base, struct mtk_wed_device *wed) in mt7996_init_tx_queues() argument 16 if (mtk_wed_device_active(wed)) { in mt7996_init_tx_queues() 27 ring_base, wed, flags); in mt7996_init_tx_queues() 221 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_dma_start() local 230 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) in mt7996_dma_start() 264 if (mtk_wed_device_active(wed) && wed_reset) { in mt7996_dma_start() 269 mtk_wed_device_start(wed, wed_irq_mask); in mt7996_dma_start() 363 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_dma_enable() 384 mdev->q_rx[MT_RXQ_RRO_IND].wed = &mdev->mmio.wed; in mt7996_dma_rro_init() 395 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND0].wed = &mdev->mmio.wed; in mt7996_dma_rro_init() [all …]
|
D | init.c | 351 mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed) in mt7996_init_wiphy() argument 363 if (mtk_wed_device_active(wed)) in mt7996_init_wiphy() 566 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_register_phy() local 576 wed = &dev->mt76.mmio.wed_hif2; in mt7996_register_phy() 610 mt7996_init_wiphy(mphy->hw, wed); in mt7996_register_phy() 615 wed); in mt7996_register_phy() 632 if (wed == &dev->mt76.mmio.wed_hif2 && mtk_wed_device_active(wed)) { in mt7996_register_phy() 685 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_wed_rro_init() local 694 if (!mtk_wed_device_active(wed)) in mt7996_wed_rro_init() 728 wed->wlan.ind_cmd.addr_elem_phys[i] = in mt7996_wed_rro_init() [all …]
|
D | pci.c | 207 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_pci_probe() 208 mtk_wed_device_detach(&dev->mt76.mmio.wed); in mt7996_pci_probe()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mmio.c | 579 static void mt7915_mmio_wed_update_rx_stats(struct mtk_wed_device *wed, in mt7915_mmio_wed_update_rx_stats() argument 586 dev = container_of(wed, struct mt7915_dev, mt76.mmio.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() argument 606 struct mt76_dev *mdev = container_of(wed, struct mt76_dev, mmio.wed); in mt7915_mmio_wed_reset() 623 dev_err(mdev->dev, "wed reset timeout\n"); in mt7915_mmio_wed_reset() 638 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_mmio_wed_init() local 647 wed->wlan.pci_dev = pci_dev; in mt7915_mmio_wed_init() 648 wed->wlan.bus_type = MTK_WED_BUS_PCIE; in mt7915_mmio_wed_init() 649 wed->wlan.base = devm_ioremap(dev->mt76.dev, in mt7915_mmio_wed_init() 652 wed->wlan.phy_base = pci_resource_start(pci_dev, 0); in mt7915_mmio_wed_init() [all …]
|
D | dma.c | 12 struct mtk_wed_device *wed = NULL; in mt7915_init_tx_queues() local 14 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_init_tx_queues() 21 wed = &dev->mt76.mmio.wed; in mt7915_init_tx_queues() 25 wed, MT_WED_Q_TX(idx)); in mt7915_init_tx_queues() 87 if (is_mt7916(&dev->mt76) && mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_dma_config() 309 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && wed_reset) { in mt7915_dma_start() 323 mtk_wed_device_start(&dev->mt76.mmio.wed, wed_irq_mask); in mt7915_dma_start() 424 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7915_dma_init() 494 if (mtk_wed_device_active(&mdev->mmio.wed) && is_mt7915(mdev)) { in mt7915_dma_init() 498 mdev->q_rx[MT_RXQ_MCU_WA].wed = &mdev->mmio.wed; in mt7915_dma_init() [all …]
|
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()
|
/linux-6.12.1/Documentation/devicetree/bindings/arm/mediatek/ |
D | mediatek,mt7622-wed.yaml | 4 $id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml# 22 - mediatek,mt7622-wed 23 - mediatek,mt7981-wed 24 - mediatek,mt7986-wed 25 - mediatek,mt7988-wed 52 description: mediatek wed-wo controller interface. 59 const: mediatek,mt7622-wed 80 wed0: wed@1020a000 { 81 compatible = "mediatek,mt7622-wed","syscon"; 94 wed@15010000 { [all …]
|
D | mediatek,mt7986-wed-pcie.yaml | 4 $id: http://devicetree.org/schemas/arm/mediatek/mediatek,mt7986-wed-pcie.yaml# 7 title: MediaTek PCIE WED Controller for MT7986 14 The mediatek WED PCIE provides a configuration interface for PCIE 21 - mediatek,mt7986-wed-pcie 38 wed_pcie: wed-pcie@10003000 { 39 compatible = "mediatek,mt7986-wed-pcie",
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_wed_debugfs.c | 95 DUMP_STR("WED TX"), in wed_txinfo_show() 115 DUMP_STR("WED WDMA RX"), in wed_txinfo_show() 133 DUMP_STR("WED TX FREE"), in wed_txinfo_show() 141 DUMP_STR("WED WPDMA TX FREE"), in wed_txinfo_show() 172 DUMP_STR("WED RX"), in wed_rxinfo_show() 176 DUMP_STR("WED WO RRO"), in wed_rxinfo_show() 187 DUMP_STR("WED WDMA TX"), in wed_rxinfo_show() 196 DUMP_STR("WED RX BM"), in wed_rxinfo_show() 208 DUMP_STR("WED Route QM"), in wed_rxinfo_show() 220 DUMP_STR("WED RX RRO DATA"), in wed_rxinfo_show() [all …]
|
D | mtk_wed_mcu.c | 81 mtk_wed_update_rx_stats(struct mtk_wed_device *wed, struct sk_buff *skb) in mtk_wed_update_rx_stats() argument 87 if (!wed->wlan.update_wo_rx_stats) in mtk_wed_update_rx_stats() 95 wed->wlan.update_wo_rx_stats(wed, &stats[i]); in mtk_wed_update_rx_stats() 341 "mediatek,mt7981-wed")) in mtk_wed_mcu_load_firmware() 362 "MTK WED WO Firmware Version: %.10s, Build Time: %.15s\n", in mtk_wed_mcu_load_firmware() 364 dev_info(wo->hw->dev, "MTK WED WO Chip ID %02x Region %d\n", in mtk_wed_mcu_load_firmware()
|
D | mtk_wed.c | 414 dev_err(dev->hw->dev, "failed to disable wed-wo\n"); in mtk_wed_wo_reset() 505 /* MT7986 WED devices do not have any pcie slot restrictions */ in mtk_wed_assign() 1179 "mediatek,wed-pcie"); in mtk_wed_bus_init() 1357 __le32 wed; in mtk_wed_rro_cfg() member 1676 /* reset wed rx dma */ in mtk_wed_rx_reset() 1739 /* 1. reset WED tx DMA */ in mtk_wed_reset_dma() 1799 /* 3. reset WED WPDMA tx */ in mtk_wed_reset_dma() 1817 /* 4. reset WED WPDMA tx */ in mtk_wed_reset_dma() 1983 /* wed control cr set */ in mtk_wed_configure_irq() 2410 dev_info(device, "attaching wed device %d version %d\n", in mtk_wed_attach() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | mediatek,net.yaml | 97 mediatek,wed: 106 mediatek,wed-pcie: 109 Phandle to the mediatek wed-pcie controller. 151 mediatek,wed: false 153 mediatek,wed-pcie: false 180 mediatek,wed: false 182 mediatek,wed-pcie: false 219 mediatek,wed-pcie: false 263 mediatek,wed: false 265 mediatek,wed-pcie: false
|
/linux-6.12.1/include/linux/soc/mediatek/ |
D | mtk_wed.h | 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); 217 int (*setup_tc)(struct mtk_wed_device *wed, struct net_device *dev,
|
/linux-6.12.1/Documentation/scsi/ |
D | ChangeLog.sym53c8xx_2 | 16 Wed Jan 17 23:30 2001 Gerard Roudier 27 Wed Jan 24 21:00 2001 Gerard Roudier 38 Wed Feb 7 21:00 2001 Gerard Roudier 82 Wed May 22:00 2001 Gerard Roudier
|
D | ChangeLog.megaraid_sas | 38 Release Date : Wed. May 15, 2013 17:00:00 PST 2013 - 110 Release Date : Wed. Oct 5, 2011 17:00:00 PST 2010 - 133 Release Date : Wed. May 11, 2011 17:00:00 PST 2010 - 451 On Wed, 2007-02-07 at 13:30 -0800, Andrew Morton wrote: 539 1 Release Date : Wed Sep 13 14:22:51 PDT 2006 - Sumant Patro <Sumant.Patro@lsil.com> 583 1 Release Date : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com> 595 1 Release Date : Wed Feb 03 14:31:44 PST 2006 - Sumant Patro <Sumant.Patro@lsil.com>
|
/linux-6.12.1/Documentation/devicetree/bindings/soc/mediatek/ |
D | mediatek,mt7986-wo-ccif.yaml | 7 title: MediaTek Wireless Ethernet Dispatch (WED) WO controller interface for MT7986 14 The MediaTek wo-ccif provides a configuration interface for WED WO
|
/linux-6.12.1/drivers/misc/cxl/ |
D | native.c | 658 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 …]
|
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; 113 TP_printk("afu%i.%i pid=%i pe=%i wed=0x%016llx irqs=%i amr=0x%llx", 118 __entry->wed,
|
/linux-6.12.1/arch/arm64/boot/dts/mediatek/ |
D | mt7986a.dtsi | 150 wed_pcie: wed-pcie@10003000 { 151 compatible = "mediatek,mt7986-wed-pcie", 498 wed0: wed@15010000 { 499 compatible = "mediatek,mt7986-wed", 511 wed1: wed@15011000 { 512 compatible = "mediatek,mt7986-wed", 560 mediatek,wed-pcie = <&wed_pcie>; 561 mediatek,wed = <&wed0>, <&wed1>;
|
/linux-6.12.1/Documentation/arch/powerpc/ |
D | cxl.rst | 120 Work Element Descriptor (WED) 123 The WED is a 64-bit parameter passed to the AFU when a context is 220 The Work Element Descriptor (WED) is a 64-bit argument 268 queues the WED may describe.
|