/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-sony.c | 487 struct input_dev *touchpad; member 852 * For the first byte, bit 0 is set when touchpad button is pressed. in nsg_mrxu_parse_report() 869 input_report_key(sc->touchpad, BTN_LEFT, rd[offset] & 0x0F); in nsg_mrxu_parse_report() 883 input_mt_slot(sc->touchpad, n); in nsg_mrxu_parse_report() 884 input_mt_report_slot_state(sc->touchpad, MT_TOOL_FINGER, active & 0x03); in nsg_mrxu_parse_report() 889 input_report_abs(sc->touchpad, ABS_MT_TOUCH_MAJOR, in nsg_mrxu_parse_report() 891 input_report_abs(sc->touchpad, ABS_MT_TOUCH_MINOR, in nsg_mrxu_parse_report() 893 input_report_abs(sc->touchpad, ABS_MT_ORIENTATION, in nsg_mrxu_parse_report() 895 input_report_abs(sc->touchpad, ABS_MT_POSITION_X, x); in nsg_mrxu_parse_report() 896 input_report_abs(sc->touchpad, ABS_MT_POSITION_ in nsg_mrxu_parse_report() [all...] |
H A D | hid-playstation.c | 150 struct input_dev *touchpad; member 363 struct input_dev *touchpad; member 509 * Note: for device with a touchpad, touchpad button is not included 510 * as it will be part of the touchpad device. 889 struct input_dev *touchpad; in ps_touchpad_create() local 892 touchpad = ps_allocate_input_dev(hdev, "Touchpad"); in ps_touchpad_create() 893 if (IS_ERR(touchpad)) in ps_touchpad_create() 894 return ERR_CAST(touchpad); in ps_touchpad_create() 896 /* Map button underneath touchpad t in ps_touchpad_create() [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-sony.c | 542 struct input_dev *touchpad; member 953 /* Second bit of third button byte is for the touchpad button. */ in dualshock4_parse_report() 955 input_report_key(sc->touchpad, BTN_LEFT, rd[offset+2] & 0x2); in dualshock4_parse_report() 1111 input_mt_slot(sc->touchpad, n); in dualshock4_parse_report() 1112 input_mt_report_slot_state(sc->touchpad, MT_TOOL_FINGER, active); in dualshock4_parse_report() 1115 input_report_abs(sc->touchpad, ABS_MT_POSITION_X, x); in dualshock4_parse_report() 1116 input_report_abs(sc->touchpad, ABS_MT_POSITION_Y, y); in dualshock4_parse_report() 1121 input_mt_sync_frame(sc->touchpad); in dualshock4_parse_report() 1122 input_sync(sc->touchpad); in dualshock4_parse_report() 1134 * For the first byte, bit 0 is set when touchpad butto in nsg_mrxu_parse_report() [all...] |
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | ad714x.c | 108 * Unlike slider/wheel/touchpad, all buttons point to 117 struct ad714x_touchpad_drv *touchpad; member 576 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; in touchpad_cal_sensor_val() 596 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; in touchpad_cal_highest_stage() 597 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[idx]; in touchpad_cal_highest_stage() 605 "touchpad %d x_highest_stage:%d, y_highest_stage:%d\n", in touchpad_cal_highest_stage() 617 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; in touchpad_check_second_peak() 618 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[idx]; in touchpad_check_second_peak() 656 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; in touchpad_cal_abs_pos() 657 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[id in touchpad_cal_abs_pos() [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | ad714x.c | 108 * Unlike slider/wheel/touchpad, all buttons point to 117 struct ad714x_touchpad_drv *touchpad; member 576 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; in touchpad_cal_sensor_val() 596 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; in touchpad_cal_highest_stage() 597 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[idx]; in touchpad_cal_highest_stage() 605 "touchpad %d x_highest_stage:%d, y_highest_stage:%d\n", in touchpad_cal_highest_stage() 617 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; in touchpad_check_second_peak() 618 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[idx]; in touchpad_check_second_peak() 656 struct ad714x_touchpad_plat *hw = &ad714x->hw->touchpad[idx]; in touchpad_cal_abs_pos() 657 struct ad714x_touchpad_drv *sw = &ad714x->sw->touchpad[id in touchpad_cal_abs_pos() [all...] |
/kernel/linux/linux-5.10/include/linux/input/ |
H A D | ad714x.h | 6 * slider, touchpad at the same time. That depends on the boards. 56 struct ad714x_touchpad_plat *touchpad; member
|
/kernel/linux/linux-6.6/include/linux/input/ |
H A D | ad714x.h | 6 * slider, touchpad at the same time. That depends on the boards. 56 struct ad714x_touchpad_plat *touchpad; member
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | msi-laptop.c | 528 static DEVICE_ATTR(touchpad, 0444, show_touchpad, NULL); 817 /* 0x54 wwan, 0x62 bluetooth, 0x76 wlan, 0xE4 touchpad toggle*/ in msi_laptop_i8042_filter()
|
H A D | ideapad-laptop.c | 182 "Enable driver based PS/2 aux port en-/dis-abling on touchpad on/off toggle. " 188 "Enable registering a 'touchpad' sysfs-attribute which can be used to manually " 189 "tell the EC to enable/disable the touchpad. This may not work on all models."); 356 seq_puts(s, " touchpad"); in debugfs_cfg_show() 590 static DEVICE_ATTR_RW(touchpad); 1472 /* Without reading from EC touchpad LED doesn't switch state */ in ideapad_sync_touchpad_state() 1478 * Some IdeaPads don't really turn off touchpad - they only in ideapad_sync_touchpad_state() 1480 * touchpad off and on. We send KEY_TOUCHPAD_OFF and in ideapad_sync_touchpad_state() 1487 * On older models the EC controls the touchpad and toggles it on/off in ideapad_sync_touchpad_state() 1495 sysfs_notify(&priv->platform_device->dev.kobj, NULL, "touchpad"); in ideapad_sync_touchpad_state() [all...] |
H A D | toshiba_acpi.c | 646 pr_err("ACPI call to set the touchpad failed\n"); in toshiba_touchpad_set() 663 pr_err("ACPI call to query the touchpad failed\n"); in toshiba_touchpad_get() 2067 static DEVICE_ATTR_RW(touchpad); 3162 pr_cont(" touchpad"); in print_supported_features()
|
H A D | asus-wmi.c | 1547 asus->tpd_led.name = "asus::touchpad"; in asus_wmi_led_init() 3994 ASUS_WMI_CREATE_DEVICE_ATTR(touchpad, 0644, ASUS_WMI_DEVID_TOUCHPAD);
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | ideapad-laptop.c | 435 static DEVICE_ATTR_RO(touchpad); 876 /* Without reading from EC touchpad LED doesn't switch state */ in ideapad_sync_touchpad_state() 878 /* Some IdeaPads don't really turn off touchpad - they only in ideapad_sync_touchpad_state() 880 * touchpad off and on. We send KEY_TOUCHPAD_OFF and in ideapad_sync_touchpad_state() 998 /* Most ideapads with ELAN0634 touchpad don't use EC touchpad switch */ in ideapad_acpi_add()
|
H A D | msi-laptop.c | 530 static DEVICE_ATTR(touchpad, 0444, show_touchpad, NULL); 812 /* 0x54 wwan, 0x62 bluetooth, 0x76 wlan, 0xE4 touchpad toggle*/ in msi_laptop_i8042_filter()
|
H A D | asus-wmi.c | 853 asus->tpd_led.name = "asus::touchpad"; in asus_wmi_led_init() 2390 ASUS_WMI_CREATE_DEVICE_ATTR(touchpad, 0644, ASUS_WMI_DEVID_TOUCHPAD);
|
H A D | toshiba_acpi.c | 639 pr_err("ACPI call to set the touchpad failed\n"); in toshiba_touchpad_set() 656 pr_err("ACPI call to query the touchpad failed\n"); in toshiba_touchpad_get() 1971 static DEVICE_ATTR_RW(touchpad); 2938 pr_cont(" touchpad"); in print_supported_features()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | applespi.c | 3 * MacBook (Pro) SPI keyboard and touchpad driver 10 * The keyboard and touchpad controller on the MacBookAir6, MacBookPro12, 111 MODULE_PARM_DESC(touchpad_dimensions, "The pixel dimensions of the touchpad, as XxY+W+H ."); 148 * @pressure: pressure on forcetouch touchpad 172 * struct touchpad_protocol - touchpad message. 194 * struct command_protocol_tp_info - get touchpad info. 205 * struct touchpad_info - touchpad info response. 211 * @model_no: the touchpad model number 299 struct touchpad_protocol touchpad; member 323 * @device: 1 = keyboard, 2 = touchpad [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | applespi.c | 3 * MacBook (Pro) SPI keyboard and touchpad driver 10 * The keyboard and touchpad controller on the MacBookAir6, MacBookPro12, 111 MODULE_PARM_DESC(touchpad_dimensions, "The pixel dimensions of the touchpad, as XxY+W+H ."); 148 * @pressure: pressure on forcetouch touchpad 172 * struct touchpad_protocol - touchpad message. 194 * struct command_protocol_tp_info - get touchpad info. 205 * struct touchpad_info_protocol - touchpad info response. 211 * @model_no: the touchpad model number 292 * @touchpad: Touchpad message 308 struct touchpad_protocol touchpad; member [all...] |