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

dma.h (448B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * Copyright (c) 2015 Zhang, Keguang <keguang.zhang@gmail.com>
      4 *
      5 * Loongson 1 NAND platform support.
      6 */
      7
      8#ifndef __ASM_MACH_LOONGSON32_DMA_H
      9#define __ASM_MACH_LOONGSON32_DMA_H
     10
     11#define LS1X_DMA_CHANNEL0	0
     12#define LS1X_DMA_CHANNEL1	1
     13#define LS1X_DMA_CHANNEL2	2
     14
     15struct plat_ls1x_dma {
     16	int nr_channels;
     17};
     18
     19extern struct plat_ls1x_dma ls1b_dma_pdata;
     20
     21#endif /* __ASM_MACH_LOONGSON32_DMA_H */