Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
spi.h File Reference
#include "cmd.h"
#include "acx.h"
#include "reg.h"

Go to the source code of this file.

Macros

#define WSPI_CMD_READ   0x40000000
 
#define WSPI_CMD_WRITE   0x00000000
 
#define WSPI_CMD_FIXED   0x20000000
 
#define WSPI_CMD_BYTE_LENGTH   0x1FFE0000
 
#define WSPI_CMD_BYTE_LENGTH_OFFSET   17
 
#define WSPI_CMD_BYTE_ADDR   0x0001FFFF
 
#define WSPI_INIT_CMD_CRC_LEN   5
 
#define WSPI_INIT_CMD_START   0x00
 
#define WSPI_INIT_CMD_TX   0x40
 
#define WSPI_INIT_CMD_BYPASS_BIT   0x80
 
#define WSPI_INIT_CMD_FIXEDBUSY_LEN   0x07
 
#define WSPI_INIT_CMD_EN_FIXEDBUSY   0x80
 
#define WSPI_INIT_CMD_DIS_FIXEDBUSY   0x00
 
#define WSPI_INIT_CMD_IOD   0x40
 
#define WSPI_INIT_CMD_IP   0x20
 
#define WSPI_INIT_CMD_CS   0x10
 
#define WSPI_INIT_CMD_WS   0x08
 
#define WSPI_INIT_CMD_WSPI   0x01
 
#define WSPI_INIT_CMD_END   0x01
 
#define WSPI_INIT_CMD_LEN   8
 
#define HW_ACCESS_WSPI_FIXED_BUSY_LEN   ((WL1251_BUSY_WORD_LEN - 4) / sizeof(u32))
 
#define HW_ACCESS_WSPI_INIT_CMD_MASK   0
 

Macro Definition Documentation

#define HW_ACCESS_WSPI_FIXED_BUSY_LEN   ((WL1251_BUSY_WORD_LEN - 4) / sizeof(u32))

Definition at line 55 of file spi.h.

#define HW_ACCESS_WSPI_INIT_CMD_MASK   0

Definition at line 57 of file spi.h.

#define WSPI_CMD_BYTE_ADDR   0x0001FFFF

Definition at line 35 of file spi.h.

#define WSPI_CMD_BYTE_LENGTH   0x1FFE0000

Definition at line 33 of file spi.h.

#define WSPI_CMD_BYTE_LENGTH_OFFSET   17

Definition at line 34 of file spi.h.

#define WSPI_CMD_FIXED   0x20000000

Definition at line 32 of file spi.h.

#define WSPI_CMD_READ   0x40000000

Definition at line 30 of file spi.h.

#define WSPI_CMD_WRITE   0x00000000

Definition at line 31 of file spi.h.

#define WSPI_INIT_CMD_BYPASS_BIT   0x80

Definition at line 42 of file spi.h.

#define WSPI_INIT_CMD_CRC_LEN   5

Definition at line 37 of file spi.h.

#define WSPI_INIT_CMD_CS   0x10

Definition at line 48 of file spi.h.

#define WSPI_INIT_CMD_DIS_FIXEDBUSY   0x00

Definition at line 45 of file spi.h.

#define WSPI_INIT_CMD_EN_FIXEDBUSY   0x80

Definition at line 44 of file spi.h.

#define WSPI_INIT_CMD_END   0x01

Definition at line 51 of file spi.h.

#define WSPI_INIT_CMD_FIXEDBUSY_LEN   0x07

Definition at line 43 of file spi.h.

#define WSPI_INIT_CMD_IOD   0x40

Definition at line 46 of file spi.h.

#define WSPI_INIT_CMD_IP   0x20

Definition at line 47 of file spi.h.

#define WSPI_INIT_CMD_LEN   8

Definition at line 53 of file spi.h.

#define WSPI_INIT_CMD_START   0x00

Definition at line 39 of file spi.h.

#define WSPI_INIT_CMD_TX   0x40

Definition at line 40 of file spi.h.

#define WSPI_INIT_CMD_WS   0x08

Definition at line 49 of file spi.h.

#define WSPI_INIT_CMD_WSPI   0x01

Definition at line 50 of file spi.h.