Searched refs:rw_op (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/ |
| H A D | focaltech_ex_fun.c | 73 } rw_op; variable 640 if (rw_op.len < 0) { in fts_tprwreg_show() 642 } else if (rw_op.len == 1) { in fts_tprwreg_show() 643 if (RWREG_OP_READ == rw_op.type) { in fts_tprwreg_show() 644 if (rw_op.res == 0) { in fts_tprwreg_show() 645 count = snprintf(buf, PAGE_SIZE, "Read %02X: %02X\n", rw_op.reg, rw_op.val); in fts_tprwreg_show() 647 … count = snprintf(buf, PAGE_SIZE, "Read %02X failed, ret: %d\n", rw_op.reg, rw_op.res); in fts_tprwreg_show() 650 if (rw_op.res == 0) { in fts_tprwreg_show() 651 … count = snprintf(buf, PAGE_SIZE, "Write %02X, %02X success\n", rw_op.reg, rw_op.val); in fts_tprwreg_show() 653 … count = snprintf(buf, PAGE_SIZE, "Write %02X failed, ret: %d\n", rw_op.reg, rw_op.res); in fts_tprwreg_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/ |
| H A D | focaltech_ex_fun.c | 74 } rw_op; variable 673 if (rw_op.len < 0) { in fts_tprwreg_show() 675 } else if (rw_op.len == 1) { in fts_tprwreg_show() 676 if (RWREG_OP_READ == rw_op.type) { in fts_tprwreg_show() 677 if (rw_op.res == 0) { in fts_tprwreg_show() 678 count = snprintf(buf, PAGE_SIZE, "Read %02X: %02X\n", rw_op.reg, rw_op.val); in fts_tprwreg_show() 680 … count = snprintf(buf, PAGE_SIZE, "Read %02X failed, ret: %d\n", rw_op.reg, rw_op.res); in fts_tprwreg_show() 683 if (rw_op.res == 0) { in fts_tprwreg_show() 684 … count = snprintf(buf, PAGE_SIZE, "Write %02X, %02X success\n", rw_op.reg, rw_op.val); in fts_tprwreg_show() 686 … count = snprintf(buf, PAGE_SIZE, "Write %02X failed, ret: %d\n", rw_op.reg, rw_op.res); in fts_tprwreg_show() [all …]
|