Home
last modified time | relevance | path

Searched refs:FTS_DEBUG (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/
H A Dfocaltech_esdcheck.c97 FTS_DEBUG("[ESD]Check LCD ESD"); in idc_esdcheck_lcderror()
220FTS_DEBUG("[ESD]: Flow Work Cnt(reg0x91) keep a value for 5 times, need execute TP reset!!"); in get_flow_cnt()
244 FTS_DEBUG("[ESD]: In interrupt state, not check esd, return immediately!!"); in esdcheck_algorithm()
250 FTS_DEBUG("[ESD]: In suspend, not check esd, return immediately!!"); in esdcheck_algorithm()
269 FTS_DEBUG("[ESD]: not in work mode, no check esd, return immediately!!"); in esdcheck_algorithm()
291FTS_DEBUG("[ESD]: NoACK=%d, Error Data=%d, Hardware Reset=%d", fts_esdcheck_data.i2c_nack_cnt, fts… in esdcheck_algorithm()
379 FTS_DEBUG("[ESD]: ESD check start!!"); in fts_esdcheck_switch()
385 FTS_DEBUG("[ESD]: ESD check stop!!"); in fts_esdcheck_switch()
389 FTS_DEBUG("[ESD]: ESD should disable!!"); in fts_esdcheck_switch()
442 FTS_DEBUG("enable esdcheck"); in fts_esdcheck_store()
[all …]
H A Dfocaltech_core.c109 FTS_DEBUG("TP Not Ready, ReadData = 0x%x", reg_value); in fts_wait_tp_to_valid()
141 FTS_DEBUG("verify id:0x%02x%02x", id_h, id_l); in fts_get_chip_types()
189 FTS_DEBUG("i2c read invalid, read:0x%02x%02x", chip_id[0], chip_id[1]); in fts_get_ic_information()
194 FTS_DEBUG("TP not ready, read:0x%02x%02x", chip_id[0], chip_id[1]); in fts_get_ic_information()
384 FTS_DEBUG("regulator enable !"); in fts_power_source_ctrl()
400 FTS_DEBUG("regulator disable !"); in fts_power_source_ctrl()
542 FTS_DEBUG("buffer: %s", g_sz_debug); in fts_show_touch_buffer()
601 FTS_DEBUG("Key%d(%d, %d) DOWN!", ik, x, y); in fts_input_report_key()
605 FTS_DEBUG("Key%d(%d, %d) Up!", ik, x, y); in fts_input_report_key()
668 FTS_DEBUG("[B]P%d(0x%x, 0x%x)[p:%d,tm:%d] DOWN!", events[i].id, events[i].x, in fts_input_report_b()
[all …]
H A Dfocaltech_common.h144 #define FTS_DEBUG(fmt, args...) printk("[FTS][%s]"fmt"\n", __func__, ##args) macro
146 #define FTS_DEBUG(fmt, args...) printk("[FTS]"fmt"\n", ##args) macro
151 #define FTS_DEBUG(fmt, args...) macro
H A Dfocaltech_gesture.c299 FTS_DEBUG("Gesture Code=%d", gesture); in fts_gesture_report()
364 FTS_DEBUG("gesture not enable, don't process gesture"); in fts_gesture_readdata()
386 FTS_DEBUG("[GESTURE]PointNum=%d", pointnum); in fts_gesture_readdata()
498 FTS_DEBUG("gesture is disabled"); in fts_gesture_resume()
503 FTS_DEBUG("gesture in suspend is failed, no running fts_gesture_resume"); in fts_gesture_resume()
H A Dfocaltech_ex_fun.c336 FTS_DEBUG("[APK]: PROC_SET_TEST_FLAG = %x!!", writebuf[1]); in fts_debug_write()
364 FTS_DEBUG("Original i2c addr 0x%x ", ret << 1 ); in fts_debug_write()
367 FTS_DEBUG("Change i2c addr 0x%x to 0x%x", ret << 1, writebuf[1] << 1); in fts_debug_write()
746 FTS_DEBUG("read %02X, %d bytes", rw_op.reg, rw_op.len); in fts_parse_buf()
752 FTS_DEBUG("write %02X, %d bytes", rw_op.reg, length); in fts_parse_buf()
768 FTS_DEBUG("write buffer: "); in fts_parse_buf()
771 FTS_DEBUG("buf[%d]: %02X", i, tmpbuf[i] & 0xFF); in fts_parse_buf()
801 FTS_DEBUG("cmd len: %d, buf: %s", (int)cmd_length, buf); in fts_tprwreg_store()
H A Dfocaltech_flash.c405 FTS_DEBUG("check whether tp is in romboot or not "); in fts_pram_write_init()
433 FTS_DEBUG("after write pramboot, confirm run in pramboot"); in fts_pram_write_init()
686 FTS_DEBUG("pram not supported, confirm in bootloader"); in fts_fwupg_enter_into_boot()
826 FTS_DEBUG("ecc calc startaddr:0x%04x, len:%d", addr, packet_len); in fts_fwupg_ecc_cal()
1303 FTS_DEBUG("vid in tp:0x%04x, host:0x%04x", vid_in_tp, vid_in_host); in fts_lic_need_upgrade()
1321 FTS_DEBUG("lcd initial code version in tp:%x, host:%x", in fts_lic_need_upgrade()
1327 FTS_DEBUG("lcd init code in tp is invalid, need upgrade init code"); in fts_lic_need_upgrade()
H A Dfocaltech_ex_mode.c299 FTS_DEBUG("[Mode]fts_enter_charger_mode write value fail"); in fts_enter_charger_mode()
349 FTS_DEBUG("[Mode]create sysfs succeeded"); in fts_ex_mode_init()
H A Dfocaltech_upgrade_ft8201.c239 FTS_DEBUG("%s", p); in print_data()
357 FTS_DEBUG("read 3-gamma data:"); in read_3gamma()
405 FTS_DEBUG("replace 3-gamma data:"); in replace_3gamma()
809 FTS_DEBUG("lic flag:%x", val); in fts_ft8006m_lic_upgrade()
H A Dfocaltech_i2c.c205 FTS_DEBUG("hidi2c change to stdi2c successful"); in fts_i2c_hid2std()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/
H A Dfocaltech_esdcheck.c91 FTS_DEBUG("check LCD ESD"); in idc_esdcheck_lcderror()
153 FTS_DEBUG("read chip_id:%x,retry:%d", reg_value, i); in get_chip_id()
190 FTS_DEBUG("reg0x91,val:%x,last:%x", reg_value, in get_flow_cnt()
202 FTS_DEBUG("reg0x91 keep a value for 5 times, need execute TP reset"); in get_flow_cnt()
227 FTS_DEBUG("In suspend, not check esd"); in esdcheck_algorithm()
247 FTS_DEBUG("not in work mode(%x), no check esd", reg_value); in esdcheck_algorithm()
266 FTS_DEBUG("NoACK=%d, Error Data=%d, Hardware Reset=%d", in esdcheck_algorithm()
331 FTS_DEBUG("ESD check start"); in fts_esdcheck_switch()
340 FTS_DEBUG("ESD check stop"); in fts_esdcheck_switch()
379 FTS_DEBUG("enable esdcheck"); in fts_esdcheck_store()
[all …]
H A Dfocaltech_ex_mode.c126 FTS_DEBUG("enter glove mode"); in fts_glove_mode_store()
134 FTS_DEBUG("exit glove mode"); in fts_glove_mode_store()
142 FTS_DEBUG("glove mode:%d", ts_data->glove_mode); in fts_glove_mode_store()
174 FTS_DEBUG("enter cover mode"); in fts_cover_mode_store()
182 FTS_DEBUG("exit cover mode"); in fts_cover_mode_store()
190 FTS_DEBUG("cover mode:%d", ts_data->cover_mode); in fts_cover_mode_store()
221 FTS_DEBUG("enter charger mode"); in fts_charger_mode_store()
229 FTS_DEBUG("exit charger mode"); in fts_charger_mode_store()
237 FTS_DEBUG("charger mode:%d", ts_data->glove_mode); in fts_charger_mode_store()
297 FTS_DEBUG("create sysfs(ex_mode) succeedfully"); in fts_ex_mode_init()
H A Dfocaltech_gesture.c127 FTS_DEBUG("enable gesture"); in fts_gesture_store()
130 FTS_DEBUG("disable gesture"); in fts_gesture_store()
214 FTS_DEBUG("gesture_id:0x%x", gesture_id); in fts_gesture_report()
264 FTS_DEBUG("Gesture Code=%d", gesture); in fts_gesture_report()
302 FTS_DEBUG("gesture not enable in fw, don't process gesture"); in fts_gesture_readdata()
318 FTS_DEBUG("gesture_id=%d, point_num=%d", in fts_gesture_readdata()
338 FTS_DEBUG("gesture recovery..."); in fts_gesture_recovery()
356 FTS_DEBUG("enable_irq_wake(irq:%d) fail", ts_data->irq); in fts_gesture_suspend()
389 FTS_DEBUG("disable_irq_wake(irq:%d) fail", ts_data->irq); in fts_gesture_resume()
H A Dfocaltech_core.c94 FTS_DEBUG("TP Not Ready,ReadData:0x%02x%02x", idh, idl); in fts_wait_tp_to_valid()
129 FTS_DEBUG("tp reset"); in fts_reset_proc()
187 FTS_DEBUG("hidi2c change to stdi2c successful"); in fts_hid2std()
189 FTS_DEBUG("hidi2c change to stdi2c not support or fail"); in fts_hid2std()
207 FTS_DEBUG("verify id:0x%02x%02x", id_h, id_l); in fts_get_chip_types()
285 FTS_DEBUG("i2c read invalid, read:0x%02x%02x", in fts_get_ic_information()
292 FTS_DEBUG("TP not ready, read:0x%02x%02x", in fts_get_ic_information()
345 FTS_DEBUG("point buffer:%s", tmpbuf); in fts_show_touch_buffer()
409 FTS_DEBUG("Key%d(%d,%d) DOWN!", i, x, y); in fts_input_report_key()
414 FTS_DEBUG("Key%d(%d,%d) Up!", i, x, y); in fts_input_report_key()
[all …]
H A Dfocaltech_ex_fun.c120 FTS_DEBUG("[APK]: PROC_SET_TEST_FLAG = %x", writebuf[1]); in fts_debug_write()
181 FTS_DEBUG("[APK]: PROC_SET_BOOT_MODE = %x", writebuf[1]); in fts_debug_write()
189 FTS_DEBUG("[APK]: PROC_ENTER_TEST_ENVIRONMENT = %x", writebuf[1]); in fts_debug_write()
329 FTS_DEBUG("[APK]: PROC_SET_TEST_FLAG = %x", writebuf[1]); in fts_debug_write()
390 FTS_DEBUG("[APK]: PROC_SET_BOOT_MODE = %x", writebuf[1]); in fts_debug_write()
398 FTS_DEBUG("[APK]: PROC_ENTER_TEST_ENVIRONMENT = %x", writebuf[1]); in fts_debug_write()
779 FTS_DEBUG("read %02X, %d bytes", rw_op.reg, rw_op.len); in fts_parse_buf()
785 FTS_DEBUG("write %02X, %d bytes", rw_op.reg, length); in fts_parse_buf()
801 FTS_DEBUG("write buffer: "); in fts_parse_buf()
804 FTS_DEBUG("buf[%d]: %02X", i, tmpbuf[i] & 0xFF); in fts_parse_buf()
[all …]
H A Dfocaltech_common.h142 #define FTS_DEBUG(fmt, args...) do { \ macro
154 #define FTS_DEBUG(fmt, args...) macro
H A Dfocaltech_flash.c504 FTS_DEBUG("check whether tp is in romboot or not "); in fts_pram_write_init()
532 FTS_DEBUG("after write pramboot, confirm run in pramboot"); in fts_pram_write_init()
654 FTS_DEBUG("pram not supported, confirm in bootloader"); in fts_fwupg_enter_into_boot()
795 FTS_DEBUG("ecc calc startaddr:0x%04x, len:%d", addr, packet_len); in fts_fwupg_ecc_cal()
1273 FTS_DEBUG("vid in tp:0x%04x, host:0x%04x", vid_in_tp, vid_in_host); in fts_lic_need_upgrade()
1291 FTS_DEBUG("lcd initial code version in tp:%x, host:%x", in fts_lic_need_upgrade()
1297 FTS_DEBUG("lcd init code in tp is invalid, need upgrade init code"); in fts_lic_need_upgrade()
1846 FTS_DEBUG("get upgrade fw file"); in fts_fwupg_get_fw_file()