Searched refs:ELO_PACKET_SIZE (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/xf86-input-elographics/dist/src/
H A Dxf86Elo.c105 #define ELO_PACKET_SIZE 10 macro
198 unsigned char packet_buf[ELO_PACKET_SIZE]; /* Assembly buffer */
245 *buffer_p, ELO_PACKET_SIZE - *buffer_p));
248 ELO_PACKET_SIZE - *buffer_p));
275 if (*buffer_p < ELO_PACKET_SIZE-1) {
285 if (*buffer_p == ELO_PACKET_SIZE) {
289 ok = (*checksum == buffer[ELO_PACKET_SIZE-1]);
290 DBG(3, ErrorF("Expecting checksum %d, got %d\n", *checksum, buffer[ELO_PACKET_SIZE-1]));
470 for (i = 0; i < ELO_PACKET_SIZE-1; i++) {
474 packet[ELO_PACKET_SIZE
[all...]

Completed in 2 milliseconds