#define pr_fmt(fmt) …
#include <linux/io.h>
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/jiffies.h>
#include "sxgbe_mtl.h"
#include "sxgbe_reg.h"
static void sxgbe_mtl_init(void __iomem *ioaddr, unsigned int etsalg,
unsigned int raa)
{ … }
static void sxgbe_mtl_dma_dm_rxqueue(void __iomem *ioaddr)
{ … }
static void sxgbe_mtl_set_txfifosize(void __iomem *ioaddr, int queue_num,
int queue_fifo)
{ … }
static void sxgbe_mtl_set_rxfifosize(void __iomem *ioaddr, int queue_num,
int queue_fifo)
{ … }
static void sxgbe_mtl_enable_txqueue(void __iomem *ioaddr, int queue_num)
{ … }
static void sxgbe_mtl_disable_txqueue(void __iomem *ioaddr, int queue_num)
{ … }
static void sxgbe_mtl_fc_active(void __iomem *ioaddr, int queue_num,
int threshold)
{ … }
static void sxgbe_mtl_fc_enable(void __iomem *ioaddr, int queue_num)
{ … }
static void sxgbe_mtl_fc_deactive(void __iomem *ioaddr, int queue_num,
int threshold)
{ … }
static void sxgbe_mtl_fep_enable(void __iomem *ioaddr, int queue_num)
{ … }
static void sxgbe_mtl_fep_disable(void __iomem *ioaddr, int queue_num)
{ … }
static void sxgbe_mtl_fup_enable(void __iomem *ioaddr, int queue_num)
{ … }
static void sxgbe_mtl_fup_disable(void __iomem *ioaddr, int queue_num)
{ … }
static void sxgbe_set_tx_mtl_mode(void __iomem *ioaddr, int queue_num,
int tx_mode)
{ … }
static void sxgbe_set_rx_mtl_mode(void __iomem *ioaddr, int queue_num,
int rx_mode)
{ … }
static const struct sxgbe_mtl_ops mtl_ops = …;
const struct sxgbe_mtl_ops *sxgbe_get_mtl_ops(void)
{ … }