cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

altera_sgdma.h (1079B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/* Altera TSE SGDMA and MSGDMA Linux driver
      3 * Copyright (C) 2014 Altera Corporation. All rights reserved
      4 */
      5
      6#ifndef __ALTERA_SGDMA_H__
      7#define __ALTERA_SGDMA_H__
      8
      9void sgdma_reset(struct altera_tse_private *);
     10void sgdma_enable_txirq(struct altera_tse_private *);
     11void sgdma_enable_rxirq(struct altera_tse_private *);
     12void sgdma_disable_rxirq(struct altera_tse_private *);
     13void sgdma_disable_txirq(struct altera_tse_private *);
     14void sgdma_clear_rxirq(struct altera_tse_private *);
     15void sgdma_clear_txirq(struct altera_tse_private *);
     16int sgdma_tx_buffer(struct altera_tse_private *priv, struct tse_buffer *);
     17u32 sgdma_tx_completions(struct altera_tse_private *);
     18void sgdma_add_rx_desc(struct altera_tse_private *priv, struct tse_buffer *);
     19void sgdma_status(struct altera_tse_private *);
     20u32 sgdma_rx_status(struct altera_tse_private *);
     21int sgdma_initialize(struct altera_tse_private *);
     22void sgdma_uninitialize(struct altera_tse_private *);
     23void sgdma_start_rxdma(struct altera_tse_private *);
     24
     25#endif /*  __ALTERA_SGDMA_H__ */