linux/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* Applied Micro X-Gene SoC Ethernet Driver
 *
 * Copyright (c) 2014, Applied Micro Circuits Corporation
 * Authors: Iyappan Subramanian <[email protected]>
 *	    Keyur Chudgar <[email protected]>
 */

#include "xgene_enet_main.h"
#include "xgene_enet_hw.h"
#include "xgene_enet_sgmac.h"
#include "xgene_enet_xgmac.h"

static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val)
{}

static void xgene_enet_wr_clkrst_csr(struct xgene_enet_pdata *p, u32 offset,
				     u32 val)
{}

static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *p,
				  u32 offset, u32 val)
{}

static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *p,
				   u32 offset, u32 val)
{}

static void xgene_enet_wr_mcx_csr(struct xgene_enet_pdata *pdata,
				  u32 offset, u32 val)
{}

static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset)
{}

static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset)
{}

static u32 xgene_enet_rd_mcx_csr(struct xgene_enet_pdata *p, u32 offset)
{}

static int xgene_enet_ecc_init(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_get_drop_cnt(struct xgene_enet_pdata *pdata,
				     u32 *rx, u32 *tx)
{}

static void xgene_enet_config_ring_if_assoc(struct xgene_enet_pdata *p)
{}

static void xgene_mii_phy_write(struct xgene_enet_pdata *p, u8 phy_id,
				u32 reg, u16 data)
{}

static u32 xgene_mii_phy_read(struct xgene_enet_pdata *p, u8 phy_id, u32 reg)
{}

static void xgene_sgmac_reset(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_set_mac_addr(struct xgene_enet_pdata *p)
{}

static u32 xgene_enet_link_status(struct xgene_enet_pdata *p)
{}

static void xgene_sgmii_configure(struct xgene_enet_pdata *p)
{}

static void xgene_sgmii_tbi_control_reset(struct xgene_enet_pdata *p)
{}

static void xgene_sgmii_reset(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_set_speed(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_set_frame_size(struct xgene_enet_pdata *pdata, int size)
{}

static void xgene_sgmii_enable_autoneg(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_rxtx(struct xgene_enet_pdata *p, u32 bits, bool set)
{}

static void xgene_sgmac_flowctl_tx(struct xgene_enet_pdata *p, bool enable)
{}

static void xgene_sgmac_flowctl_rx(struct xgene_enet_pdata *pdata, bool enable)
{}

static void xgene_sgmac_init(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_rx_enable(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_tx_enable(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_rx_disable(struct xgene_enet_pdata *p)
{}

static void xgene_sgmac_tx_disable(struct xgene_enet_pdata *p)
{}

static int xgene_enet_reset(struct xgene_enet_pdata *p)
{}

static void xgene_enet_cle_bypass(struct xgene_enet_pdata *p,
				  u32 dst_ring_num, u16 bufpool_id,
				  u16 nxtbufpool_id)
{}

static void xgene_enet_clear(struct xgene_enet_pdata *pdata,
			     struct xgene_enet_desc_ring *ring)
{}

static void xgene_enet_shutdown(struct xgene_enet_pdata *p)
{}

static void xgene_enet_link_state(struct work_struct *work)
{}

static void xgene_sgmac_enable_tx_pause(struct xgene_enet_pdata *p, bool enable)
{}

const struct xgene_mac_ops xgene_sgmac_ops =;

const struct xgene_port_ops xgene_sgport_ops =;