diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-17 15:59:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-17 15:59:05 -0800 |
commit | bf931a01a2c024a54204b4b02276af6e8d99a2c0 (patch) | |
tree | bd76e2f25430b1394c4dc54cd674bdc08b1bfaf2 /drivers/spi/spi_s3c24xx_fiq.h | |
parent | 4e46aa083853a84c770e00b03746bdeaf5c5aeff (diff) | |
parent | d53342bf9616ecd7e4a03fece167d0f53b195e87 (diff) | |
download | talos-op-linux-bf931a01a2c024a54204b4b02276af6e8d99a2c0.tar.gz talos-op-linux-bf931a01a2c024a54204b4b02276af6e8d99a2c0.zip |
Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6
* 'next-spi' of git://git.secretlab.ca/git/linux-2.6:
spi: spi_txx9.c: use resource_size()
spi: spi_sh_sci.c: use resource_size()
spi: spi_mpc8xxx.c: use resource_size()
spi: spi_bfin5xx.c: use resource_size()
spi: atmel_spi.c: use resource_size()
spi: Add s3c64xx SPI Controller driver
atmel_spi: fix dma addr calculation for len > BUFFER_SIZE
spi_s3c24xx: add FIQ pseudo-DMA support
spi: controller driver for Designware SPI core
spidev: add proper section markers
spidev: use DECLARE_BITMAP instead of declaring the array
Diffstat (limited to 'drivers/spi/spi_s3c24xx_fiq.h')
-rw-r--r-- | drivers/spi/spi_s3c24xx_fiq.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/spi/spi_s3c24xx_fiq.h b/drivers/spi/spi_s3c24xx_fiq.h new file mode 100644 index 000000000000..a5950bb25b51 --- /dev/null +++ b/drivers/spi/spi_s3c24xx_fiq.h @@ -0,0 +1,26 @@ +/* linux/drivers/spi/spi_s3c24xx_fiq.h + * + * Copyright 2009 Simtec Electronics + * Ben Dooks <ben@simtec.co.uk> + * + * S3C24XX SPI - FIQ pseudo-DMA transfer support + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ + +/* We have R8 through R13 to play with */ + +#ifdef __ASSEMBLY__ +#define __REG_NR(x) r##x +#else +#define __REG_NR(x) (x) +#endif + +#define fiq_rspi __REG_NR(8) +#define fiq_rtmp __REG_NR(9) +#define fiq_rrx __REG_NR(10) +#define fiq_rtx __REG_NR(11) +#define fiq_rcount __REG_NR(12) +#define fiq_rirq __REG_NR(13) |