Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/spi/spi.h>
#include <linux/workqueue.h>
#include <asm/dma.h>
#include <asm/portmux.h>
#include <asm/bfin5xx_spi.h>
#include <asm/cacheflush.h>
Go to the source code of this file.
Data Structures | |
struct | bfin_spi_transfer_ops |
struct | bfin_spi_master_data |
struct | bfin_spi_slave_data |
Macros | |
#define | DRV_NAME "bfin-spi" |
#define | DRV_AUTHOR "Bryan Wu, Luke Yang" |
#define | DRV_DESC "Blackfin on-chip SPI Controller Driver" |
#define | DRV_VERSION "1.0" |
#define | START_STATE ((void *)0) |
#define | RUNNING_STATE ((void *)1) |
#define | DONE_STATE ((void *)2) |
#define | ERROR_STATE ((void *)-1) |
#define | MAX_SPI_SSEL 7 |
#define | bfin_spi_suspend NULL |
#define | bfin_spi_resume NULL |
Functions | |
MODULE_AUTHOR (DRV_AUTHOR) | |
MODULE_DESCRIPTION (DRV_DESC) | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:bfin-spi") | |
subsys_initcall (bfin_spi_init) | |
module_exit (bfin_spi_exit) | |
#define bfin_spi_resume NULL |
Definition at line 1469 of file spi-bfin5xx.c.
#define bfin_spi_suspend NULL |
Definition at line 1468 of file spi-bfin5xx.c.
#define DONE_STATE ((void *)2) |
Definition at line 42 of file spi-bfin5xx.c.
#define DRV_AUTHOR "Bryan Wu, Luke Yang" |
Definition at line 32 of file spi-bfin5xx.c.
#define DRV_DESC "Blackfin on-chip SPI Controller Driver" |
Definition at line 33 of file spi-bfin5xx.c.
#define DRV_NAME "bfin-spi" |
Definition at line 31 of file spi-bfin5xx.c.
#define DRV_VERSION "1.0" |
Definition at line 34 of file spi-bfin5xx.c.
#define ERROR_STATE ((void *)-1) |
Definition at line 43 of file spi-bfin5xx.c.
#define MAX_SPI_SSEL 7 |
Definition at line 969 of file spi-bfin5xx.c.
#define RUNNING_STATE ((void *)1) |
Definition at line 41 of file spi-bfin5xx.c.
#define START_STATE ((void *)0) |
Definition at line 40 of file spi-bfin5xx.c.
MODULE_ALIAS | ( | "platform:bfin-spi" | ) |
MODULE_AUTHOR | ( | DRV_AUTHOR | ) |
MODULE_DESCRIPTION | ( | DRV_DESC | ) |
module_exit | ( | bfin_spi_exit | ) |
MODULE_LICENSE | ( | "GPL" | ) |
subsys_initcall | ( | bfin_spi_init | ) |