0001
0002
0003
0004
0005
0006 #ifndef __ALTERA_SGDMA_H__
0007 #define __ALTERA_SGDMA_H__
0008
0009 void sgdma_reset(struct altera_tse_private *);
0010 void sgdma_enable_txirq(struct altera_tse_private *);
0011 void sgdma_enable_rxirq(struct altera_tse_private *);
0012 void sgdma_disable_rxirq(struct altera_tse_private *);
0013 void sgdma_disable_txirq(struct altera_tse_private *);
0014 void sgdma_clear_rxirq(struct altera_tse_private *);
0015 void sgdma_clear_txirq(struct altera_tse_private *);
0016 int sgdma_tx_buffer(struct altera_tse_private *priv, struct tse_buffer *);
0017 u32 sgdma_tx_completions(struct altera_tse_private *);
0018 void sgdma_add_rx_desc(struct altera_tse_private *priv, struct tse_buffer *);
0019 void sgdma_status(struct altera_tse_private *);
0020 u32 sgdma_rx_status(struct altera_tse_private *);
0021 int sgdma_initialize(struct altera_tse_private *);
0022 void sgdma_uninitialize(struct altera_tse_private *);
0023 void sgdma_start_rxdma(struct altera_tse_private *);
0024
0025 #endif