linux/sound/soc/qcom/qdsp6/q6dsp-lpass-ports.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2
   3#ifndef __Q6DSP_AUDIO_PORTS_H__
   4#define __Q6DSP_AUDIO_PORTS_H__
   5
   6struct q6dsp_audio_port_dai_driver_config {
   7        int (*probe)(struct snd_soc_dai *dai);
   8        int (*remove)(struct snd_soc_dai *dai);
   9        const struct snd_soc_dai_ops *q6hdmi_ops;
  10        const struct snd_soc_dai_ops *q6slim_ops;
  11        const struct snd_soc_dai_ops *q6i2s_ops;
  12        const struct snd_soc_dai_ops *q6tdm_ops;
  13        const struct snd_soc_dai_ops *q6dma_ops;
  14};
  15
  16struct snd_soc_dai_driver *q6dsp_audio_ports_set_config(struct device *dev,
  17                                        struct q6dsp_audio_port_dai_driver_config *cfg,
  18                                        int *num_dais);
  19int q6dsp_audio_ports_of_xlate_dai_name(struct snd_soc_component *component,
  20                                        const struct of_phandle_args *args,
  21                                        const char **dai_name);
  22#endif /* __Q6DSP_AUDIO_PORTS_H__ */
  23