diff options
Diffstat (limited to 'ANDROID_3.4.5/sound/soc/blackfin/bf5xx-tdm.h')
-rw-r--r-- | ANDROID_3.4.5/sound/soc/blackfin/bf5xx-tdm.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/sound/soc/blackfin/bf5xx-tdm.h b/ANDROID_3.4.5/sound/soc/blackfin/bf5xx-tdm.h new file mode 100644 index 00000000..e986a3ea --- /dev/null +++ b/ANDROID_3.4.5/sound/soc/blackfin/bf5xx-tdm.h @@ -0,0 +1,23 @@ +/* + * sound/soc/blackfin/bf5xx-tdm.h + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _BF5XX_TDM_H +#define _BF5XX_TDM_H + +#define BFIN_TDM_DAI_MAX_SLOTS 8 +struct bf5xx_tdm_port { + u16 tcr1; + u16 rcr1; + u16 tcr2; + u16 rcr2; + unsigned int tx_map[BFIN_TDM_DAI_MAX_SLOTS]; + unsigned int rx_map[BFIN_TDM_DAI_MAX_SLOTS]; + int configured; +}; + +#endif |