Commit | Line | Data |
---|---|---|
01e2ab20 | 1 | /* |
3a39f832 | 2 | * sound/soc/blackfin/bf5xx-tdm.h |
01e2ab20 BS |
3 | * |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | ||
9 | #ifndef _BF5XX_TDM_H | |
10 | #define _BF5XX_TDM_H | |
11 | ||
08db48f1 BS |
12 | #define BFIN_TDM_DAI_MAX_SLOTS 8 |
13 | struct bf5xx_tdm_port { | |
14 | u16 tcr1; | |
15 | u16 rcr1; | |
16 | u16 tcr2; | |
17 | u16 rcr2; | |
18 | unsigned int tx_map[BFIN_TDM_DAI_MAX_SLOTS]; | |
19 | unsigned int rx_map[BFIN_TDM_DAI_MAX_SLOTS]; | |
20 | int configured; | |
21 | }; | |
22 | ||
01e2ab20 | 23 | #endif |