Home
last modified time | relevance | path

Searched refs:SW_TABLET_MODE (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/hid/ !
Dhid-google-hammer.c124 SW_TABLET_MODE, in cbas_ec_notify()
158 input_report_switch(cbas_ec.input, SW_TABLET_MODE, 1); in cbas_ec_resume()
199 input_set_capability(input, EV_SW, SW_TABLET_MODE); in __cbas_ec_probe()
221 input_report_switch(input, SW_TABLET_MODE, in __cbas_ec_probe()
404 input_report_switch(cbas_ec.input, SW_TABLET_MODE, folded); in hammer_folded_event()
572 input_report_switch(cbas_ec.input, SW_TABLET_MODE, 1); in hammer_remove()
/linux-6.1.9/drivers/platform/chrome/ !
Dchromeos_tbmc.c35 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-6.1.9/drivers/platform/x86/ !
Dxo15-ebook.c54 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()
Dhp-wmi.c803 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_notify()
804 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, in hp_wmi_notify()
896 __set_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit); in hp_wmi_input_setup()
897 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, val); in hp_wmi_input_setup()
1367 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_resume_handler()
1368 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, in hp_wmi_resume_handler()
Dfujitsu-tablet.c205 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()
Dclassmate-laptop.c703 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()
Dacer-wmi.c1749 input_report_switch(acer_wmi_input_dev, SW_TABLET_MODE, sw_tablet_mode); in acer_kbd_dock_get_initial_state()
1763 input_report_switch(acer_wmi_input_dev, SW_TABLET_MODE, sw_tablet_mode); in acer_kbd_dock_event()
2166 input_set_capability(acer_wmi_input_dev, EV_SW, SW_TABLET_MODE); in acer_wmi_input_setup()
Dasus-wmi.c499 input_report_switch(asus->inputdev, SW_TABLET_MODE, in asus_wmi_tablet_sw_report()
511 input_set_capability(asus->inputdev, EV_SW, SW_TABLET_MODE); in asus_wmi_tablet_sw_init()
Dthinkpad_acpi.c2244 SW_TABLET_MODE, !!state); in tpacpi_input_send_tabletsw()
3544 input_set_capability(tpacpi_inputdev, EV_SW, SW_TABLET_MODE); in hotkey_init()
3546 SW_TABLET_MODE, tabletsw_state); in hotkey_init()
/linux-6.1.9/drivers/platform/x86/intel/ !
Dvbtn.c62 { 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()
Dhid.c437 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup()
455 input_report_switch(priv->switches, SW_TABLET_MODE, m); in report_tablet_mode_state()
466 input_report_switch(input_dev, SW_TABLET_MODE, 1); in report_tablet_mode_event()
470 input_report_switch(input_dev, SW_TABLET_MODE, 0); in report_tablet_mode_event()
/linux-6.1.9/arch/x86/platform/olpc/ !
Dolpc-xo1-sci.c83 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-6.1.9/drivers/platform/surface/ !
Dsurface_aggregator_tabletsw.c95 input_report_switch(sw->mode_switch, SW_TABLET_MODE, tablet); in ssam_tablet_sw_update_workfn()
150 input_set_capability(sw->mode_switch, EV_SW, SW_TABLET_MODE); in ssam_tablet_sw_probe()
151 input_report_switch(sw->mode_switch, SW_TABLET_MODE, tablet); in ssam_tablet_sw_probe()
Dsurface_dtx.c782 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()
DKconfig147 input device, sending the standard SW_TABLET_MODE event on mode change.
/linux-6.1.9/Documentation/devicetree/bindings/mfd/ !
Diqs62x.yaml135 linux,code = <SW_TABLET_MODE>;
/linux-6.1.9/arch/arm/boot/dts/ !
Dmmp2-olpc-xo-1-75.dts57 linux,code = <SW_TABLET_MODE>;
/linux-6.1.9/drivers/input/misc/ !
Dsoc_button_array.c476 { "tablet_mode", 0, EV_SW, SW_TABLET_MODE, false, false, false },
/linux-6.1.9/include/uapi/linux/ !
Dinput-event-codes.h903 #define SW_TABLET_MODE 0x01 /* set = tablet mode */ macro
/linux-6.1.9/include/dt-bindings/input/ !
Dlinux-event-codes.h903 #define SW_TABLET_MODE 0x01 /* set = tablet mode */ macro
/linux-6.1.9/arch/arm/mach-pxa/ !
Dcorgi.c418 .code = SW_TABLET_MODE,
/linux-6.1.9/drivers/platform/x86/dell/ !
Ddell-wmi-base.c418 SW_TABLET_MODE, !buffer[0]); in dell_wmi_process_key()
/linux-6.1.9/drivers/input/keyboard/ !
Dcros_ec_keyb.c113 .code = SW_TABLET_MODE,
/linux-6.1.9/arch/arm64/boot/dts/qcom/ !
Dsdm850-lenovo-yoga-c630.dts55 linux,code = <SW_TABLET_MODE>;
/linux-6.1.9/arch/arm64/boot/dts/mediatek/ !
Dmt8173-elm.dtsi75 linux,code = <SW_TABLET_MODE>;

12