#include <linux/delay.h>
#include <linux/export.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include "sxgbe_common.h"
#include "sxgbe_dma.h"
#include "sxgbe_reg.h"
#include "sxgbe_desc.h"
static int sxgbe_dma_init(void __iomem *ioaddr, int fix_burst, int burst_map)
{ … }
static void sxgbe_dma_channel_init(void __iomem *ioaddr, int cha_num,
int fix_burst, int pbl, dma_addr_t dma_tx,
dma_addr_t dma_rx, int t_rsize, int r_rsize)
{ … }
static void sxgbe_enable_dma_transmission(void __iomem *ioaddr, int cha_num)
{ … }
static void sxgbe_enable_dma_irq(void __iomem *ioaddr, int dma_cnum)
{ … }
static void sxgbe_disable_dma_irq(void __iomem *ioaddr, int dma_cnum)
{ … }
static void sxgbe_dma_start_tx(void __iomem *ioaddr, int tchannels)
{ … }
static void sxgbe_dma_start_tx_queue(void __iomem *ioaddr, int dma_cnum)
{ … }
static void sxgbe_dma_stop_tx_queue(void __iomem *ioaddr, int dma_cnum)
{ … }
static void sxgbe_dma_stop_tx(void __iomem *ioaddr, int tchannels)
{ … }
static void sxgbe_dma_start_rx(void __iomem *ioaddr, int rchannels)
{ … }
static void sxgbe_dma_stop_rx(void __iomem *ioaddr, int rchannels)
{ … }
static int sxgbe_tx_dma_int_status(void __iomem *ioaddr, int channel_no,
struct sxgbe_extra_stats *x)
{ … }
static int sxgbe_rx_dma_int_status(void __iomem *ioaddr, int channel_no,
struct sxgbe_extra_stats *x)
{ … }
static void sxgbe_dma_rx_watchdog(void __iomem *ioaddr, u32 riwt)
{ … }
static void sxgbe_enable_tso(void __iomem *ioaddr, u8 chan_num)
{ … }
static const struct sxgbe_dma_ops sxgbe_dma_ops = …;
const struct sxgbe_dma_ops *sxgbe_get_dma_ops(void)
{ … }