linux/drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c

// SPDX-License-Identifier: GPL-2.0-only
/* 10G controller driver for Samsung SoCs
 *
 * Copyright (C) 2013 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 *
 * Author: Siva Reddy Kallam <[email protected]>
 */

#define pr_fmt(fmt)

#include <linux/export.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/phy.h>

#include "sxgbe_common.h"
#include "sxgbe_reg.h"

/* MAC core initialization */
static void sxgbe_core_init(void __iomem *ioaddr)
{}

/* Dump MAC registers */
static void sxgbe_core_dump_regs(void __iomem *ioaddr)
{}

static int sxgbe_get_lpi_status(void __iomem *ioaddr, const u32 irq_status)
{}

/* Handle extra events on specific interrupts hw dependent */
static int sxgbe_core_host_irq_status(void __iomem *ioaddr,
				      struct sxgbe_extra_stats *x)
{}

/* Set power management mode (e.g. magic frame) */
static void sxgbe_core_pmt(void __iomem *ioaddr, unsigned long mode)
{}

/* Set/Get Unicast MAC addresses */
static void sxgbe_core_set_umac_addr(void __iomem *ioaddr,
				     const unsigned char *addr,
				     unsigned int reg_n)
{}

static void sxgbe_core_get_umac_addr(void __iomem *ioaddr, unsigned char *addr,
				     unsigned int reg_n)
{}

static void sxgbe_enable_tx(void __iomem *ioaddr, bool enable)
{}

static void sxgbe_enable_rx(void __iomem *ioaddr, bool enable)
{}

static int sxgbe_get_controller_version(void __iomem *ioaddr)
{}

/* If supported then get the optional core features */
static unsigned int sxgbe_get_hw_feature(void __iomem *ioaddr,
					 unsigned char feature_index)
{}

static void sxgbe_core_set_speed(void __iomem *ioaddr, unsigned char speed)
{}

static void sxgbe_core_enable_rxqueue(void __iomem *ioaddr, int queue_num)
{}

static void sxgbe_core_disable_rxqueue(void __iomem *ioaddr, int queue_num)
{}

static void  sxgbe_set_eee_mode(void __iomem *ioaddr)
{}

static void  sxgbe_reset_eee_mode(void __iomem *ioaddr)
{}

static void  sxgbe_set_eee_pls(void __iomem *ioaddr, const int link)
{}

static void  sxgbe_set_eee_timer(void __iomem *ioaddr,
				 const int ls, const int tw)
{}

static void sxgbe_enable_rx_csum(void __iomem *ioaddr)
{}

static void sxgbe_disable_rx_csum(void __iomem *ioaddr)
{}

static const struct sxgbe_core_ops core_ops =;

const struct sxgbe_core_ops *sxgbe_get_core_ops(void)
{}