Blame view

kernel/linux-rt-4.4.41/include/sound/simple_card.h 852 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  /*
   * ASoC simple sound card support
   *
   * Copyright (C) 2012 Renesas Solutions Corp.
   * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
   *
   * 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 __SIMPLE_CARD_H
  #define __SIMPLE_CARD_H
  
  #include <sound/soc.h>
  
  struct asoc_simple_dai {
  	const char *name;
  	unsigned int sysclk;
  	int sysclk_dir;
  	int sysclk_id;
  	int slots;
  	int slot_width;
  	unsigned int tx_slot_mask;
  	unsigned int rx_slot_mask;
  	struct clk *clk;
  };
  
  struct asoc_simple_card_info {
  	const char *name;
  	const char *card;
  	const char *codec;
  	const char *platform;
  
  	unsigned int daifmt;
  	struct asoc_simple_dai cpu_dai;
  	struct asoc_simple_dai codec_dai;
  };
  
  #endif /* __SIMPLE_CARD_H */