Linux Kernel
3.7.1
|
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/spi/spi.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/of.h>
#include <asm/octeon/octeon.h>
#include <asm/octeon/cvmx-mpi-defs.h>
Go to the source code of this file.
Data Structures | |
struct | octeon_spi |
struct | octeon_spi_setup |
Macros | |
#define | OCTEON_SPI_CFG 0 |
#define | OCTEON_SPI_STS 0x08 |
#define | OCTEON_SPI_TX 0x10 |
#define | OCTEON_SPI_DAT0 0x80 |
#define | OCTEON_SPI_MAX_BYTES 9 |
#define | OCTEON_SPI_MAX_CLOCK_HZ 16000000 |
Functions | |
MODULE_DEVICE_TABLE (of, octeon_spi_match) | |
module_platform_driver (octeon_spi_driver) | |
MODULE_DESCRIPTION ("Cavium, Inc. OCTEON SPI bus driver") | |
MODULE_AUTHOR ("David Daney") | |
MODULE_LICENSE ("GPL") | |
#define OCTEON_SPI_CFG 0 |
Definition at line 21 of file spi-octeon.c.
#define OCTEON_SPI_DAT0 0x80 |
Definition at line 24 of file spi-octeon.c.
#define OCTEON_SPI_MAX_BYTES 9 |
Definition at line 26 of file spi-octeon.c.
#define OCTEON_SPI_MAX_CLOCK_HZ 16000000 |
Definition at line 28 of file spi-octeon.c.
#define OCTEON_SPI_STS 0x08 |
Definition at line 22 of file spi-octeon.c.
#define OCTEON_SPI_TX 0x10 |
Definition at line 23 of file spi-octeon.c.
MODULE_AUTHOR | ( | "David Daney" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
octeon_spi_match | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | octeon_spi_driver | ) |