162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* Altera TSE SGDMA and MSGDMA Linux driver 362306a36Sopenharmony_ci * Copyright (C) 2014 Altera Corporation. All rights reserved 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef __ALTERA_SGDMA_H__ 762306a36Sopenharmony_ci#define __ALTERA_SGDMA_H__ 862306a36Sopenharmony_ci 962306a36Sopenharmony_civoid sgdma_reset(struct altera_tse_private *); 1062306a36Sopenharmony_civoid sgdma_enable_txirq(struct altera_tse_private *); 1162306a36Sopenharmony_civoid sgdma_enable_rxirq(struct altera_tse_private *); 1262306a36Sopenharmony_civoid sgdma_disable_rxirq(struct altera_tse_private *); 1362306a36Sopenharmony_civoid sgdma_disable_txirq(struct altera_tse_private *); 1462306a36Sopenharmony_civoid sgdma_clear_rxirq(struct altera_tse_private *); 1562306a36Sopenharmony_civoid sgdma_clear_txirq(struct altera_tse_private *); 1662306a36Sopenharmony_ciint sgdma_tx_buffer(struct altera_tse_private *priv, struct tse_buffer *); 1762306a36Sopenharmony_ciu32 sgdma_tx_completions(struct altera_tse_private *); 1862306a36Sopenharmony_civoid sgdma_add_rx_desc(struct altera_tse_private *priv, struct tse_buffer *); 1962306a36Sopenharmony_civoid sgdma_status(struct altera_tse_private *); 2062306a36Sopenharmony_ciu32 sgdma_rx_status(struct altera_tse_private *); 2162306a36Sopenharmony_ciint sgdma_initialize(struct altera_tse_private *); 2262306a36Sopenharmony_civoid sgdma_uninitialize(struct altera_tse_private *); 2362306a36Sopenharmony_civoid sgdma_start_rxdma(struct altera_tse_private *); 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci#endif /* __ALTERA_SGDMA_H__ */ 26