spi_io.h File Reference
Detailed Description
SPI related definitions.
- Author:
- Andrew Roca Defines structures used by the SPI core but embedded within the PCI master structure.
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/list.h>
#include <linux/ioport.h>
#include <linux/serial.h>
#include <linux/interrupt.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/mtd/mtd.h>
#include <linux/crypto.h>
#include <asm/uaccess.h>
#include "axis_hardware.h"
Include dependency graph for spi_io.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Define Documentation
| #define MAX_AXIS_SPI_DEVICES 4
|
|
| #define SPI_ADDRESS_REGISTER_OFFSET (SPI_DATA_REGISTER_OFFSET+3)
|
|
| #define SPI_CONTROL_REGISTER_1_OFFSET (SPI_DATA_REGISTER_OFFSET+1)
|
|
| #define SPI_CONTROL_REGISTER_2_OFFSET (SPI_DATA_REGISTER_OFFSET+2)
|
|
| #define SPI_DATA_REGISTER_OFFSET 0x60
|
|
| #define SPI_ENABLE_BIT (1<<7)
|
|
| #define SPI_ERROR_CLEAR_BIT (1<<0)
|
|
| #define SPI_INTERRUPT_ENABLE (1<<7)
|
|
| #define SPI_LSB_FIRST (1<<5)
|
|
| #define SPI_MASTER_ACTIVE (1<<3)
|
|
| #define SPI_MASTER_MODE (1<<6)
|
|
| #define SPI_OVERRUN (1<<0)
|
|
| #define SPI_RX_REG_READY (1<<1)
|
|
| #define SPI_TX_REG_EMPTY (1<<2)
|
|
Function Documentation
Here is the call graph for this function:
Variable Documentation
Generated on Fri Jan 28 12:37:32 2005 for Axis Kernel Driver by
1.3.6