linux/drivers/net/ethernet/stmicro/stmmac/chain_mode.c

// SPDX-License-Identifier: GPL-2.0-only
/*******************************************************************************
  Specialised functions for managing Chained mode

  Copyright(C) 2011  STMicroelectronics Ltd

  It defines all the functions used to handle the normal/enhanced
  descriptors in case of the DMA is configured to work in chained or
  in ring mode.


  Author: Giuseppe Cavallaro <[email protected]>
*******************************************************************************/

#include "stmmac.h"

static int jumbo_frm(struct stmmac_tx_queue *tx_q, struct sk_buff *skb,
		     int csum)
{}

static unsigned int is_jumbo_frm(int len, int enh_desc)
{}

static void init_dma_chain(void *des, dma_addr_t phy_addr,
				  unsigned int size, unsigned int extend_desc)
{}

static void refill_desc3(struct stmmac_rx_queue *rx_q, struct dma_desc *p)
{}

static void clean_desc3(struct stmmac_tx_queue *tx_q, struct dma_desc *p)
{}

const struct stmmac_mode_ops chain_mode_ops =;