Go to the documentation of this file.
29 #define DRVNAME "ifx6x60"
30 #define TTYNAME "ttyIFX"
32 #define IFX_SPI_MAX_MINORS 1
33 #define IFX_SPI_TRANSFER_SIZE 2048
34 #define IFX_SPI_FIFO_SIZE 4096
36 #define IFX_SPI_HEADER_OVERHEAD 4
37 #define IFX_RESET_TIMEOUT msecs_to_jiffies(50)
40 #define IFX_SPI_STATE_PRESENT 0
41 #define IFX_SPI_STATE_IO_IN_PROGRESS 1
42 #define IFX_SPI_STATE_IO_READY 2
43 #define IFX_SPI_STATE_TIMER_PENDING 3
52 #define IFX_SPI_TX_FC 6
53 #define IFX_SPI_RX_FC 7
54 #define IFX_SPI_UPDATE 8
56 #define IFX_SPI_PAYLOAD_SIZE (IFX_SPI_TRANSFER_SIZE - \
57 IFX_SPI_HEADER_OVERHEAD)
59 #define IFX_SPI_IRQ_TYPE DETECT_EDGE_RISING
60 #define IFX_SPI_GPIO_TARGET 0
61 #define IFX_SPI_GPIO0 0x105
63 #define IFX_SPI_STATUS_TIMEOUT (2000*HZ)
66 #define IFX_SPI_POWER_DATA_PENDING 1
67 #define IFX_SPI_POWER_SRDY 2
124 #define MR_INPROGRESS 1
125 #define MR_COMPLETE 2