| /Linux-v5.15/drivers/hid/ |
| D | hid-google-hammer.c | 122 SW_TABLET_MODE, in cbas_ec_notify() 156 input_report_switch(cbas_ec.input, SW_TABLET_MODE, 1); in cbas_ec_resume() 197 input_set_capability(input, EV_SW, SW_TABLET_MODE); in __cbas_ec_probe() 219 input_report_switch(input, SW_TABLET_MODE, in __cbas_ec_probe() 421 input_report_switch(cbas_ec.input, SW_TABLET_MODE, folded); in hammer_folded_event() 573 input_report_switch(cbas_ec.input, SW_TABLET_MODE, 1); in hammer_remove()
|
| /Linux-v5.15/drivers/platform/chrome/ |
| D | chromeos_tbmc.c | 35 input_report_switch(idev, SW_TABLET_MODE, state); in chromeos_tbmc_query_switch() 88 input_set_capability(idev, EV_SW, SW_TABLET_MODE); in chromeos_tbmc_add()
|
| /Linux-v5.15/drivers/platform/x86/ |
| D | xo15-ebook.c | 54 input_report_switch(button->input, SW_TABLET_MODE, !state); in ebook_send_state() 122 set_bit(SW_TABLET_MODE, input->swbit); in ebook_switch_add()
|
| D | hp-wmi.c | 583 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_notify() 584 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, in hp_wmi_notify() 673 __set_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit); in hp_wmi_input_setup() 674 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, val); in hp_wmi_input_setup() 1032 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_resume_handler() 1033 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, in hp_wmi_resume_handler()
|
| D | fujitsu-tablet.c | 205 input_report_switch(fujitsu.idev, SW_TABLET_MODE, tablet_mode); in fujitsu_send_state() 253 input_set_capability(idev, EV_SW, SW_TABLET_MODE); in input_fujitsu_setup()
|
| D | classmate-laptop.c | 703 input_report_switch(inputdev, SW_TABLET_MODE, !val); in cmpc_tablet_handler() 715 set_bit(SW_TABLET_MODE, inputdev->swbit); in cmpc_tablet_idev_init() 719 input_report_switch(inputdev, SW_TABLET_MODE, !val); in cmpc_tablet_idev_init() 742 input_report_switch(inputdev, SW_TABLET_MODE, !val); in cmpc_tablet_resume()
|
| D | asus-wmi.c | 388 input_set_capability(asus->inputdev, EV_SW, SW_TABLET_MODE); in asus_wmi_input_init() 389 input_report_switch(asus->inputdev, SW_TABLET_MODE, !result); in asus_wmi_input_init() 400 input_set_capability(asus->inputdev, EV_SW, SW_TABLET_MODE); in asus_wmi_input_init() 401 input_report_switch(asus->inputdev, SW_TABLET_MODE, result); in asus_wmi_input_init() 435 input_report_switch(asus->inputdev, SW_TABLET_MODE, result); in lid_flip_tablet_mode_get_state() 2536 input_report_switch(asus->inputdev, SW_TABLET_MODE, in asus_wmi_handle_event_code()
|
| D | acer-wmi.c | 1801 input_report_switch(acer_wmi_input_dev, SW_TABLET_MODE, sw_tablet_mode); in acer_kbd_dock_get_initial_state() 1815 input_report_switch(acer_wmi_input_dev, SW_TABLET_MODE, sw_tablet_mode); in acer_kbd_dock_event() 2218 input_set_capability(acer_wmi_input_dev, EV_SW, SW_TABLET_MODE); in acer_wmi_input_setup()
|
| D | thinkpad_acpi.c | 2373 SW_TABLET_MODE, !!state); in tpacpi_input_send_tabletsw() 3689 input_set_capability(tpacpi_inputdev, EV_SW, SW_TABLET_MODE); in hotkey_init() 3691 SW_TABLET_MODE, tabletsw_state); in hotkey_init()
|
| /Linux-v5.15/drivers/platform/x86/intel/ |
| D | vbtn.c | 62 { KE_SW, 0xCC, { .sw = { SW_TABLET_MODE, 1 } } }, /* Tablet */ 63 { KE_SW, 0xCD, { .sw = { SW_TABLET_MODE, 0 } } }, /* Laptop */ 89 input_report_switch(priv->switches_dev, SW_TABLET_MODE, m); in detect_tablet_mode()
|
| D | hid.c | 421 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup() 439 input_report_switch(priv->switches, SW_TABLET_MODE, m); in report_tablet_mode_state() 450 input_report_switch(input_dev, SW_TABLET_MODE, 1); in report_tablet_mode_event() 454 input_report_switch(input_dev, SW_TABLET_MODE, 0); in report_tablet_mode_event()
|
| /Linux-v5.15/arch/x86/platform/olpc/ |
| D | olpc-xo1-sci.c | 83 if (!!test_bit(SW_TABLET_MODE, ebook_switch_idev->sw) == state) in send_ebook_state() 86 input_report_switch(ebook_switch_idev, SW_TABLET_MODE, state); in send_ebook_state() 477 set_bit(SW_TABLET_MODE, ebook_switch_idev->swbit); in setup_ebook_switch()
|
| /Linux-v5.15/drivers/platform/surface/ |
| D | surface_dtx.c | 782 input_report_switch(ddev->mode_switch, SW_TABLET_MODE, tablet); in sdtx_device_mode_workfn() 851 input_report_switch(ddev->mode_switch, SW_TABLET_MODE, tablet); in __sdtx_device_state_update_mode() 1009 input_set_capability(ddev->mode_switch, EV_SW, SW_TABLET_MODE); in sdtx_device_init() 1010 input_report_switch(ddev->mode_switch, SW_TABLET_MODE, tablet_mode); in sdtx_device_init()
|
| /Linux-v5.15/arch/arm/boot/dts/ |
| D | mmp2-olpc-xo-1-75.dts | 57 linux,code = <SW_TABLET_MODE>;
|
| /Linux-v5.15/drivers/input/misc/ |
| D | soc_button_array.c | 464 { "tablet_mode", 0, EV_SW, SW_TABLET_MODE, false, false, false },
|
| /Linux-v5.15/include/uapi/linux/ |
| D | input-event-codes.h | 879 #define SW_TABLET_MODE 0x01 /* set = tablet mode */ macro
|
| /Linux-v5.15/include/dt-bindings/input/ |
| D | linux-event-codes.h | 879 #define SW_TABLET_MODE 0x01 /* set = tablet mode */ macro
|
| /Linux-v5.15/arch/arm/mach-pxa/ |
| D | corgi.c | 419 .code = SW_TABLET_MODE,
|
| /Linux-v5.15/drivers/input/keyboard/ |
| D | cros_ec_keyb.c | 116 .code = SW_TABLET_MODE,
|
| /Linux-v5.15/arch/arm64/boot/dts/qcom/ |
| D | sdm850-lenovo-yoga-c630.dts | 55 linux,code = <SW_TABLET_MODE>;
|
| /Linux-v5.15/arch/arm64/boot/dts/mediatek/ |
| D | mt8173-elm.dtsi | 75 linux,code = <SW_TABLET_MODE>;
|
| /Linux-v5.15/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-smaug.dts | 1783 linux,code = <SW_TABLET_MODE>;
|
| /Linux-v5.15/Documentation/admin-guide/laptops/ |
| D | thinkpad-acpi.rst | 529 SW_TABLET_MODE Tablet ThinkPads HKEY events 0x5009 and 0x500A
|