Searched refs:tp_info (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/input/keyboard/ |
D | applespi.c | 299 struct touchpad_info_protocol tp_info; member 373 struct applespi_tp_info tp_info; member 496 struct applespi_tp_info tp_info; member 502 .tp_info = { -5087, -182, 5579, 6089 }, 506 .tp_info = { -6243, -170, 6749, 7685 }, 510 .tp_info = { -7456, -163, 7976, 9283 }, 1015 const struct applespi_tp_info *tp_info = &applespi->tp_info; in report_tp_state() local 1030 applespi->pos[n].y = tp_info->y_min + tp_info->y_max - in report_tp_state() 1195 return &info->tp_info; in applespi_find_touchpad_info() 1205 const struct applespi_tp_info *tp_info; in applespi_register_touchpad_device() local [all …]
|
/Linux-v5.4/drivers/input/mouse/ |
D | elan_i2c_core.c | 950 u8 tp_info = packet[ETP_TOUCH_INFO_OFFSET]; in elan_report_absolute() local 956 contact_valid = tp_info & (1U << (3 + i)); in elan_report_absolute() 963 input_report_key(input, BTN_LEFT, tp_info & BIT(0)); in elan_report_absolute() 964 input_report_key(input, BTN_MIDDLE, tp_info & BIT(2)); in elan_report_absolute() 965 input_report_key(input, BTN_RIGHT, tp_info & BIT(1)); in elan_report_absolute()
|