blob: 7d1ead77ef2121751269bb74ca80681033f5d00c [file] [log] [blame]
Ben Dooksc0f41bb2007-02-14 13:20:03 +01001/*
Jassi Brar4b640cf2010-11-22 15:35:57 +09002 * dma.h --
Ben Dooksc0f41bb2007-02-14 13:20:03 +01003 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
Boojin Kim344b4c42011-09-02 09:44:43 +09009 * ALSA PCM interface for the Samsung SoC
Ben Dooksc0f41bb2007-02-14 13:20:03 +010010 */
11
Jassi Brarfaa31772009-11-17 16:53:23 +090012#ifndef _S3C_AUDIO_H
13#define _S3C_AUDIO_H
Ben Dooksc0f41bb2007-02-14 13:20:03 +010014
Jassi Brarfaa31772009-11-17 16:53:23 +090015struct s3c_dma_params {
Graeme Gregory7f1bc262007-04-17 12:35:18 +020016 struct s3c2410_dma_client *client; /* stream identifier */
17 int channel; /* Channel ID */
Ben Dooksc0f41bb2007-02-14 13:20:03 +010018 dma_addr_t dma_addr;
Graeme Gregory7f1bc262007-04-17 12:35:18 +020019 int dma_size; /* Size of the DMA transfer */
Boojin Kim344b4c42011-09-02 09:44:43 +090020 unsigned ch;
21 struct samsung_dma_ops *ops;
Ben Dooksc0f41bb2007-02-14 13:20:03 +010022};
23
Ben Dooksc0f41bb2007-02-14 13:20:03 +010024#endif