diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-08-12 20:26:38 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-08-12 20:26:38 +0400 |
commit | c012cdc858db36ff2314469930bfcfb00eef6f29 (patch) | |
tree | 6038ccd1dec55f82642f6036a75af57cb6b2a921 /sound/soc/samsung/idma.h | |
parent | 15439bde3af7ff88459ea2b5520b77312e958df2 (diff) | |
parent | f6b864a9071e21186476910613ec9913b56067a2 (diff) | |
download | linux-c012cdc858db36ff2314469930bfcfb00eef6f29.tar.xz |
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/samsung/idma.h')
-rw-r--r-- | sound/soc/samsung/idma.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sound/soc/samsung/idma.h b/sound/soc/samsung/idma.h new file mode 100644 index 000000000000..48273216166e --- /dev/null +++ b/sound/soc/samsung/idma.h @@ -0,0 +1,26 @@ +/* + * sound/soc/samsung/idma.h + * + * Copyright (c) 2011 Samsung Electronics Co., Ltd + * http://www.samsung.com + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + */ + +#ifndef __SND_SOC_SAMSUNG_IDMA_H_ +#define __SND_SOC_SAMSUNG_IDMA_H_ + +extern void idma_reg_addr_init(void *regs, dma_addr_t addr); + +/* dma_state */ +#define LPAM_DMA_STOP 0 +#define LPAM_DMA_START 1 + +#define MAX_IDMA_PERIOD (128 * 1024) +#define MAX_IDMA_BUFFER (160 * 1024) + +#endif /* __SND_SOC_SAMSUNG_IDMA_H_ */ |