Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/sound/soc/blackfin/bf5xx-tdm.h
10817 views
1
/*
2
* sound/soc/blackfin/bf5xx-tdm.h
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
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
23
#endif
24
25