q6dsp-lpass-ports.h 780 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __Q6DSP_AUDIO_PORTS_H__
  3. #define __Q6DSP_AUDIO_PORTS_H__
  4. struct q6dsp_audio_port_dai_driver_config {
  5. int (*probe)(struct snd_soc_dai *dai);
  6. int (*remove)(struct snd_soc_dai *dai);
  7. const struct snd_soc_dai_ops *q6hdmi_ops;
  8. const struct snd_soc_dai_ops *q6slim_ops;
  9. const struct snd_soc_dai_ops *q6i2s_ops;
  10. const struct snd_soc_dai_ops *q6tdm_ops;
  11. const struct snd_soc_dai_ops *q6dma_ops;
  12. };
  13. struct snd_soc_dai_driver *q6dsp_audio_ports_set_config(struct device *dev,
  14. struct q6dsp_audio_port_dai_driver_config *cfg,
  15. int *num_dais);
  16. int q6dsp_audio_ports_of_xlate_dai_name(struct snd_soc_component *component,
  17. const struct of_phandle_args *args,
  18. const char **dai_name);
  19. #endif /* __Q6DSP_AUDIO_PORTS_H__ */