Lines Matching +refs:rate +refs:id +refs:attrs

677 	int id;  in process_packet_head_v4()  local
680 id = ((packet[3] & 0xe0) >> 5) - 1; in process_packet_head_v4()
681 if (id < 0 || id >= ETP_MAX_FINGERS) in process_packet_head_v4()
684 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; in process_packet_head_v4()
685 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
689 input_mt_slot(dev, id); in process_packet_head_v4()
692 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_head_v4()
693 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_head_v4()
708 int id, sid; in process_packet_motion_v4() local
710 id = ((packet[0] & 0xe0) >> 5) - 1; in process_packet_motion_v4()
711 if (id < 0 || id >= ETP_MAX_FINGERS) in process_packet_motion_v4()
726 etd->mt[id].x += delta_x1 * weight; in process_packet_motion_v4()
727 etd->mt[id].y -= delta_y1 * weight; in process_packet_motion_v4()
728 input_mt_slot(dev, id); in process_packet_motion_v4()
729 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_motion_v4()
730 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_motion_v4()
1001 unsigned int rate) in elantech_set_rate_restore_reg_07() argument
1005 etd->original_set_rate(psmouse, rate); in elantech_set_rate_restore_reg_07()
1370 .attrs = elantech_attrs,
2094 tp_dev->id.bustype = BUS_I8042; in elantech_setup_ps2()
2095 tp_dev->id.vendor = 0x0002; in elantech_setup_ps2()
2096 tp_dev->id.product = PSMOUSE_ELANTECH; in elantech_setup_ps2()
2097 tp_dev->id.version = 0x0000; in elantech_setup_ps2()