Lines Matching defs:tp
122 const struct asus_touchpad_info *tp;
199 y = drvdat->tp->max_y - ((data[0] & CONTACT_Y_MSB_MASK) << 8 | data[2]);
204 if (drvdat->tp->contact_size < 5)
226 if (drvdat->tp->contact_size < 5)
255 if (size != drvdat->tp->report_size)
258 for (i = 0; i < drvdat->tp->max_contacts; i++) {
261 if (drvdat->tp->contact_size >= 5)
270 contactData += drvdat->tp->contact_size;
289 if (!drvdat->tp &&
332 if (drvdata->tp && data[0] == INPUT_REPORT_ID)
740 if (drvdata->tp && (drvdata->quirks & QUIRK_MEDION_E1239T)) {
754 if (drvdata->tp) {
758 drvdata->tp->max_x, 0, 0);
760 drvdata->tp->max_y, 0, 0);
761 input_abs_set_res(input, ABS_MT_POSITION_X, drvdata->tp->res_x);
762 input_abs_set_res(input, ABS_MT_POSITION_Y, drvdata->tp->res_y);
764 if (drvdata->tp->contact_size >= 5) {
776 ret = input_mt_init_slots(input, drvdata->tp->max_contacts,
978 if (drvdata->tp)
1009 drvdata->tp = &asus_i2c_tp;
1022 drvdata->tp = &asus_t100ha_tp;
1024 drvdata->tp = &asus_t200ta_tp;
1026 drvdata->tp = &asus_t100ta_tp;
1036 drvdata->tp = &asus_t100chi_tp;
1044 /* For separate input-devs for tp and tp toggle key */
1047 drvdata->tp = &medion_e1239t_tp;
1083 if (drvdata->tp) {
1089 if (drvdata->tp) {