summaryrefslogtreecommitdiff
path: root/sound/soc/amd/vangogh/acp5x.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/amd/vangogh/acp5x.h')
-rw-r--r--sound/soc/amd/vangogh/acp5x.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/amd/vangogh/acp5x.h b/sound/soc/amd/vangogh/acp5x.h
index e450fb32d680..a0d898e47bb8 100644
--- a/sound/soc/amd/vangogh/acp5x.h
+++ b/sound/soc/amd/vangogh/acp5x.h
@@ -32,9 +32,18 @@
#define I2S_MODE 0
#define ACP5x_I2S_MODE 1
#define ACP5x_RES 4
+#define I2S_RX_THRESHOLD 27
+#define I2S_TX_THRESHOLD 28
+#define HS_TX_THRESHOLD 24
+#define HS_RX_THRESHOLD 23
struct i2s_dev_data {
+ unsigned int i2s_irq;
void __iomem *acp5x_base;
+ struct snd_pcm_substream *play_stream;
+ struct snd_pcm_substream *capture_stream;
+ struct snd_pcm_substream *i2ssp_play_stream;
+ struct snd_pcm_substream *i2ssp_capture_stream;
};
/* common header file uses exact offset rather than relative