Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spi-sh-hspi.c File Reference
#include <linux/clk.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/io.h>
#include <linux/spi/spi.h>
#include <linux/spi/sh_hspi.h>

Go to the source code of this file.

Data Structures

struct  hspi_priv
 

Macros

#define SPCR   0x00
 
#define SPSR   0x04
 
#define SPSCR   0x08
 
#define SPTBR   0x0C
 
#define SPRBR   0x10
 
#define SPCR2   0x14
 
#define RXFL   (1 << 2)
 
#define hspi2info(h)   (h->dev->platform_data)
 

Functions

 module_platform_driver (hspi_driver)
 
 MODULE_DESCRIPTION ("SuperH HSPI bus driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Kuninori Morimoto <[email protected]>")
 
 MODULE_ALIAS ("platform:sh_spi")
 

Macro Definition Documentation

#define hspi2info (   h)    (h->dev->platform_data)

Definition at line 49 of file spi-sh-hspi.c.

#define RXFL   (1 << 2)

Definition at line 47 of file spi-sh-hspi.c.

#define SPCR   0x00

Definition at line 39 of file spi-sh-hspi.c.

#define SPCR2   0x14

Definition at line 44 of file spi-sh-hspi.c.

#define SPRBR   0x10

Definition at line 43 of file spi-sh-hspi.c.

#define SPSCR   0x08

Definition at line 41 of file spi-sh-hspi.c.

#define SPSR   0x04

Definition at line 40 of file spi-sh-hspi.c.

#define SPTBR   0x0C

Definition at line 42 of file spi-sh-hspi.c.

Function Documentation

MODULE_ALIAS ( "platform:sh_spi"  )
MODULE_AUTHOR ( "Kuninori Morimoto <[email protected]>"  )
MODULE_DESCRIPTION ( "SuperH HSPI bus driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( hspi_driver  )