Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /* Altera TSE SGDMA and MSGDMA Linux driver
0003  * Copyright (C) 2014 Altera Corporation. All rights reserved
0004  */
0005 
0006 #ifndef __ALTERA_MSGDMA_H__
0007 #define __ALTERA_MSGDMA_H__
0008 
0009 void msgdma_reset(struct altera_tse_private *);
0010 void msgdma_enable_txirq(struct altera_tse_private *);
0011 void msgdma_enable_rxirq(struct altera_tse_private *);
0012 void msgdma_disable_rxirq(struct altera_tse_private *);
0013 void msgdma_disable_txirq(struct altera_tse_private *);
0014 void msgdma_clear_rxirq(struct altera_tse_private *);
0015 void msgdma_clear_txirq(struct altera_tse_private *);
0016 u32 msgdma_tx_completions(struct altera_tse_private *);
0017 void msgdma_add_rx_desc(struct altera_tse_private *, struct tse_buffer *);
0018 int msgdma_tx_buffer(struct altera_tse_private *, struct tse_buffer *);
0019 u32 msgdma_rx_status(struct altera_tse_private *);
0020 int msgdma_initialize(struct altera_tse_private *);
0021 void msgdma_uninitialize(struct altera_tse_private *);
0022 void msgdma_start_rxdma(struct altera_tse_private *);
0023 
0024 #endif /*  __ALTERA_MSGDMA_H__ */