dmabrg.h 497 B

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