Searched refs:esd_buf (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt9xx/ |
| H A D | gt9xx.c | 3060 u8 esd_buf[5] = {0x80, 0x40}; in gtp_esd_check_func() local 3074 ret = gtp_i2c_read_no_rst(ts->client, esd_buf, 4); in gtp_esd_check_func() 3076 GTP_DEBUG("[Esd]0x8040 = 0x%02X, 0x8041 = 0x%02X", esd_buf[2], esd_buf[3]); in gtp_esd_check_func() 3084 if ((esd_buf[2] == 0xAA) || (esd_buf[3] != 0xAA)) in gtp_esd_check_func() 3106 esd_buf[2] = 0xAA; in gtp_esd_check_func() 3107 gtp_i2c_write_no_rst(ts->client, esd_buf, 3); in gtp_esd_check_func() 3124 esd_buf[0] = 0x42; in gtp_esd_check_func() 3125 esd_buf[1] = 0x26; in gtp_esd_check_func() 3126 esd_buf[2] = 0x01; in gtp_esd_check_func() 3127 esd_buf[3] = 0x01; in gtp_esd_check_func() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/ |
| H A D | gt1x_generic.c | 1767 u8 esd_buf[4] = { 0 }; in gt1x_esd_check_func() local 1775 ret = gt1x_i2c_read(GTP_REG_CMD, esd_buf, 4); in gt1x_esd_check_func() 1776 GTP_DEBUG("[Esd]0x8040 = 0x%02X, 0x8043 = 0x%02X", esd_buf[0], esd_buf[3]); in gt1x_esd_check_func() 1777 if (!ret && esd_buf[0] != 0xAA && esd_buf[3] == 0xAA) { in gt1x_esd_check_func() 1789 memset(esd_buf, 0x01, sizeof(esd_buf)); in gt1x_esd_check_func() 1790 gt1x_i2c_write(0x4226, esd_buf, sizeof(esd_buf)); in gt1x_esd_check_func()
|