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

idma.h (444B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (c) 2011 Samsung Electronics Co., Ltd
      4 *		http://www.samsung.com
      5 */
      6
      7#ifndef __SND_SOC_SAMSUNG_IDMA_H_
      8#define __SND_SOC_SAMSUNG_IDMA_H_
      9
     10extern void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr);
     11
     12/* dma_state */
     13#define LPAM_DMA_STOP	0
     14#define LPAM_DMA_START	1
     15
     16#define MAX_IDMA_PERIOD (128 * 1024)
     17#define MAX_IDMA_BUFFER (160 * 1024)
     18
     19#endif /* __SND_SOC_SAMSUNG_IDMA_H_ */