Linux 5.1.15
[linux/fpc-iii.git] / drivers / spi / spi-s3c24xx-fiq.h
bloba5950bb25b517577d5eda8ccf54507b87fa3c395
1 /* linux/drivers/spi/spi_s3c24xx_fiq.h
3 * Copyright 2009 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * S3C24XX SPI - FIQ pseudo-DMA transfer support
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.
13 /* We have R8 through R13 to play with */
15 #ifdef __ASSEMBLY__
16 #define __REG_NR(x) r##x
17 #else
18 #define __REG_NR(x) (x)
19 #endif
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)