Searched refs:touch_num (Results 1 – 9 of 9) sorted by relevance
| /bsp/renesas/ra6m3-hmi-board/board/ports/touch/gt911/src/ |
| A D | gt911.c | 204 rt_uint8_t touch_num = 0; in gt911_read_point() local 240 touch_num = point_status & 0x0f; /* get point num */ in gt911_read_point() 242 if (touch_num > GT911_MAX_TOUCH) /* point num is not correct */ in gt911_read_point() 259 if (pre_touch > touch_num) /* point up */ in gt911_read_point() 265 for (j = 0; j < touch_num; j++) /* this time touch num */ in gt911_read_point() 274 if (j >= touch_num - 1) in gt911_read_point() 284 if (touch_num) /* point down */ in gt911_read_point() 288 for (read_index = 0; read_index < touch_num; read_index++) in gt911_read_point() 311 pre_touch = touch_num; in gt911_read_point()
|
| /bsp/nxp/imx/imx6ull-smart/drivers/ |
| A D | drv_touch.c | 207 rt_uint8_t touch_num = 0; in gt911_read_point() local 243 touch_num = point_status & 0x0f; /* get point num */ in gt911_read_point() 245 if (touch_num > GT911_MAX_TOUCH) /* point num is not correct */ in gt911_read_point() 262 if(pre_touch > touch_num) /* point up */ in gt911_read_point() 268 for (j = 0; j < touch_num; j++) /* this time touch num */ in gt911_read_point() 277 if (j >= touch_num - 1) in gt911_read_point() 287 if(touch_num) /* point down */ in gt911_read_point() 291 for(read_index = 0; read_index < touch_num; read_index++) in gt911_read_point() 311 pre_touch = touch_num; in gt911_read_point()
|
| /bsp/nuvoton/libraries/nu_packages/TPC/ |
| A D | gt911.c | 205 rt_uint8_t touch_num = 0; in gt911_read_point() local 238 touch_num = point_status & 0x0f; /* get point num */ in gt911_read_point() 240 if (touch_num > GT911_MAX_TOUCH) /* point num is not correct */ in gt911_read_point() 257 if (pre_touch > touch_num) /* point up */ in gt911_read_point() 263 for (j = 0; j < touch_num; j++) /* this time touch num */ in gt911_read_point() 271 if ((j == touch_num) && (pre_id[i] != -1)) /* free this node */ in gt911_read_point() 279 if (touch_num > 0) /* point down */ in gt911_read_point() 283 for (i = 0; i < touch_num; i++) in gt911_read_point() 297 pre_touch = touch_num; in gt911_read_point()
|
| A D | ili.c | 395 rt_int8_t touch_num; in ili_read_point() local 412 touch_num = tmpbuf[REPORT_COUNT_ADDRESS]; in ili_read_point() 413 if (touch_num > ts->max_tp) in ili_read_point() 415 LOG_E("FW report max point:%d > panel info. max:%d\n", touch_num, ts->max_tp); in ili_read_point() 419 count = DIV_ROUND_UP(touch_num, packet_max_point); in ili_read_point() 430 if (pre_touch > touch_num) /* point up */ in ili_read_point() 435 for (j = 0; j < touch_num; j++) /* this time touch num */ in ili_read_point() 443 if ((j == touch_num) && (pre_id[i] != -1)) in ili_read_point() 451 if (touch_num > 0) in ili_read_point() 456 for (i = 0; i < touch_num; i++) in ili_read_point() [all …]
|
| /bsp/nuvoton/libraries/nu_packages/ILI_TPC/ |
| A D | ili.c | 393 int8_t touch_num; in ili_read_point() local 408 touch_num = tmpbuf[REPORT_COUNT_ADDRESS]; in ili_read_point() 409 if (touch_num > ts->max_tp) in ili_read_point() 411 LOG_E("FW report max point:%d > panel info. max:%d\n", touch_num, ts->max_tp); in ili_read_point() 415 count = DIV_ROUND_UP(touch_num, packet_max_point); in ili_read_point() 426 if (pre_touch > touch_num) /* point up */ in ili_read_point() 431 for (j = 0; j < touch_num; j++) /* this time touch num */ in ili_read_point() 438 if (j >= touch_num - 1) in ili_read_point() 445 if (touch_num > 0) in ili_read_point() 450 for (i = 0; i < touch_num; i++) in ili_read_point() [all …]
|
| /bsp/stm32/stm32f407-atk-explorer/board/ports/touch/ |
| A D | drv_touch_xpt.c | 154 …c rt_ssize_t xpt2046_touch_readpoint(struct rt_touch_device *touch, void *buf, rt_size_t touch_num) in xpt2046_touch_readpoint() argument 156 if (touch_num != 0) in xpt2046_touch_readpoint() 196 return touch_num; in xpt2046_touch_readpoint()
|
| /bsp/allwinner/libraries/drivers/touch/ |
| A D | drv_touch.h | 23 rt_err_t (*read_point)(struct rt_touch_data *touch_data, rt_size_t touch_num);
|
| A D | drv_touch.c | 155 static rt_ssize_t touch_readpoint(struct rt_touch_device *touch, void *buf, rt_size_t touch_num) in touch_readpoint() argument 162 current_driver->ops->read_point(data, touch_num); in touch_readpoint()
|
| A D | drv_touch_gt9xx.c | 177 static rt_err_t gt9xx_read_point(struct rt_touch_data *touch_data, rt_size_t touch_num) in gt9xx_read_point() argument
|
Completed in 13 milliseconds