linux/drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c

/* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver
 *
 * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com)
 *
 * This program is dual-licensed; you may select either version 2 of
 * the GNU General Public License ("GPL") or BSD license ("BSD").
 *
 * This Synopsys DWC XLGMAC software driver and associated documentation
 * (hereinafter the "Software") is an unsupported proprietary work of
 * Synopsys, Inc. unless otherwise expressly agreed to in writing between
 * Synopsys and you. The Software IS NOT an item of Licensed Software or a
 * Licensed Product under any End User Software License Agreement or
 * Agreement for Licensed Products with Synopsys or any supplement thereto.
 * Synopsys is a registered trademark of Synopsys, Inc. Other names included
 * in the SOFTWARE may be the trademarks of their respective owners.
 */

#include "dwc-xlgmac.h"
#include "dwc-xlgmac-reg.h"

static void xlgmac_unmap_desc_data(struct xlgmac_pdata *pdata,
				   struct xlgmac_desc_data *desc_data)
{}

static void xlgmac_free_ring(struct xlgmac_pdata *pdata,
			     struct xlgmac_ring *ring)
{}

static int xlgmac_init_ring(struct xlgmac_pdata *pdata,
			    struct xlgmac_ring *ring,
			    unsigned int dma_desc_count)
{}

static void xlgmac_free_rings(struct xlgmac_pdata *pdata)
{}

static int xlgmac_alloc_rings(struct xlgmac_pdata *pdata)
{}

static void xlgmac_free_channels(struct xlgmac_pdata *pdata)
{}

static int xlgmac_alloc_channels(struct xlgmac_pdata *pdata)
{}

static void xlgmac_free_channels_and_rings(struct xlgmac_pdata *pdata)
{}

static int xlgmac_alloc_channels_and_rings(struct xlgmac_pdata *pdata)
{}

static int xlgmac_alloc_pages(struct xlgmac_pdata *pdata,
			      struct xlgmac_page_alloc *pa,
			      gfp_t gfp, int order)
{}

static void xlgmac_set_buffer_data(struct xlgmac_buffer_data *bd,
				   struct xlgmac_page_alloc *pa,
				   unsigned int len)
{}

static int xlgmac_map_rx_buffer(struct xlgmac_pdata *pdata,
				struct xlgmac_ring *ring,
				struct xlgmac_desc_data *desc_data)
{}

static void xlgmac_tx_desc_init(struct xlgmac_pdata *pdata)
{}

static void xlgmac_rx_desc_init(struct xlgmac_pdata *pdata)
{}

static int xlgmac_map_tx_skb(struct xlgmac_channel *channel,
			     struct sk_buff *skb)
{}

void xlgmac_init_desc_ops(struct xlgmac_desc_ops *desc_ops)
{}