|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/init.h>#include <linux/delay.h>#include <linux/spinlock.h>#include <linux/workqueue.h>#include <linux/platform_device.h>#include <linux/spi/spi.h>#include <linux/spi/spi_bitbang.h>#include <linux/module.h>#include <asm/spi.h>#include <asm/io.h>#include "spi-bitbang-txrx.h"Go to the source code of this file.
Data Structures | |
| struct | sh_sci_spi |
Macros | |
| #define | SCSPTR(sp) (sp->membase + 0x1c) |
| #define | PIN_SCK (1 << 2) |
| #define | PIN_TXD (1 << 0) |
| #define | PIN_RXD PIN_TXD |
| #define | PIN_INIT ((1 << 1) | (1 << 3) | PIN_SCK | PIN_TXD) |
| #define | spidelay(x) ndelay(x) |
Functions | |
| module_platform_driver (sh_sci_spi_drv) | |
| MODULE_DESCRIPTION ("SH SCI SPI Driver") | |
| MODULE_AUTHOR ("Magnus Damm <[email protected]>") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS ("platform:spi_sh_sci") | |
Definition at line 43 of file spi-sh-sci.c.
| #define PIN_RXD PIN_TXD |
Definition at line 42 of file spi-sh-sci.c.
| #define PIN_SCK (1 << 2) |
Definition at line 40 of file spi-sh-sci.c.
| #define PIN_TXD (1 << 0) |
Definition at line 41 of file spi-sh-sci.c.
Definition at line 39 of file spi-sh-sci.c.
Definition at line 80 of file spi-sh-sci.c.
| MODULE_ALIAS | ( | "platform:spi_sh_sci" | ) |
| MODULE_AUTHOR | ( | "Magnus Damm <[email protected]>" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | sh_sci_spi_drv | ) |
1.8.2