|
Linux Kernel
3.7.1
|
#include <linux/bitmap.h>#include <linux/clk.h>#include <linux/completion.h>#include <linux/delay.h>#include <linux/err.h>#include <linux/gpio.h>#include <linux/init.h>#include <linux/interrupt.h>#include <linux/io.h>#include <linux/kernel.h>#include <linux/module.h>#include <linux/platform_device.h>#include <linux/pm_runtime.h>#include <linux/spi/sh_msiof.h>#include <linux/spi/spi.h>#include <linux/spi/spi_bitbang.h>#include <asm/unaligned.h>Go to the source code of this file.
Data Structures | |
| struct | sh_msiof_spi_priv |
Macros | |
| #define | TMDR1 0x00 |
| #define | TMDR2 0x04 |
| #define | TMDR3 0x08 |
| #define | RMDR1 0x10 |
| #define | RMDR2 0x14 |
| #define | RMDR3 0x18 |
| #define | TSCR 0x20 |
| #define | RSCR 0x22 |
| #define | CTR 0x28 |
| #define | FCTR 0x30 |
| #define | STR 0x40 |
| #define | IER 0x44 |
| #define | TDR1 0x48 |
| #define | TDR2 0x4c |
| #define | TFDR 0x50 |
| #define | RDR1 0x58 |
| #define | RDR2 0x5c |
| #define | RFDR 0x60 |
| #define | CTR_TSCKE (1 << 15) |
| #define | CTR_TFSE (1 << 14) |
| #define | CTR_TXE (1 << 9) |
| #define | CTR_RXE (1 << 8) |
| #define | STR_TEOF (1 << 23) |
| #define | STR_REOF (1 << 7) |
Functions | |
| module_platform_driver (sh_msiof_spi_drv) | |
| MODULE_DESCRIPTION ("SuperH MSIOF SPI Master Interface Driver") | |
| MODULE_AUTHOR ("Magnus Damm") | |
| MODULE_LICENSE ("GPL v2") | |
| MODULE_ALIAS ("platform:spi_sh_msiof") | |
| #define CTR 0x28 |
Definition at line 52 of file spi-sh-msiof.c.
| #define CTR_RXE (1 << 8) |
Definition at line 66 of file spi-sh-msiof.c.
| #define CTR_TFSE (1 << 14) |
Definition at line 64 of file spi-sh-msiof.c.
| #define CTR_TSCKE (1 << 15) |
Definition at line 63 of file spi-sh-msiof.c.
| #define CTR_TXE (1 << 9) |
Definition at line 65 of file spi-sh-msiof.c.
| #define FCTR 0x30 |
Definition at line 53 of file spi-sh-msiof.c.
| #define IER 0x44 |
Definition at line 55 of file spi-sh-msiof.c.
| #define RDR1 0x58 |
Definition at line 59 of file spi-sh-msiof.c.
| #define RDR2 0x5c |
Definition at line 60 of file spi-sh-msiof.c.
| #define RFDR 0x60 |
Definition at line 61 of file spi-sh-msiof.c.
| #define RMDR1 0x10 |
Definition at line 47 of file spi-sh-msiof.c.
| #define RMDR2 0x14 |
Definition at line 48 of file spi-sh-msiof.c.
| #define RMDR3 0x18 |
Definition at line 49 of file spi-sh-msiof.c.
| #define RSCR 0x22 |
Definition at line 51 of file spi-sh-msiof.c.
| #define STR 0x40 |
Definition at line 54 of file spi-sh-msiof.c.
| #define STR_REOF (1 << 7) |
Definition at line 69 of file spi-sh-msiof.c.
| #define STR_TEOF (1 << 23) |
Definition at line 68 of file spi-sh-msiof.c.
| #define TDR1 0x48 |
Definition at line 56 of file spi-sh-msiof.c.
| #define TDR2 0x4c |
Definition at line 57 of file spi-sh-msiof.c.
| #define TFDR 0x50 |
Definition at line 58 of file spi-sh-msiof.c.
| #define TMDR1 0x00 |
Definition at line 44 of file spi-sh-msiof.c.
| #define TMDR2 0x04 |
Definition at line 45 of file spi-sh-msiof.c.
| #define TMDR3 0x08 |
Definition at line 46 of file spi-sh-msiof.c.
| #define TSCR 0x20 |
Definition at line 50 of file spi-sh-msiof.c.
| MODULE_ALIAS | ( | "platform:spi_sh_msiof" | ) |
| MODULE_AUTHOR | ( | "Magnus Damm" | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
| module_platform_driver | ( | sh_msiof_spi_drv | ) |
| unsigned short div |
Definition at line 130 of file spi-sh-msiof.c.
| unsigned short scr |
Definition at line 131 of file spi-sh-msiof.c.
1.8.2