• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/spi/
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
13/* We have R8 through R13 to play with */
14
15#ifdef __ASSEMBLY__
16#define __REG_NR(x)     r##x
17#else
18#define __REG_NR(x)     (x)
19#endif
20
21#define fiq_rspi	__REG_NR(8)
22#define fiq_rtmp	__REG_NR(9)
23#define fiq_rrx		__REG_NR(10)
24#define fiq_rtx		__REG_NR(11)
25#define fiq_rcount	__REG_NR(12)
26#define fiq_rirq	__REG_NR(13)
27