soc.h (d191bd8de8c61619563f2b19f1fdcc0944ff1a72) | soc.h (cb470087669a3fab1958fec79dd7db280b33f178) |
---|---|
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 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 */ 12 13#ifndef __LINUX_SND_SOC_H 14#define __LINUX_SND_SOC_H 15 | 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 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 */ 12 13#ifndef __LINUX_SND_SOC_H 14#define __LINUX_SND_SOC_H 15 |
16#include <linux/of.h> |
|
16#include <linux/platform_device.h> 17#include <linux/types.h> 18#include <linux/notifier.h> 19#include <linux/workqueue.h> 20#include <linux/interrupt.h> 21#include <linux/kernel.h> 22#include <linux/regmap.h> 23#include <linux/log2.h> --- 644 unchanged lines hidden (view full) --- 668 int (*write)(struct snd_soc_codec *codec, unsigned int reg, 669 unsigned int value); 670 int (*sync)(struct snd_soc_codec *codec); 671}; 672 673/* component interface */ 674struct snd_soc_component_driver { 675 const char *name; | 17#include <linux/platform_device.h> 18#include <linux/types.h> 19#include <linux/notifier.h> 20#include <linux/workqueue.h> 21#include <linux/interrupt.h> 22#include <linux/kernel.h> 23#include <linux/regmap.h> 24#include <linux/log2.h> --- 644 unchanged lines hidden (view full) --- 669 int (*write)(struct snd_soc_codec *codec, unsigned int reg, 670 unsigned int value); 671 int (*sync)(struct snd_soc_codec *codec); 672}; 673 674/* component interface */ 675struct snd_soc_component_driver { 676 const char *name; |
677 678 /* DT */ 679 int (*of_xlate_dai_name)(struct snd_soc_component *component, 680 struct of_phandle_args *args, 681 const char **dai_name); |
|
676}; 677 678struct snd_soc_component { 679 const char *name; 680 int id; 681 int num_dai; 682 struct device *dev; 683 struct list_head list; --- 517 unchanged lines hidden (view full) --- 1201void snd_soc_util_exit(void); 1202 1203int snd_soc_of_parse_card_name(struct snd_soc_card *card, 1204 const char *propname); 1205int snd_soc_of_parse_audio_routing(struct snd_soc_card *card, 1206 const char *propname); 1207unsigned int snd_soc_of_parse_daifmt(struct device_node *np, 1208 const char *prefix); | 682}; 683 684struct snd_soc_component { 685 const char *name; 686 int id; 687 int num_dai; 688 struct device *dev; 689 struct list_head list; --- 517 unchanged lines hidden (view full) --- 1207void snd_soc_util_exit(void); 1208 1209int snd_soc_of_parse_card_name(struct snd_soc_card *card, 1210 const char *propname); 1211int snd_soc_of_parse_audio_routing(struct snd_soc_card *card, 1212 const char *propname); 1213unsigned int snd_soc_of_parse_daifmt(struct device_node *np, 1214 const char *prefix); |
1215int snd_soc_of_get_dai_name(struct device_node *of_node, 1216 const char **dai_name); |
|
1209 1210#include <sound/soc-dai.h> 1211 1212#ifdef CONFIG_DEBUG_FS 1213extern struct dentry *snd_soc_debugfs_root; 1214#endif 1215 1216extern const struct dev_pm_ops snd_soc_pm_ops; 1217 1218#endif | 1217 1218#include <sound/soc-dai.h> 1219 1220#ifdef CONFIG_DEBUG_FS 1221extern struct dentry *snd_soc_debugfs_root; 1222#endif 1223 1224extern const struct dev_pm_ops snd_soc_pm_ops; 1225 1226#endif |