Searched refs:tch (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | cyttsp5.c | 292 struct cyttsp5_touch *tch, int num_cur_tch) in cyttsp5_get_mt_touches() 301 memset(tch->abs, 0, sizeof(tch->abs)); in cyttsp5_get_mt_touches() 314 cyttsp5_get_touch_record(ts, tch, tch_addr); in cyttsp5_get_mt_touches() 317 tmp = tch->abs[CY_TCH_MAJ] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches() 318 tch->abs[CY_TCH_MAJ] = tmp / si->sensing_conf_data.len_x; in cyttsp5_get_mt_touches() 319 tmp = tch->abs[CY_TCH_MIN] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches() 320 tch->abs[CY_TCH_MIN] = tmp / si->sensing_conf_data.len_x; in cyttsp5_get_mt_touches() 322 t = tch->abs[CY_TCH_T]; in cyttsp5_get_mt_touches() 329 tch in cyttsp5_get_mt_touches() 291 cyttsp5_get_mt_touches(struct cyttsp5 *ts, struct cyttsp5_touch *tch, int num_cur_tch) cyttsp5_get_mt_touches() argument 349 struct cyttsp5_touch tch; cyttsp5_mt_attention() local [all...] |
H A D | cyttsp4_core.c | 389 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local 436 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data() 439 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data() 440 tch->size = cyttsp4_bits_2_bytes(tch_old->size, in cyttsp4_si_get_opcfg_data() 441 &tch->max); in cyttsp4_si_get_opcfg_data() 442 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data() 453 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data() 456 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data() 457 tch->size = cyttsp4_bits_2_bytes(tch_new->size, in cyttsp4_si_get_opcfg_data() 458 &tch in cyttsp4_si_get_opcfg_data() 871 struct cyttsp4_touch tch; cyttsp4_get_mt_touches() local [all...] |
H A D | cyttsp_core.c | 320 const struct cyttsp_tch *tch; in cyttsp_report_tchdata() local 344 tch = cyttsp_get_tch(xy_data, i); in cyttsp_report_tchdata() 348 input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); in cyttsp_report_tchdata() 349 input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); in cyttsp_report_tchdata() 350 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); in cyttsp_report_tchdata()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | 375 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local 422 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data() 425 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data() 426 tch->size = cyttsp4_bits_2_bytes(tch_old->size, in cyttsp4_si_get_opcfg_data() 427 &tch->max); in cyttsp4_si_get_opcfg_data() 428 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data() 439 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data() 442 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data() 443 tch->size = cyttsp4_bits_2_bytes(tch_new->size, in cyttsp4_si_get_opcfg_data() 444 &tch in cyttsp4_si_get_opcfg_data() 857 struct cyttsp4_touch tch; cyttsp4_get_mt_touches() local [all...] |
H A D | cyttsp_core.c | 303 const struct cyttsp_tch *tch; in cyttsp_report_tchdata() local 327 tch = cyttsp_get_tch(xy_data, i); in cyttsp_report_tchdata() 331 input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); in cyttsp_report_tchdata() 332 input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); in cyttsp_report_tchdata() 333 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); in cyttsp_report_tchdata()
|
Completed in 6 milliseconds