Home
last modified time | relevance | path

Searched refs:num_read_chars (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/
H A Dfocaltech_ex_fun.c210 int num_read_chars = 0; in fts_debug_read() local
238 num_read_chars = 1; in fts_debug_read()
239 ret = fts_i2c_read(client, NULL, 0, buf, num_read_chars); in fts_debug_read()
249 num_read_chars = buflen; in fts_debug_read()
250 ret = fts_i2c_read(client, NULL, 0, buf, num_read_chars); in fts_debug_read()
269 if (copy_to_user(buff, buf, num_read_chars)) { in fts_debug_read()
275 ret = num_read_chars; in fts_debug_read()
419 int num_read_chars = 0; in fts_debug_read() local
444 num_read_chars = 1; in fts_debug_read()
445 ret = fts_i2c_read(client, NULL, 0, buf, num_read_chars); in fts_debug_read()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/
H A Dfocaltech_ex_fun.c214 int num_read_chars = 0; in fts_debug_read() local
242 num_read_chars = 1; in fts_debug_read()
253 num_read_chars = buflen; in fts_debug_read()
254 ret = fts_read(NULL, 0, readbuf, num_read_chars); in fts_debug_read()
272 if (copy_to_user(buff, readbuf, num_read_chars)) { in fts_debug_read()
278 ret = num_read_chars; in fts_debug_read()
423 int num_read_chars = 0; in fts_debug_read() local
451 num_read_chars = 1; in fts_debug_read()
462 num_read_chars = buflen; in fts_debug_read()
463 ret = fts_read(NULL, 0, readbuf, num_read_chars); in fts_debug_read()
[all …]