|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/init.h>#include <linux/spinlock.h>#include <linux/workqueue.h>#include <linux/interrupt.h>#include <linux/delay.h>#include <linux/errno.h>#include <linux/err.h>#include <linux/clk.h>#include <linux/device.h>#include <linux/platform_device.h>#include <linux/gpio.h>#include <linux/io.h>#include <linux/slab.h>#include <linux/spi/spi.h>#include <linux/spi/spi_bitbang.h>#include <linux/platform_data/spi-nuc900.h>Go to the source code of this file.
Data Structures | |
| struct | nuc900_spi |
Macros | |
| #define | USI_CNT 0x00 |
| #define | USI_DIV 0x04 |
| #define | USI_SSR 0x08 |
| #define | USI_RX0 0x10 |
| #define | USI_TX0 0x10 |
| #define | ENINT (0x01 << 17) |
| #define | ENFLG (0x01 << 16) |
| #define | TXNUM (0x03 << 8) |
| #define | TXNEG (0x01 << 2) |
| #define | RXNEG (0x01 << 1) |
| #define | LSB (0x01 << 10) |
| #define | SELECTLEV (0x01 << 2) |
| #define | SELECTPOL (0x01 << 31) |
| #define | SELECTSLAVE 0x01 |
| #define | GOBUSY 0x01 |
Functions | |
| module_platform_driver (nuc900_spi_driver) | |
| MODULE_AUTHOR ("Wan ZongShun <[email protected]>") | |
| MODULE_DESCRIPTION ("nuc900 spi driver!") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS ("platform:nuc900-spi") | |
| #define ENFLG (0x01 << 16) |
Definition at line 40 of file spi-nuc900.c.
| #define ENINT (0x01 << 17) |
Definition at line 39 of file spi-nuc900.c.
| #define GOBUSY 0x01 |
Definition at line 48 of file spi-nuc900.c.
| #define LSB (0x01 << 10) |
Definition at line 44 of file spi-nuc900.c.
| #define RXNEG (0x01 << 1) |
Definition at line 43 of file spi-nuc900.c.
| #define SELECTLEV (0x01 << 2) |
Definition at line 45 of file spi-nuc900.c.
| #define SELECTPOL (0x01 << 31) |
Definition at line 46 of file spi-nuc900.c.
| #define SELECTSLAVE 0x01 |
Definition at line 47 of file spi-nuc900.c.
| #define TXNEG (0x01 << 2) |
Definition at line 42 of file spi-nuc900.c.
| #define TXNUM (0x03 << 8) |
Definition at line 41 of file spi-nuc900.c.
| #define USI_CNT 0x00 |
Definition at line 32 of file spi-nuc900.c.
| #define USI_DIV 0x04 |
Definition at line 33 of file spi-nuc900.c.
| #define USI_RX0 0x10 |
Definition at line 35 of file spi-nuc900.c.
| #define USI_SSR 0x08 |
Definition at line 34 of file spi-nuc900.c.
| #define USI_TX0 0x10 |
Definition at line 36 of file spi-nuc900.c.
| MODULE_ALIAS | ( | "platform:nuc900-spi" | ) |
| MODULE_AUTHOR | ( | "Wan ZongShun <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "nuc900 spi driver!" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | nuc900_spi_driver | ) |
1.8.2