Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
spi-dw-mid.c File Reference
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include <linux/types.h>
#include "spi-dw.h"

Go to the source code of this file.

Macros

#define MRST_SPI_CLK_BASE   100000000 /* 100m */
 
#define MRST_CLK_SPI0_REG   0xff11d86c
 
#define CLK_SPI_BDIV_OFFSET   0
 
#define CLK_SPI_BDIV_MASK   0x00000007
 
#define CLK_SPI_CDIV_OFFSET   9
 
#define CLK_SPI_CDIV_MASK   0x00000e00
 
#define CLK_SPI_DISABLE_OFFSET   8
 

Functions

int dw_spi_mid_init (struct dw_spi *dws)
 

Macro Definition Documentation

#define CLK_SPI_BDIV_MASK   0x00000007

Definition at line 199 of file spi-dw-mid.c.

#define CLK_SPI_BDIV_OFFSET   0

Definition at line 198 of file spi-dw-mid.c.

#define CLK_SPI_CDIV_MASK   0x00000e00

Definition at line 201 of file spi-dw-mid.c.

#define CLK_SPI_CDIV_OFFSET   9

Definition at line 200 of file spi-dw-mid.c.

#define CLK_SPI_DISABLE_OFFSET   8

Definition at line 202 of file spi-dw-mid.c.

#define MRST_CLK_SPI0_REG   0xff11d86c

Definition at line 197 of file spi-dw-mid.c.

#define MRST_SPI_CLK_BASE   100000000 /* 100m */

Definition at line 196 of file spi-dw-mid.c.

Function Documentation

int dw_spi_mid_init ( struct dw_spi dws)

Definition at line 204 of file spi-dw-mid.c.