spi-s3c24xx-fiq.h 671 B

123456789101112131415161718192021222324252627
  1. /* linux/drivers/spi/spi_s3c24xx_fiq.h
  2. *
  3. * Copyright 2009 Simtec Electronics
  4. * Ben Dooks <ben@simtec.co.uk>
  5. *
  6. * S3C24XX SPI - FIQ pseudo-DMA transfer support
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. /* We have R8 through R13 to play with */
  13. #ifdef __ASSEMBLY__
  14. #define __REG_NR(x) r##x
  15. #else
  16. #define __REG_NR(x) (x)
  17. #endif
  18. #define fiq_rspi __REG_NR(8)
  19. #define fiq_rtmp __REG_NR(9)
  20. #define fiq_rrx __REG_NR(10)
  21. #define fiq_rtx __REG_NR(11)
  22. #define fiq_rcount __REG_NR(12)
  23. #define fiq_rirq __REG_NR(13)