]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - sound/soc/blackfin/bf5xx-tdm.h
ASoC: use set_channel_map api to reorder channels for AD1938 and AD1836
[mirror_ubuntu-artful-kernel.git] / sound / soc / blackfin / bf5xx-tdm.h
CommitLineData
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
13struct 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
BS
23extern struct snd_soc_dai bf5xx_tdm_dai;
24
25#endif