linux/drivers/net/wireless/mediatek/mt76/mt7996/dma.c

// SPDX-License-Identifier: ISC
/*
 * Copyright (C) 2022 MediaTek Inc.
 */

#include "mt7996.h"
#include "../dma.h"
#include "mac.h"

int mt7996_init_tx_queues(struct mt7996_phy *phy, int idx, int n_desc,
			  int ring_base, struct mtk_wed_device *wed)
{}

static int mt7996_poll_tx(struct napi_struct *napi, int budget)
{}

static void mt7996_dma_config(struct mt7996_dev *dev)
{}

static u32 __mt7996_dma_prefetch_base(u16 *base, u8 depth)
{}

static void __mt7996_dma_prefetch(struct mt7996_dev *dev, u32 ofs)
{}

void mt7996_dma_prefetch(struct mt7996_dev *dev)
{}

static void mt7996_dma_disable(struct mt7996_dev *dev, bool reset)
{}

void mt7996_dma_start(struct mt7996_dev *dev, bool reset, bool wed_reset)
{}

static void mt7996_dma_enable(struct mt7996_dev *dev, bool reset)
{}

#ifdef CONFIG_NET_MEDIATEK_SOC_WED
int mt7996_dma_rro_init(struct mt7996_dev *dev)
{}
#endif /* CONFIG_NET_MEDIATEK_SOC_WED */

int mt7996_dma_init(struct mt7996_dev *dev)
{}

void mt7996_dma_reset(struct mt7996_dev *dev, bool force)
{}

void mt7996_dma_cleanup(struct mt7996_dev *dev)
{}