Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
regs-spi.h File Reference

Go to the source code of this file.

Macros

#define SPI_CR0   (PKUNITY_SPI_BASE + 0x0000)
 
#define SPI_CR1   (PKUNITY_SPI_BASE + 0x0004)
 
#define SPI_SSIENR   (PKUNITY_SPI_BASE + 0x0008)
 
#define SPI_SR   (PKUNITY_SPI_BASE + 0x0028)
 
#define SPI_IMR   (PKUNITY_SPI_BASE + 0x002C)
 
#define SPI_ISR   (PKUNITY_SPI_BASE + 0x0030)
 
#define SPI_SSIENR_EN   FIELD(1, 1, 0)
 
#define SPI_SR_BUSY   FIELD(1, 1, 0)
 
#define SPI_SR_TFNF   FIELD(1, 1, 1)
 
#define SPI_SR_TFE   FIELD(1, 1, 2)
 
#define SPI_SR_RFNE   FIELD(1, 1, 3)
 
#define SPI_SR_RFF   FIELD(1, 1, 4)
 
#define SPI_ISR_TXEIS   FIELD(1, 1, 0)
 
#define SPI_ISR_TXOIS   FIELD(1, 1, 1)
 
#define SPI_ISR_RXUIS   FIELD(1, 1, 2)
 
#define SPI_ISR_RXOIS   FIELD(1, 1, 3)
 
#define SPI_ISR_RXFIS   FIELD(1, 1, 4)
 
#define SPI_ISR_MSTIS   FIELD(1, 1, 5)
 
#define SPI_IMR_TXEIM   FIELD(1, 1, 0)
 
#define SPI_IMR_TXOIM   FIELD(1, 1, 1)
 
#define SPI_IMR_RXUIM   FIELD(1, 1, 2)
 
#define SPI_IMR_RXOIM   FIELD(1, 1, 3)
 
#define SPI_IMR_RXFIM   FIELD(1, 1, 4)
 
#define SPI_IMR_MSTIM   FIELD(1, 1, 5)
 

Macro Definition Documentation

#define SPI_CR0   (PKUNITY_SPI_BASE + 0x0000)

Definition at line 7 of file regs-spi.h.

#define SPI_CR1   (PKUNITY_SPI_BASE + 0x0004)

Definition at line 11 of file regs-spi.h.

#define SPI_IMR   (PKUNITY_SPI_BASE + 0x002C)

Definition at line 23 of file regs-spi.h.

#define SPI_IMR_MSTIM   FIELD(1, 1, 5)

Definition at line 97 of file regs-spi.h.

#define SPI_IMR_RXFIM   FIELD(1, 1, 4)

Definition at line 96 of file regs-spi.h.

#define SPI_IMR_RXOIM   FIELD(1, 1, 3)

Definition at line 92 of file regs-spi.h.

#define SPI_IMR_RXUIM   FIELD(1, 1, 2)

Definition at line 88 of file regs-spi.h.

#define SPI_IMR_TXEIM   FIELD(1, 1, 0)

Definition at line 80 of file regs-spi.h.

#define SPI_IMR_TXOIM   FIELD(1, 1, 1)

Definition at line 84 of file regs-spi.h.

#define SPI_ISR   (PKUNITY_SPI_BASE + 0x0030)

Definition at line 27 of file regs-spi.h.

#define SPI_ISR_MSTIS   FIELD(1, 1, 5)

Definition at line 75 of file regs-spi.h.

#define SPI_ISR_RXFIS   FIELD(1, 1, 4)

Definition at line 74 of file regs-spi.h.

#define SPI_ISR_RXOIS   FIELD(1, 1, 3)

Definition at line 70 of file regs-spi.h.

#define SPI_ISR_RXUIS   FIELD(1, 1, 2)

Definition at line 66 of file regs-spi.h.

#define SPI_ISR_TXEIS   FIELD(1, 1, 0)

Definition at line 58 of file regs-spi.h.

#define SPI_ISR_TXOIS   FIELD(1, 1, 1)

Definition at line 62 of file regs-spi.h.

#define SPI_SR   (PKUNITY_SPI_BASE + 0x0028)

Definition at line 19 of file regs-spi.h.

#define SPI_SR_BUSY   FIELD(1, 1, 0)

Definition at line 37 of file regs-spi.h.

#define SPI_SR_RFF   FIELD(1, 1, 4)

Definition at line 53 of file regs-spi.h.

#define SPI_SR_RFNE   FIELD(1, 1, 3)

Definition at line 49 of file regs-spi.h.

#define SPI_SR_TFE   FIELD(1, 1, 2)

Definition at line 45 of file regs-spi.h.

#define SPI_SR_TFNF   FIELD(1, 1, 1)

Definition at line 41 of file regs-spi.h.

#define SPI_SSIENR   (PKUNITY_SPI_BASE + 0x0008)

Definition at line 15 of file regs-spi.h.

#define SPI_SSIENR_EN   FIELD(1, 1, 0)

Definition at line 32 of file regs-spi.h.