Lines Matching refs:si
280 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_get_touch_record() local
285 si->tch_abs[abs].size, in cyttsp5_get_touch_record()
286 si->tch_abs[abs].max, in cyttsp5_get_touch_record()
287 xy_data + si->tch_abs[abs].ofs, in cyttsp5_get_touch_record()
288 si->tch_abs[abs].bofs); in cyttsp5_get_touch_record()
294 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_get_mt_touches() local
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()
347 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_mt_attention() local
348 int max_tch = si->sensing_conf_data.max_tch; in cyttsp5_mt_attention()
352 cyttsp5_get_touch_axis(&num_cur_tch, si->tch_hdr.size, in cyttsp5_mt_attention()
353 si->tch_hdr.max, in cyttsp5_mt_attention()
354 ts->input_buf + 3 + si->tch_hdr.ofs, in cyttsp5_mt_attention()
355 si->tch_hdr.bofs); in cyttsp5_mt_attention()
378 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_setup_input_device() local
383 max_x_tmp = si->sensing_conf_data.res_x; in cyttsp5_setup_input_device()
384 max_y_tmp = si->sensing_conf_data.res_y; in cyttsp5_setup_input_device()
387 max_p = si->sensing_conf_data.max_z; in cyttsp5_setup_input_device()
396 error = input_mt_init_slots(ts->input, si->tch_abs[CY_TCH_T].max, in cyttsp5_setup_input_device()
413 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_parse_dt_key_code() local
415 if (!si->num_btns) in cyttsp5_parse_dt_key_code()
419 memset32(si->key_code, KEY_RESERVED, si->num_btns); in cyttsp5_parse_dt_key_code()
422 si->key_code, si->num_btns); in cyttsp5_parse_dt_key_code()
428 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_btn_attention() local
445 for (cur_btn = 0; cur_btn < si->num_btns; cur_btn++) { in cyttsp5_btn_attention()
450 input_report_key(ts->input, si->key_code[cur_btn], in cyttsp5_btn_attention()
515 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_si_get_btn_data() local
519 si->num_btns = hweight8(btns); in cyttsp5_si_get_btn_data()
755 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_fill_all_touch() local
757 fill_tch_abs(&si->tch_abs[CY_TCH_X], REPORT_SIZE_16, in cyttsp5_fill_all_touch()
759 fill_tch_abs(&si->tch_abs[CY_TCH_Y], REPORT_SIZE_16, in cyttsp5_fill_all_touch()
761 fill_tch_abs(&si->tch_abs[CY_TCH_P], REPORT_SIZE_8, in cyttsp5_fill_all_touch()
763 fill_tch_abs(&si->tch_abs[CY_TCH_T], REPORT_SIZE_5, in cyttsp5_fill_all_touch()
765 fill_tch_abs(&si->tch_hdr, REPORT_SIZE_5, in cyttsp5_fill_all_touch()
767 fill_tch_abs(&si->tch_abs[CY_TCH_MAJ], REPORT_SIZE_8, in cyttsp5_fill_all_touch()
769 fill_tch_abs(&si->tch_abs[CY_TCH_MIN], REPORT_SIZE_8, in cyttsp5_fill_all_touch()
827 struct cyttsp5_sysinfo *si; in cyttsp5_probe() local
837 si = &ts->sysinfo; in cyttsp5_probe()
902 for (i = 0; i < si->num_btns; i++) in cyttsp5_probe()
903 __set_bit(si->key_code[i], ts->input->keybit); in cyttsp5_probe()