dma-rcar-audmapp.h 826 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * This is for Renesas R-Car Audio-DMAC-peri-peri.
  3. *
  4. * Copyright (C) 2014 Renesas Electronics Corporation
  5. * Copyright (C) 2014 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  6. *
  7. * This file is based on the include/linux/sh_dma.h
  8. *
  9. * Header for the new SH dmaengine driver
  10. *
  11. * Copyright (C) 2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
  12. *
  13. * This program is free software; you can redistribute it and/or modify
  14. * it under the terms of the GNU General Public License version 2 as
  15. * published by the Free Software Foundation.
  16. */
  17. #ifndef SH_AUDMAPP_H
  18. #define SH_AUDMAPP_H
  19. #include <linux/dmaengine.h>
  20. struct audmapp_slave_config {
  21. int slave_id;
  22. dma_addr_t src;
  23. dma_addr_t dst;
  24. u32 chcr;
  25. };
  26. struct audmapp_pdata {
  27. struct audmapp_slave_config *slave;
  28. int slave_num;
  29. };
  30. #endif /* SH_AUDMAPP_H */