|
Linux Kernel
3.7.1
|
#include "cyttsp_core.h"#include <linux/delay.h>#include <linux/input.h>#include <linux/spi/spi.h>Go to the source code of this file.
Macros | |
| #define | CY_SPI_WR_OP 0x00 /* r/~w */ |
| #define | CY_SPI_RD_OP 0x01 |
| #define | CY_SPI_CMD_BYTES 4 |
| #define | CY_SPI_SYNC_BYTE 2 |
| #define | CY_SPI_SYNC_ACK1 0x62 /* from protocol v.2 */ |
| #define | CY_SPI_SYNC_ACK2 0x9D /* from protocol v.2 */ |
| #define | CY_SPI_DATA_SIZE 128 |
| #define | CY_SPI_DATA_BUF_SIZE (CY_SPI_CMD_BYTES + CY_SPI_DATA_SIZE) |
| #define | CY_SPI_BITS_PER_WORD 8 |
Functions | |
| module_spi_driver (cyttsp_spi_driver) | |
| MODULE_ALIAS ("spi:cyttsp") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_DESCRIPTION ("Cypress TrueTouch(R) Standard Product (TTSP) SPI driver") | |
| MODULE_AUTHOR ("Cypress") | |
| #define CY_SPI_BITS_PER_WORD 8 |
Definition at line 44 of file cyttsp_spi.c.
| #define CY_SPI_CMD_BYTES 4 |
Definition at line 38 of file cyttsp_spi.c.
| #define CY_SPI_DATA_BUF_SIZE (CY_SPI_CMD_BYTES + CY_SPI_DATA_SIZE) |
Definition at line 43 of file cyttsp_spi.c.
| #define CY_SPI_DATA_SIZE 128 |
Definition at line 42 of file cyttsp_spi.c.
| #define CY_SPI_RD_OP 0x01 |
Definition at line 37 of file cyttsp_spi.c.
| #define CY_SPI_SYNC_ACK1 0x62 /* from protocol v.2 */ |
Definition at line 40 of file cyttsp_spi.c.
| #define CY_SPI_SYNC_ACK2 0x9D /* from protocol v.2 */ |
Definition at line 41 of file cyttsp_spi.c.
| #define CY_SPI_SYNC_BYTE 2 |
Definition at line 39 of file cyttsp_spi.c.
| #define CY_SPI_WR_OP 0x00 /* r/~w */ |
Definition at line 36 of file cyttsp_spi.c.
| MODULE_ALIAS | ( | "spi:cyttsp" | ) |
| MODULE_AUTHOR | ( | "Cypress" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_spi_driver | ( | cyttsp_spi_driver | ) |
1.8.2