kirkwood.h (10a558374f3751cf4eb55143008975641dfc2cf4) | kirkwood.h (f98fc0f8154ed17a00a588f1a95f02cb3e33b0d0) |
---|---|
1/* 2 * kirkwood.h 3 * 4 * (c) 2010 Arnaud Patard <apatard@mandriva.com> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2 of the License, or (at your 9 * option) any later version. 10 */ 11 12#ifndef _KIRKWOOD_AUDIO_H 13#define _KIRKWOOD_AUDIO_H 14 | 1/* 2 * kirkwood.h 3 * 4 * (c) 2010 Arnaud Patard <apatard@mandriva.com> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2 of the License, or (at your 9 * option) any later version. 10 */ 11 12#ifndef _KIRKWOOD_AUDIO_H 13#define _KIRKWOOD_AUDIO_H 14 |
15#define DRV_NAME "mvebu-audio" 16 |
|
15#define KIRKWOOD_RECORD_WIN 0 16#define KIRKWOOD_PLAYBACK_WIN 1 17#define KIRKWOOD_MAX_AUDIO_WIN 2 18 19#define KIRKWOOD_AUDIO_WIN_BASE_REG(win) (0xA00 + ((win)<<3)) 20#define KIRKWOOD_AUDIO_WIN_CTRL_REG(win) (0xA04 + ((win)<<3)) 21 22 --- 115 unchanged lines hidden (view full) --- 138 uint32_t ctl_play; 139 uint32_t ctl_rec; 140 struct snd_pcm_substream *substream_play; 141 struct snd_pcm_substream *substream_rec; 142 int irq; 143 int burst; 144}; 145 | 17#define KIRKWOOD_RECORD_WIN 0 18#define KIRKWOOD_PLAYBACK_WIN 1 19#define KIRKWOOD_MAX_AUDIO_WIN 2 20 21#define KIRKWOOD_AUDIO_WIN_BASE_REG(win) (0xA00 + ((win)<<3)) 22#define KIRKWOOD_AUDIO_WIN_CTRL_REG(win) (0xA04 + ((win)<<3)) 23 24 --- 115 unchanged lines hidden (view full) --- 140 uint32_t ctl_play; 141 uint32_t ctl_rec; 142 struct snd_pcm_substream *substream_play; 143 struct snd_pcm_substream *substream_rec; 144 int irq; 145 int burst; 146}; 147 |
146extern const struct snd_soc_platform_driver kirkwood_soc_platform; | 148extern const struct snd_soc_component_driver kirkwood_soc_component; |
147 148#endif | 149 150#endif |