0001
0002
0003 #ifndef __Q6DSP_AUDIO_PORTS_H__
0004 #define __Q6DSP_AUDIO_PORTS_H__
0005
0006 struct q6dsp_audio_port_dai_driver_config {
0007 int (*probe)(struct snd_soc_dai *dai);
0008 int (*remove)(struct snd_soc_dai *dai);
0009 const struct snd_soc_dai_ops *q6hdmi_ops;
0010 const struct snd_soc_dai_ops *q6slim_ops;
0011 const struct snd_soc_dai_ops *q6i2s_ops;
0012 const struct snd_soc_dai_ops *q6tdm_ops;
0013 const struct snd_soc_dai_ops *q6dma_ops;
0014 };
0015
0016 struct snd_soc_dai_driver *q6dsp_audio_ports_set_config(struct device *dev,
0017 struct q6dsp_audio_port_dai_driver_config *cfg,
0018 int *num_dais);
0019 int q6dsp_audio_ports_of_xlate_dai_name(struct snd_soc_component *component,
0020 const struct of_phandle_args *args,
0021 const char **dai_name);
0022 #endif