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

Go to the source code of this file.

Data Structures

struct  ifx_spi_device
 

Macros

#define DRVNAME   "ifx6x60"
 
#define TTYNAME   "ttyIFX"
 
#define IFX_SPI_MAX_MINORS   1
 
#define IFX_SPI_TRANSFER_SIZE   2048
 
#define IFX_SPI_FIFO_SIZE   4096
 
#define IFX_SPI_HEADER_OVERHEAD   4
 
#define IFX_RESET_TIMEOUT   msecs_to_jiffies(50)
 
#define IFX_SPI_STATE_PRESENT   0
 
#define IFX_SPI_STATE_IO_IN_PROGRESS   1
 
#define IFX_SPI_STATE_IO_READY   2
 
#define IFX_SPI_STATE_TIMER_PENDING   3
 
#define IFX_SPI_DCD   0
 
#define IFX_SPI_CTS   1
 
#define IFX_SPI_DSR   2
 
#define IFX_SPI_RI   3
 
#define IFX_SPI_DTR   4
 
#define IFX_SPI_RTS   5
 
#define IFX_SPI_TX_FC   6
 
#define IFX_SPI_RX_FC   7
 
#define IFX_SPI_UPDATE   8
 
#define IFX_SPI_PAYLOAD_SIZE
 
#define IFX_SPI_IRQ_TYPE   DETECT_EDGE_RISING
 
#define IFX_SPI_GPIO_TARGET   0
 
#define IFX_SPI_GPIO0   0x105
 
#define IFX_SPI_STATUS_TIMEOUT   (2000*HZ)
 
#define IFX_SPI_POWER_DATA_PENDING   1
 
#define IFX_SPI_POWER_SRDY   2
 
#define MR_START   0
 
#define MR_INPROGRESS   1
 
#define MR_COMPLETE   2
 

Macro Definition Documentation

#define DRVNAME   "ifx6x60"

Definition at line 29 of file ifx6x60.h.

#define IFX_RESET_TIMEOUT   msecs_to_jiffies(50)

Definition at line 37 of file ifx6x60.h.

#define IFX_SPI_CTS   1

Definition at line 47 of file ifx6x60.h.

#define IFX_SPI_DCD   0

Definition at line 46 of file ifx6x60.h.

#define IFX_SPI_DSR   2

Definition at line 48 of file ifx6x60.h.

#define IFX_SPI_DTR   4

Definition at line 50 of file ifx6x60.h.

#define IFX_SPI_FIFO_SIZE   4096

Definition at line 34 of file ifx6x60.h.

#define IFX_SPI_GPIO0   0x105

Definition at line 61 of file ifx6x60.h.

#define IFX_SPI_GPIO_TARGET   0

Definition at line 60 of file ifx6x60.h.

#define IFX_SPI_HEADER_OVERHEAD   4

Definition at line 36 of file ifx6x60.h.

#define IFX_SPI_IRQ_TYPE   DETECT_EDGE_RISING

Definition at line 59 of file ifx6x60.h.

#define IFX_SPI_MAX_MINORS   1

Definition at line 32 of file ifx6x60.h.

#define IFX_SPI_PAYLOAD_SIZE
Value:
IFX_SPI_HEADER_OVERHEAD)

Definition at line 56 of file ifx6x60.h.

#define IFX_SPI_POWER_DATA_PENDING   1

Definition at line 66 of file ifx6x60.h.

#define IFX_SPI_POWER_SRDY   2

Definition at line 67 of file ifx6x60.h.

#define IFX_SPI_RI   3

Definition at line 49 of file ifx6x60.h.

#define IFX_SPI_RTS   5

Definition at line 51 of file ifx6x60.h.

#define IFX_SPI_RX_FC   7

Definition at line 53 of file ifx6x60.h.

#define IFX_SPI_STATE_IO_IN_PROGRESS   1

Definition at line 41 of file ifx6x60.h.

#define IFX_SPI_STATE_IO_READY   2

Definition at line 42 of file ifx6x60.h.

#define IFX_SPI_STATE_PRESENT   0

Definition at line 40 of file ifx6x60.h.

#define IFX_SPI_STATE_TIMER_PENDING   3

Definition at line 43 of file ifx6x60.h.

#define IFX_SPI_STATUS_TIMEOUT   (2000*HZ)

Definition at line 63 of file ifx6x60.h.

#define IFX_SPI_TRANSFER_SIZE   2048

Definition at line 33 of file ifx6x60.h.

#define IFX_SPI_TX_FC   6

Definition at line 52 of file ifx6x60.h.

#define IFX_SPI_UPDATE   8

Definition at line 54 of file ifx6x60.h.

#define MR_COMPLETE   2

Definition at line 125 of file ifx6x60.h.

#define MR_INPROGRESS   1

Definition at line 124 of file ifx6x60.h.

#define MR_START   0

Definition at line 123 of file ifx6x60.h.

#define TTYNAME   "ttyIFX"

Definition at line 30 of file ifx6x60.h.