soc.h (af1910a817c5ad52c32dddacc1744cfa1b35889e) | soc.h (75d9ac46b99280f5f381927ae75a9eaf21844d20) |
---|---|
1/* 2 * linux/sound/soc.h -- ALSA SoC Layer 3 * 4 * Author: Liam Girdwood 5 * Created: Aug 11th 2005 6 * Copyright: Wolfson Microelectronics. PLC. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 699 unchanged lines hidden (view full) --- 708 /* config - must be set by machine driver */ 709 const char *name; /* Codec name */ 710 const char *stream_name; /* Stream name */ 711 const char *codec_name; /* for multi-codec */ 712 const char *platform_name; /* for multi-platform */ 713 const char *cpu_dai_name; 714 const char *codec_dai_name; 715 | 1/* 2 * linux/sound/soc.h -- ALSA SoC Layer 3 * 4 * Author: Liam Girdwood 5 * Created: Aug 11th 2005 6 * Copyright: Wolfson Microelectronics. PLC. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 699 unchanged lines hidden (view full) --- 708 /* config - must be set by machine driver */ 709 const char *name; /* Codec name */ 710 const char *stream_name; /* Stream name */ 711 const char *codec_name; /* for multi-codec */ 712 const char *platform_name; /* for multi-platform */ 713 const char *cpu_dai_name; 714 const char *codec_dai_name; 715 |
716 unsigned int dai_fmt; /* format to set on init */ 717 |
|
716 /* Keep DAI active over suspend */ 717 unsigned int ignore_suspend:1; 718 719 /* Symmetry requirements */ 720 unsigned int symmetric_rates:1; 721 722 /* codec/machine specific init - e.g. add machine controls */ 723 int (*init)(struct snd_soc_pcm_runtime *rtd); --- 99 unchanged lines hidden (view full) --- 823 struct list_head dai_dev_list; 824 825 struct list_head widgets; 826 struct list_head paths; 827 struct list_head dapm_list; 828 829 /* Generic DAPM context for the card */ 830 struct snd_soc_dapm_context dapm; | 718 /* Keep DAI active over suspend */ 719 unsigned int ignore_suspend:1; 720 721 /* Symmetry requirements */ 722 unsigned int symmetric_rates:1; 723 724 /* codec/machine specific init - e.g. add machine controls */ 725 int (*init)(struct snd_soc_pcm_runtime *rtd); --- 99 unchanged lines hidden (view full) --- 825 struct list_head dai_dev_list; 826 827 struct list_head widgets; 828 struct list_head paths; 829 struct list_head dapm_list; 830 831 /* Generic DAPM context for the card */ 832 struct snd_soc_dapm_context dapm; |
833 struct snd_soc_dapm_stats dapm_stats; |
|
831 832#ifdef CONFIG_DEBUG_FS 833 struct dentry *debugfs_card_root; 834 struct dentry *debugfs_pop_time; 835#endif 836 u32 pop_time; 837 838 void *drvdata; --- 6 unchanged lines hidden (view full) --- 845 struct snd_soc_dai_link *dai_link; 846 struct mutex pcm_mutex; 847 enum snd_soc_pcm_subclass pcm_subclass; 848 struct snd_pcm_ops ops; 849 850 unsigned int complete:1; 851 unsigned int dev_registered:1; 852 | 834 835#ifdef CONFIG_DEBUG_FS 836 struct dentry *debugfs_card_root; 837 struct dentry *debugfs_pop_time; 838#endif 839 u32 pop_time; 840 841 void *drvdata; --- 6 unchanged lines hidden (view full) --- 848 struct snd_soc_dai_link *dai_link; 849 struct mutex pcm_mutex; 850 enum snd_soc_pcm_subclass pcm_subclass; 851 struct snd_pcm_ops ops; 852 853 unsigned int complete:1; 854 unsigned int dev_registered:1; 855 |
853 /* Symmetry data - only valid if symmetry is being enforced */ 854 unsigned int rate; | |
855 long pmdown_time; 856 857 /* runtime devices */ 858 struct snd_pcm *pcm; 859 struct snd_soc_codec *codec; 860 struct snd_soc_platform *platform; 861 struct snd_soc_dai *codec_dai; 862 struct snd_soc_dai *cpu_dai; --- 98 unchanged lines hidden --- | 856 long pmdown_time; 857 858 /* runtime devices */ 859 struct snd_pcm *pcm; 860 struct snd_soc_codec *codec; 861 struct snd_soc_platform *platform; 862 struct snd_soc_dai *codec_dai; 863 struct snd_soc_dai *cpu_dai; --- 98 unchanged lines hidden --- |