Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
sound
simple_card.h
Go to the documentation of this file.
1
/*
2
* ASoC simple sound card support
3
*
4
* Copyright (C) 2012 Renesas Solutions Corp.
5
* Kuninori Morimoto <
[email protected]
>
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License version 2 as
9
* published by the Free Software Foundation.
10
*/
11
12
#ifndef __SIMPLE_CARD_H
13
#define __SIMPLE_CARD_H
14
15
#include <
sound/soc.h
>
16
17
struct
asoc_simple_dai_init_info
{
18
unsigned
int
fmt
;
19
unsigned
int
cpu_daifmt
;
20
unsigned
int
codec_daifmt
;
21
unsigned
int
sysclk
;
22
};
23
24
struct
asoc_simple_card_info
{
25
const
char
*
name
;
26
const
char
*
card
;
27
const
char
*
cpu_dai
;
28
const
char
*
codec
;
29
const
char
*
platform
;
30
const
char
*
codec_dai
;
31
struct
asoc_simple_dai_init_info
*
init
;
/* for snd_link.init */
32
33
/* used in simple-card.c */
34
struct
snd_soc_dai_link
snd_link
;
35
struct
snd_soc_card
snd_card
;
36
};
37
38
#endif
/* __SIMPLE_CARD_H */
Generated on Thu Jan 10 2013 14:53:36 for Linux Kernel by
1.8.2