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

/linux-4.4.14/drivers/input/touchscreen/
H A Dwdt87xx_i2c.c125 #define CMD_REPORT_ID_OFFSET 0x0 macro
292 if (buf[CMD_REPORT_ID_OFFSET] > 0xF) { wdt87xx_get_feature()
295 tx_buf[tx_len++] = buf[CMD_REPORT_ID_OFFSET]; wdt87xx_get_feature()
297 tx_buf[tx_len++] = 0x30 | buf[CMD_REPORT_ID_OFFSET]; wdt87xx_get_feature()
327 if (buf[CMD_REPORT_ID_OFFSET] > 0xF) { wdt87xx_set_feature()
330 tx_buf[tx_len++] = buf[CMD_REPORT_ID_OFFSET]; wdt87xx_set_feature()
332 tx_buf[tx_len++] = 0x30 | buf[CMD_REPORT_ID_OFFSET]; wdt87xx_set_feature()
362 cmd_buf[CMD_REPORT_ID_OFFSET] = VND_REQ_WRITE; wdt87xx_send_command()
389 cmd_buf[CMD_REPORT_ID_OFFSET] = 0; wdt87xx_send_command()
582 pkt_buf[CMD_REPORT_ID_OFFSET] = VND_REQ_WRITE; wdt87xx_write_data()
666 cmd_buf[CMD_REPORT_ID_OFFSET] = VND_REQ_READ; wdt87xx_get_checksum()
675 pkt_buf[CMD_REPORT_ID_OFFSET] = VND_READ_DATA; wdt87xx_get_checksum()

Completed in 58 milliseconds