Home
last modified time | relevance | path

Searched refs:input_report_switch (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.12.1/drivers/hid/
Dhid-google-hammer.c123 input_report_switch(cbas_ec.input, in cbas_ec_notify()
158 input_report_switch(cbas_ec.input, SW_TABLET_MODE, 1); in cbas_ec_resume()
221 input_report_switch(input, SW_TABLET_MODE, in __cbas_ec_probe()
403 input_report_switch(cbas_ec.input, SW_TABLET_MODE, folded); in hammer_folded_event()
548 input_report_switch(cbas_ec.input, SW_TABLET_MODE, 1); in hammer_remove()
Dhid-cmedia.c93 input_report_switch(cm->input_dev, SW_HEADPHONE_INSERT, value); in hp_ev()
Dwacom_wac.c654 input_report_switch(wacom->shared->touch_input, in wacom_intuos_pad()
1456 input_report_switch(touch_input, SW_MUTE_DEVICE, !(data[281] >> 7)); in wacom_intuos_pro2_bt_touch()
2153 input_report_switch(wacom_wac->shared->touch_input, in wacom_wac_pad_event()
3372 input_report_switch(wacom->shared->touch_input, in wacom_wireless_irq()
3411 input_report_switch(wacom_wac->shared->touch_input, in wacom_status_irq()
/linux-6.12.1/drivers/platform/x86/hp/
Dhp-wmi.c869 input_report_switch(hp_wmi_input_dev, SW_DOCK, in hp_wmi_notify()
872 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, in hp_wmi_notify()
948 input_report_switch(camera_shutter_input_dev, SW_CAMERA_LENS_COVER, 1); in hp_wmi_notify()
950 input_report_switch(camera_shutter_input_dev, SW_CAMERA_LENS_COVER, 0); in hp_wmi_notify()
982 input_report_switch(hp_wmi_input_dev, SW_DOCK, val); in hp_wmi_input_setup()
989 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, val); in hp_wmi_input_setup()
1707 input_report_switch(hp_wmi_input_dev, SW_DOCK, in hp_wmi_resume_handler()
1710 input_report_switch(hp_wmi_input_dev, SW_TABLET_MODE, in hp_wmi_resume_handler()
/linux-6.12.1/drivers/macintosh/
Dvia-pmu-event.c70 input_report_switch(pmu_input_dev, SW_LID, down); in via_pmu_event()
/linux-6.12.1/drivers/platform/arm64/
Dacer-aspire1-ec.c131 input_report_switch(ec->idev, SW_LID, 1); in aspire_ec_irq_handler()
137 input_report_switch(ec->idev, SW_LID, 0); in aspire_ec_irq_handler()
528 input_report_switch(ec->idev, SW_LID, !!(tmp & ASPIRE_EC_LID_OPEN)); in aspire_ec_resume()
/linux-6.12.1/drivers/platform/x86/intel/
Dhid.c481 input_report_switch(priv->switches, SW_TABLET_MODE, m); in report_tablet_mode_state()
492 input_report_switch(input_dev, SW_TABLET_MODE, 1); in report_tablet_mode_event()
496 input_report_switch(input_dev, SW_TABLET_MODE, 0); in report_tablet_mode_event()
Dvbtn.c93 input_report_switch(priv->switches_dev, SW_TABLET_MODE, m); in detect_tablet_mode()
95 input_report_switch(priv->switches_dev, SW_DOCK, m); in detect_tablet_mode()
/linux-6.12.1/drivers/input/keyboard/
Diqs62x-keys.c147 input_report_switch(iqs62x_keys->input, in iqs62x_keys_init()
216 input_report_switch(iqs62x_keys->input, in iqs62x_keys_notifier()
Dadp5589-keys.c562 input_report_switch(kpad->input, in adp5589_report_switches()
823 input_report_switch(kpad->input, in adp5589_report_switch_state()
/linux-6.12.1/drivers/platform/chrome/
Dchromeos_tbmc.c35 input_report_switch(idev, SW_TABLET_MODE, state); in chromeos_tbmc_query_switch()
/linux-6.12.1/arch/x86/platform/olpc/
Dolpc-xo1-sci.c86 input_report_switch(ebook_switch_idev, SW_TABLET_MODE, state); in send_ebook_state()
130 input_report_switch(lid_switch_idev, SW_LID, !lid_open); in send_lid_state()
/linux-6.12.1/drivers/platform/x86/
Dfujitsu-tablet.c204 input_report_switch(fujitsu.idev, SW_DOCK, dock); in fujitsu_send_state()
205 input_report_switch(fujitsu.idev, SW_TABLET_MODE, tablet_mode); in fujitsu_send_state()
Dxo15-ebook.c54 input_report_switch(button->input, SW_TABLET_MODE, !state); in ebook_send_state()
Dclassmate-laptop.c699 input_report_switch(inputdev, SW_TABLET_MODE, !val); in cmpc_tablet_handler()
715 input_report_switch(inputdev, SW_TABLET_MODE, !val); in cmpc_tablet_idev_init()
738 input_report_switch(inputdev, SW_TABLET_MODE, !val); in cmpc_tablet_resume()
Dacer-wmi.c2048 input_report_switch(acer_wmi_input_dev, SW_TABLET_MODE, sw_tablet_mode); in acer_kbd_dock_get_initial_state()
2062 input_report_switch(acer_wmi_input_dev, SW_TABLET_MODE, sw_tablet_mode); in acer_kbd_dock_event()
/linux-6.12.1/drivers/platform/surface/
Dsurface_aggregator_tabletsw.c104 input_report_switch(sw->mode_switch, SW_TABLET_MODE, tablet); in ssam_tablet_sw_update_workfn()
160 input_report_switch(sw->mode_switch, SW_TABLET_MODE, tablet); in ssam_tablet_sw_probe()
Dsurface3-wmi.c103 input_report_switch(s3_wmi.input, SW_LID, lid_sw); in s3_wmi_send_lid_state()
Dsurface_dtx.c781 input_report_switch(ddev->mode_switch, SW_TABLET_MODE, tablet); in sdtx_device_mode_workfn()
850 input_report_switch(ddev->mode_switch, SW_TABLET_MODE, tablet); in __sdtx_device_state_update_mode()
1009 input_report_switch(ddev->mode_switch, SW_TABLET_MODE, tablet_mode); in sdtx_device_init()
/linux-6.12.1/drivers/acpi/
Dbutton.c267 input_report_switch(button->input, in acpi_lid_notify_state()
277 input_report_switch(button->input, SW_LID, !state); in acpi_lid_notify_state()
/linux-6.12.1/sound/core/
Djack.c159 input_report_switch(jack->input_dev, in snd_jack_inject_report()
684 input_report_switch(idev, in snd_jack_report()
/linux-6.12.1/drivers/input/
Dsparse-keymap.c253 input_report_switch(dev, ke->sw.code, value); in sparse_keymap_report_entry()
/linux-6.12.1/drivers/platform/x86/dell/
Ddell-wmi-privacy.c351 input_report_switch(priv->input_dev, SW_CAMERA_LENS_COVER, in dell_privacy_wmi_probe()
Ddell-wmi-base.c400 input_report_switch(*subdev, switchid, value); in dell_wmi_switch_event()
/linux-6.12.1/include/linux/
Dinput.h452 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value) in input_report_switch() function

12