sa1110dma.h 381 B

12345678910111213141516171819
  1. enum {
  2. Port4MCP = 0x80060008,
  3. Port4SSP = 0x8007006c,
  4. AudioDMA = 0xa,
  5. SSPXmitDMA = 0xe,
  6. SSPRecvDMA = 0xf,
  7. };
  8. void dmainit(void);
  9. int dmaalloc(int, int, int, int, int, ulong, void (*)(void*, ulong), void*);
  10. void dmareset(int, int, int, int, int, int, ulong);
  11. void dmafree(int);
  12. ulong dmastart(int, ulong, int);
  13. void dmawait(int);
  14. void dmastop(int);
  15. int dmaidle(int);