| /kernel/linux/linux-6.6/drivers/platform/surface/ |
| D | surface_aggregator_tabletsw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Surface System Aggregator Module (SSAM) tablet mode switch driver. 19 /* -- SSAM generic tablet switch driver framework. -------------------------- */ 73 const char *state = sw->ops.state_name(sw, &sw->state); in state_show() 92 int tablet, status; in ssam_tablet_sw_update_workfn() local 94 status = sw->ops.get_state(sw, &state); in ssam_tablet_sw_update_workfn() 98 if (sw->state.source == state.source && sw->state.state == state.state) in ssam_tablet_sw_update_workfn() 100 sw->state = state; in ssam_tablet_sw_update_workfn() 103 tablet = sw->ops.state_is_tablet_mode(sw, &state); in ssam_tablet_sw_update_workfn() 104 input_report_switch(sw->mode_switch, SW_TABLET_MODE, tablet); in ssam_tablet_sw_update_workfn() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Microsoft Surface Platform-Specific Drivers 7 bool "Microsoft Surface Platform-Specific Device Drivers" 11 Say Y here to get to see options for platform-specific device drivers 29 be called surface3-wmi. 47 on 5th- and 6th-generation Microsoft Surface devices (including 55 thermal sensor access, and real-time clock information, depending on 59 tristate "Surface System Aggregator Module User-Space Interface" 62 Provides a misc-device interface to the Surface System Aggregator 67 the SSAM controller. Said client device manages a misc-device [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-driver-wacom | 4 Contact: linux-bluetooth@vger.kernel.org 7 controls reporting speed of Wacom bluetooth tablet. Reading 8 from this file returns 1 if tablet reports in high speed mode 14 Contact: linux-input@vger.kernel.org 21 presence of said LEDs and OLEDs on the tablet device. 25 Contact: linux-input@vger.kernel.org 29 when the stylus does not touch the tablet surface, and no 35 Contact: linux-input@vger.kernel.org 39 when the stylus touches the tablet surface, or any button is 44 Contact: linux-input@vger.kernel.org [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-driver-wacom | 4 Contact: linux-bluetooth@vger.kernel.org 7 controls reporting speed of Wacom bluetooth tablet. Reading 8 from this file returns 1 if tablet reports in high speed mode 14 Contact: linux-input@vger.kernel.org 21 presence of said LEDs and OLEDs on the tablet device. 25 Contact: linux-input@vger.kernel.org 29 when the stylus does not touch the tablet surface, and no 35 Contact: linux-input@vger.kernel.org 39 when the stylus touches the tablet surface, or any button is 44 Contact: linux-input@vger.kernel.org [all …]
|
| D | sysfs-bus-surface_aggregator-tabletsw | 6 This attribute returns a string with the current type-cover 10 - "disconnected": The type-cover has been disconnected. 12 - "closed": The type-cover has been folded closed and lies on 15 - "laptop": The type-cover is open and in laptop-mode, i.e., 18 - "folded-canvas": The type-cover has been folded back 19 part-ways, but does not lie flush with the back side of the 20 device. In general, this means that the kick-stand is used 23 - "folded-back": The type cover has been fully folded back and 26 - "<unknown>": The current state is unknown to the driver, for 27 example due to newer as-of-yet unsupported hardware. [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | hid-letsketch.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Driver for the LetSketch / VSON WP9620N drawing tablet. 6 * This drawing tablet is also sold under other brand names such as Case U, 12 * to special key-combos. E.g. the 2 stylus buttons send right mouse clicks / 23 * Interface 1 EP 0x82 bootclass mouse, rdesc len 83, report id 0x0a, Tablet 27 * with a phone in portraid mode, while using the tablet in landscape mode. 31 * This interfaces send various hard-coded key-combos for the pad buttons 35 * This reports right-click mouse-button events for the 1st stylus button 46 #include "hid-ids.h" 71 return hid_hw_open(data->hdev); in letsketch_open() [all …]
|
| D | hid-waltop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "hid-ids.h" 23 * tablet input mode, switching it between "default", "tablet" and "ink". 25 * This driver only uses "default" mode for all the supported tablets. This 26 * mode tries to be HID-compatible (not very successfully), but cripples the 29 * The "tablet" mode uses some proprietary, yet decipherable protocol, which 30 * represents the correct resolution, but is possibly HID-incompatible (i.e. 33 * The purpose of the "ink" mode is unknown. 35 * The feature reports needed for switching to each mode are these: 38 * 02 16 01 tablet [all …]
|
| D | hid-uclogic-params.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - tablet initialization and parameter retrieval 16 #include "hid-uclogic-params.h" 17 #include "hid-uclogic-rdesc.h" 19 #include "hid-ids.h" 25 * uclogic_params_pen_inrange_to_str() - Convert a pen in-range reporting type 27 * @inrange: The in-range reporting type to convert. 49 * uclogic_params_pen_hid_dbg() - Dump tablet interface pen parameters 53 * Dump tablet interface pen parameters with hid_dbg(). The dump is indented [all …]
|
| D | hid-google-hammer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Author: Wei-Ning Huang <wnhuang@google.com> 18 #include <linux/input/vivaldi-fmap.h> 28 #include "hid-ids.h" 29 #include "hid-vivaldi-common.h" 32 * C(hrome)B(ase)A(ttached)S(witch) - switch exported by Chrome EC and reporting 33 * state of the "Whiskers" base - attached or detached. Whiskers USB device also 34 * reports position of the keyboard - folded or not. Combining base state and 35 * position allows us to generate proper "Tablet mode" events. 66 return -ENOMEM; in cbas_ec_query_base() [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/ |
| D | chromeos_tbmc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Driver to detect Tablet Mode for ChromeOS convertible. 30 status = acpi_evaluate_integer(adev->handle, "TBMC", NULL, &state); in chromeos_tbmc_query_switch() 32 return -ENODEV; in chromeos_tbmc_query_switch() 45 return chromeos_tbmc_query_switch(adev, adev->driver_data); in chromeos_tbmc_resume() 50 acpi_pm_wakeup_event(&adev->dev); in chromeos_tbmc_notify() 53 chromeos_tbmc_query_switch(adev, adev->driver_data); in chromeos_tbmc_notify() 56 dev_err(&adev->dev, "Unexpected event: 0x%08X\n", event); in chromeos_tbmc_notify() 70 struct device *dev = &adev->dev; in chromeos_tbmc_add() 75 return -ENOMEM; in chromeos_tbmc_add() [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/chrome/ |
| D | chromeos_tbmc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Driver to detect Tablet Mode for ChromeOS convertible. 30 status = acpi_evaluate_integer(adev->handle, "TBMC", NULL, &state); in chromeos_tbmc_query_switch() 32 return -ENODEV; in chromeos_tbmc_query_switch() 45 return chromeos_tbmc_query_switch(adev, adev->driver_data); in chromeos_tbmc_resume() 50 acpi_pm_wakeup_event(&adev->dev); in chromeos_tbmc_notify() 53 chromeos_tbmc_query_switch(adev, adev->driver_data); in chromeos_tbmc_notify() 56 dev_err(&adev->dev, "Unexpected event: 0x%08X\n", event); in chromeos_tbmc_notify() 70 struct device *dev = &adev->dev; in chromeos_tbmc_add() 75 return -ENOMEM; in chromeos_tbmc_add() [all …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | hid-waltop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "hid-ids.h" 23 * tablet input mode, switching it between "default", "tablet" and "ink". 25 * This driver only uses "default" mode for all the supported tablets. This 26 * mode tries to be HID-compatible (not very successfully), but cripples the 29 * The "tablet" mode uses some proprietary, yet decipherable protocol, which 30 * represents the correct resolution, but is possibly HID-incompatible (i.e. 33 * The purpose of the "ink" mode is unknown. 35 * The feature reports needed for switching to each mode are these: 38 * 02 16 01 tablet [all …]
|
| D | hid-uclogic-params.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - tablet initialization and parameter retrieval 16 #include "hid-uclogic-params.h" 17 #include "hid-uclogic-rdesc.h" 19 #include "hid-ids.h" 24 * Convert a pen in-range reporting type to a string. 26 * @inrange: The in-range reporting type to convert. 47 * uclogic_params_get_str_desc - retrieve a string descriptor from a HID 48 * device interface, putting it into a kmalloc-allocated buffer as is, without [all …]
|
| D | hid-google-hammer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Author: Wei-Ning Huang <wnhuang@google.com> 26 #include "hid-ids.h" 29 * C(hrome)B(ase)A(ttached)S(witch) - switch exported by Chrome EC and reporting 30 * state of the "Whiskers" base - attached or detached. Whiskers USB device also 31 * reports position of the keyboard - folded or not. Combining base state and 32 * position allows us to generate proper "Tablet mode" events. 63 return -ENOMEM; in cbas_ec_query_base() 65 msg->command = EC_CMD_MKBP_INFO; in cbas_ec_query_base() 66 msg->version = 1; in cbas_ec_query_base() [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| D | dual_accel_detect.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Helper code to detect 360 degree hinges (yoga) style 2-in-1 devices using 2 accelerometers 7 * ACPI methods, to let the firmware know if the 2-in-1 is in tablet- or laptop-mode. 9 * tablet-mode as well as to report SW_TABLET_MODE info to the OS. 25 adev = acpi_dev_get_first_match_dev("BOSC0200", NULL, -1); in dual_accel_detect_bosc0200() 39 if (acpi_dev_present("KIOX010A", NULL, -1) && in dual_accel_detect() 40 acpi_dev_present("KIOX020A", NULL, -1)) in dual_accel_detect() 44 if (acpi_dev_present("DUAL250E", NULL, -1)) in dual_accel_detect()
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 x86 platforms, including vendor-specific laptop extension drivers. 23 This driver adds support for the ACPI-WMI (Windows Management 26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the 27 ACPI firmware to userspace - this is done through various vendor 38 any ACPI-WMI devices. 45 Say Y here if you want to be able to read a firmware-embedded 50 be called wmi-bmof. 64 control, fn-lock, mic-mute LED, and other extra features. 67 will be called huawei-wmi. [all …]
|
| /kernel/linux/linux-5.10/drivers/input/tablet/ |
| D | aiptek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2002-2004 Bryan W. Headley <bwheadley@earthlink.net> 20 * v0.1 - Initial release 21 * v0.2 - Hack to get around fake event 28's. (Bryan W. Headley) 22 * v0.3 - Make URB dynamic (Bryan W. Headley, Jun-8-2002) 24 * v0.4 - Rewrote substantial portions of the code to deal with 26 * support of 6000U - 12000U, procfs, and macro key support 27 * (Jan-1-2003 - Feb-5-2003, Bryan W. Headley) 28 * v1.0 - Added support for diagnostic messages, count of messages 29 * received from URB - Mar-8-2003, Bryan W. Headley [all …]
|
| /kernel/linux/linux-6.6/drivers/input/tablet/ |
| D | aiptek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2002-2004 Bryan W. Headley <bwheadley@earthlink.net> 20 * v0.1 - Initial release 21 * v0.2 - Hack to get around fake event 28's. (Bryan W. Headley) 22 * v0.3 - Make URB dynamic (Bryan W. Headley, Jun-8-2002) 24 * v0.4 - Rewrote substantial portions of the code to deal with 26 * support of 6000U - 12000U, procfs, and macro key support 27 * (Jan-1-2003 - Feb-5-2003, Bryan W. Headley) 28 * v1.0 - Added support for diagnostic messages, count of messages 29 * received from URB - Mar-8-2003, Bryan W. Headley [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | wm8650-mid.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8650-mid.dts - Device tree file for Wondermedia WM8650-MID Tablet 8 /dts-v1/; 12 model = "Wondermedia WM8650-MID Tablet"; 16 bits-per-pixel = <16>; 18 display-timings { 19 native-mode = <&timing0>; 21 clock-frequency = <0>; /* unused but required */ 24 hfront-porch = <40>; 25 hback-porch = <88>; [all …]
|
| D | wm8850-w70v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8850-w70v2.dts 4 * - Device tree file for Wondermedia WM8850 Tablet 5 * - 'W70-V2' mainboard 6 * - HongLianYing 'HLY070ML268-21A' 7" LCD panel 11 /dts-v1/; 13 #include <dt-bindings/pwm/pwm.h> 16 model = "Wondermedia WM8850-W70v2 Tablet"; 19 compatible = "pwm-backlight"; 22 brightness-levels = <0 40 60 80 100 130 190 255>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/vt8500/ |
| D | wm8650-mid.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8650-mid.dts - Device tree file for Wondermedia WM8650-MID Tablet 8 /dts-v1/; 12 model = "Wondermedia WM8650-MID Tablet"; 16 bits-per-pixel = <16>; 18 display-timings { 19 native-mode = <&timing0>; 21 clock-frequency = <0>; /* unused but required */ 24 hfront-porch = <40>; 25 hback-porch = <88>; [all …]
|
| D | wm8850-w70v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8850-w70v2.dts 4 * - Device tree file for Wondermedia WM8850 Tablet 5 * - 'W70-V2' mainboard 6 * - HongLianYing 'HLY070ML268-21A' 7" LCD panel 11 /dts-v1/; 13 #include <dt-bindings/pwm/pwm.h> 16 model = "Wondermedia WM8850-W70v2 Tablet"; 19 compatible = "pwm-backlight"; 22 brightness-levels = <0 40 60 80 100 130 190 255>; [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 x86 platforms, including vendor-specific laptop extension drivers. 23 This driver adds support for the ACPI-WMI (Windows Management 26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the 27 ACPI firmware to userspace - this is done through various vendor 38 any ACPI-WMI devices. 45 Say Y here if you want to be able to read a firmware-embedded 50 be called wmi-bmof. 62 USB MCU such as the X51 and X51-R2. 76 control, fn-lock, mic-mute LED, and other extra features. [all …]
|
| /kernel/linux/linux-5.10/drivers/input/mouse/ |
| D | vsxxxaa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers) 4 * DEC VSXXX-GA mouse (rectangular mouse, with ball) 5 * DEC VSXXX-AB tablet (digitizer with hair cross or stylus) 7 * Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de> 27 * supply at +5V and -12V. 33 * | 4 --- 3 | 35 * ------- 38 * 1 (GND) 5 7 - 39 * 2 (RxD) 2 3 - [all …]
|
| /kernel/linux/linux-6.6/drivers/input/mouse/ |
| D | vsxxxaa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers) 4 * DEC VSXXX-GA mouse (rectangular mouse, with ball) 5 * DEC VSXXX-AB tablet (digitizer with hair cross or stylus) 7 * Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de> 24 * supply at +5V and -12V. 30 * | 4 --- 3 | 32 * ------- 35 * 1 (GND) 5 7 - 36 * 2 (RxD) 2 3 - [all …]
|