rcar_snd.h 667 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Renesas R-Car SRU/SCU/SSIU/SSI support
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef RCAR_SND_H
  12. #define RCAR_SND_H
  13. #include <linux/sh_clk.h>
  14. #define RSND_BASE_MAX 0
  15. struct rsnd_dai_platform_info {
  16. int ssi_id_playback;
  17. int ssi_id_capture;
  18. };
  19. struct rcar_snd_info {
  20. u32 flags;
  21. struct rsnd_dai_platform_info *dai_info;
  22. int dai_info_nr;
  23. int (*start)(int id);
  24. int (*stop)(int id);
  25. };
  26. #endif