Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/list.h>
#include <linux/workqueue.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/spi/spi.h>
Go to the source code of this file.
Data Structures | |
struct | spi_sh_data |
Macros | |
#define | SPI_SH_TBR 0x00 |
#define | SPI_SH_RBR 0x00 |
#define | SPI_SH_CR1 0x08 |
#define | SPI_SH_CR2 0x10 |
#define | SPI_SH_CR3 0x18 |
#define | SPI_SH_CR4 0x20 |
#define | SPI_SH_CR5 0x28 |
#define | SPI_SH_TBE 0x80 |
#define | SPI_SH_TBF 0x40 |
#define | SPI_SH_RBE 0x20 |
#define | SPI_SH_RBF 0x10 |
#define | SPI_SH_PFONRD 0x08 |
#define | SPI_SH_SSDB 0x04 |
#define | SPI_SH_SSD 0x02 |
#define | SPI_SH_SSA 0x01 |
#define | SPI_SH_RSTF 0x80 |
#define | SPI_SH_LOOPBK 0x40 |
#define | SPI_SH_CPOL 0x20 |
#define | SPI_SH_CPHA 0x10 |
#define | SPI_SH_L1M0 0x08 |
#define | SPI_SH_MAX_BYTE 0xFF |
#define | SPI_SH_TBEI 0x80 |
#define | SPI_SH_TBFI 0x40 |
#define | SPI_SH_RBEI 0x20 |
#define | SPI_SH_RBFI 0x10 |
#define | SPI_SH_WPABRT 0x04 |
#define | SPI_SH_SSS 0x01 |
#define | SPI_SH_P1L0 0x80 |
#define | SPI_SH_PP1L0 0x40 |
#define | SPI_SH_MUXI 0x20 |
#define | SPI_SH_MUXIRQ 0x10 |
#define | SPI_SH_FIFO_SIZE 32 |
#define | SPI_SH_SEND_TIMEOUT (3 * HZ) |
#define | SPI_SH_RECEIVE_TIMEOUT (HZ >> 3) |
Functions | |
module_platform_driver (spi_sh_driver) | |
MODULE_DESCRIPTION ("SH SPI bus driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Yoshihiro Shimoda") | |
MODULE_ALIAS ("platform:sh_spi") | |
MODULE_ALIAS | ( | "platform:sh_spi" | ) |
MODULE_AUTHOR | ( | "Yoshihiro Shimoda" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | spi_sh_driver | ) |