dmabrg.h 536 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * SH7760 DMABRG (USB/Audio) support
  4. */
  5. #ifndef _DMABRG_H_
  6. #define _DMABRG_H_
  7. /* IRQ sources */
  8. #define DMABRGIRQ_USBDMA 0
  9. #define DMABRGIRQ_USBDMAERR 1
  10. #define DMABRGIRQ_A0TXF 2
  11. #define DMABRGIRQ_A0TXH 3
  12. #define DMABRGIRQ_A0RXF 4
  13. #define DMABRGIRQ_A0RXH 5
  14. #define DMABRGIRQ_A1TXF 6
  15. #define DMABRGIRQ_A1TXH 7
  16. #define DMABRGIRQ_A1RXF 8
  17. #define DMABRGIRQ_A1RXH 9
  18. extern int dmabrg_request_irq(unsigned int, void(*)(void *), void *);
  19. extern void dmabrg_free_irq(unsigned int);
  20. #endif