Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
spi-bfin-sport.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio.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/spi/spi.h>
#include <linux/workqueue.h>
#include <asm/portmux.h>
#include <asm/bfin5xx_spi.h>
#include <asm/blackfin.h>
#include <asm/bfin_sport.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Data Structures

struct  bfin_sport_transfer_ops
 
struct  bfin_sport_spi_master_data
 
struct  bfin_sport_spi_slave_data
 

Macros

#define DRV_NAME   "bfin-sport-spi"
 
#define DRV_DESC   "SPI bus via the Blackfin SPORT"
 
#define bfin_sport_spi_suspend   NULL
 
#define bfin_sport_spi_resume   NULL
 

Enumerations

enum  bfin_sport_spi_state { START_STATE, RUNNING_STATE, DONE_STATE, ERROR_STATE }
 

Functions

 MODULE_AUTHOR ("Cliff Cai")
 
 MODULE_DESCRIPTION (DRV_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:bfin-sport-spi")
 
 module_platform_driver (bfin_sport_spi_driver)
 

Macro Definition Documentation

#define bfin_sport_spi_resume   NULL

Definition at line 929 of file spi-bfin-sport.c.

#define bfin_sport_spi_suspend   NULL

Definition at line 928 of file spi-bfin-sport.c.

#define DRV_DESC   "SPI bus via the Blackfin SPORT"

Definition at line 32 of file spi-bfin-sport.c.

#define DRV_NAME   "bfin-sport-spi"

Definition at line 31 of file spi-bfin-sport.c.

Enumeration Type Documentation

Enumerator:
START_STATE 
RUNNING_STATE 
DONE_STATE 
ERROR_STATE 

Definition at line 39 of file spi-bfin-sport.c.

Function Documentation

MODULE_ALIAS ( "platform:bfin-sport-spi )
MODULE_AUTHOR ( "Cliff Cai"  )
MODULE_DESCRIPTION ( DRV_DESC  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( bfin_sport_spi_driver  )