Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.c363 struct cyttsp4_tch_abs_params *tch; in cyttsp4_si_get_opcfg_data() local
403 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
406 tch->ofs = tch_old->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
407 tch->size = cyttsp4_bits_2_bytes(tch_old->size, in cyttsp4_si_get_opcfg_data()
408 &tch->max); in cyttsp4_si_get_opcfg_data()
409 tch->bofs = (tch_old->loc & CY_BOFS_MASK) >> CY_BOFS_SHIFT; in cyttsp4_si_get_opcfg_data()
420 tch = &si->si_ofs.tch_abs[abs]; in cyttsp4_si_get_opcfg_data()
423 tch->ofs = tch_new->loc & CY_BYTE_OFS_MASK; in cyttsp4_si_get_opcfg_data()
424 tch->size = cyttsp4_bits_2_bytes(tch_new->size, in cyttsp4_si_get_opcfg_data()
425 &tch->max); in cyttsp4_si_get_opcfg_data()
[all …]
Dcyttsp_core.c303 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()