#include <linux/stmmac.h>
#include "common.h"
#include "descs_com.h"
static int enh_desc_get_tx_status(struct stmmac_extra_stats *x,
struct dma_desc *p, void __iomem *ioaddr)
{ … }
static int enh_desc_get_tx_len(struct dma_desc *p)
{ … }
static int enh_desc_coe_rdes0(int ipc_err, int type, int payload_err)
{ … }
static void enh_desc_get_ext_status(struct stmmac_extra_stats *x,
struct dma_extended_desc *p)
{ … }
static int enh_desc_get_rx_status(struct stmmac_extra_stats *x,
struct dma_desc *p)
{ … }
static void enh_desc_init_rx_desc(struct dma_desc *p, int disable_rx_ic,
int mode, int end, int bfsize)
{ … }
static void enh_desc_init_tx_desc(struct dma_desc *p, int mode, int end)
{ … }
static int enh_desc_get_tx_owner(struct dma_desc *p)
{ … }
static void enh_desc_set_tx_owner(struct dma_desc *p)
{ … }
static void enh_desc_set_rx_owner(struct dma_desc *p, int disable_rx_ic)
{ … }
static int enh_desc_get_tx_ls(struct dma_desc *p)
{ … }
static void enh_desc_release_tx_desc(struct dma_desc *p, int mode)
{ … }
static void enh_desc_prepare_tx_desc(struct dma_desc *p, int is_fs, int len,
bool csum_flag, int mode, bool tx_own,
bool ls, unsigned int tot_pkt_len)
{ … }
static void enh_desc_set_tx_ic(struct dma_desc *p)
{ … }
static int enh_desc_get_rx_frame_len(struct dma_desc *p, int rx_coe_type)
{ … }
static void enh_desc_enable_tx_timestamp(struct dma_desc *p)
{ … }
static int enh_desc_get_tx_timestamp_status(struct dma_desc *p)
{ … }
static void enh_desc_get_timestamp(void *desc, u32 ats, u64 *ts)
{ … }
static int enh_desc_get_rx_timestamp_status(void *desc, void *next_desc,
u32 ats)
{ … }
static void enh_desc_display_ring(void *head, unsigned int size, bool rx,
dma_addr_t dma_rx_phy, unsigned int desc_size)
{ … }
static void enh_desc_set_addr(struct dma_desc *p, dma_addr_t addr)
{ … }
static void enh_desc_clear(struct dma_desc *p)
{ … }
const struct stmmac_desc_ops enh_desc_ops = …;