#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/resource.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_bitbang.h>
#include <linux/dma-mapping.h>
#include <linux/completion.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1xxx_psc.h>
#include <asm/mach-au1x00/au1xxx_dbdma.h>
#include <asm/mach-au1x00/au1550_spi.h>
Go to the source code of this file.
#define AU1550_SPI_DBDMA_DESCRIPTORS 1 |
#define AU1550_SPI_DMA_RXTMP_MINSIZE 2048U |
#define AU1550_SPI_RX_WORD |
( |
|
size, |
|
|
|
mask |
|
) |
| |
#define AU1550_SPI_TX_WORD |
( |
|
size, |
|
|
|
mask |
|
) |
| |
Value:
if (
hw->tx_count >=
hw->len) \
hw->regs->psc_spitxrx = fifoword; \
au_sync(); \
}
Definition at line 528 of file spi-au1550.c.
MODULE_ALIAS |
( |
"platform:au1550-spi" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Au1550 PSC SPI Driver" |
| ) |
|
module_exit |
( |
au1550_spi_exit |
| ) |
|
module_init |
( |
au1550_spi_init |
| ) |
|
module_param |
( |
usedma |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |