diff options
Diffstat (limited to 'firmware/export/synaptics-rmi.h')
-rw-r--r-- | firmware/export/synaptics-rmi.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/firmware/export/synaptics-rmi.h b/firmware/export/synaptics-rmi.h index 9d9d285fb6..e7fe14d7d5 100644 --- a/firmware/export/synaptics-rmi.h +++ b/firmware/export/synaptics-rmi.h | |||
@@ -123,26 +123,4 @@ struct rmi_2d_gesture_data_t | |||
123 | unsigned char flick; | 123 | unsigned char flick; |
124 | } __attribute__((packed)); | 124 | } __attribute__((packed)); |
125 | 125 | ||
126 | /* Initialize the RMI driver, the i2c_bus_index is the bus index returned by | ||
127 | * the generic_i2c driver; the i2c_dev_addr is the i2c address of the device. | ||
128 | * NOTE: the driver automatically handles the page select mechanism used for | ||
129 | * RMI over i2c and assumes a standard page select register at 0xff. */ | ||
130 | int rmi_init(int i2c_dev_addr); | ||
131 | /* Read one or more registers. | ||
132 | * WARNING: don't cross a page boundary ! */ | ||
133 | int rmi_read(int address, int byte_count, unsigned char *buffer); | ||
134 | /* Read a single register (return -1 on error) | ||
135 | * WARNING: beware of register consistency (N x read 1 byte != reads N bytes) */ | ||
136 | int rmi_read_single(int address); /* return byte value or <0 in case of error */ | ||
137 | /* Write one of more register | ||
138 | * WARNING: don't cross a page boundary ! */ | ||
139 | int rmi_write(int address, int byte_count, const unsigned char *buffer); | ||
140 | /* Write one register | ||
141 | * WARNING: don't cross a page boundary ! */ | ||
142 | int rmi_write_single(int address, unsigned char byte); | ||
143 | /* set the device to the given sleep mode */ | ||
144 | void rmi_set_sleep_mode(unsigned char sleep_mode); | ||
145 | /* set the device's report rate to the given value */ | ||
146 | void rmi_set_report_rate(unsigned char report_rate); | ||
147 | |||
148 | #endif | 126 | #endif |