/linux/drivers/hid/ |
H A D | hid-google-hammer.c | 123 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()
|
H A D | hid-cmedia.c | 93 input_report_switch(cm->input_dev, SW_HEADPHONE_INSERT, value); in hp_ev()
|
H A D | wacom_wac.c | 654 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/drivers/platform/x86/hp/ |
H A D | hp-wmi.c | 869 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/drivers/platform/arm64/ |
H A D | acer-aspire1-ec.c | 131 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/drivers/macintosh/ |
H A D | via-pmu-event.c | 70 input_report_switch(pmu_input_dev, SW_LID, down); in via_pmu_event()
|
/linux/drivers/platform/x86/intel/ |
H A D | hid.c | 481 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()
|
H A D | vbtn.c | 93 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/drivers/input/keyboard/ |
H A D | iqs62x-keys.c | 147 input_report_switch(iqs62x_keys->input, in iqs62x_keys_init() 216 input_report_switch(iqs62x_keys->input, in iqs62x_keys_notifier()
|
H A D | adp5589-keys.c | 562 input_report_switch(kpad->input, in adp5589_report_switches() 823 input_report_switch(kpad->input, in adp5589_report_switch_state()
|
/linux/drivers/platform/chrome/ |
H A D | chromeos_tbmc.c | 35 input_report_switch(idev, SW_TABLET_MODE, state); in chromeos_tbmc_query_switch()
|
/linux/drivers/platform/x86/ |
H A D | fujitsu-tablet.c | 204 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()
|
H A D | xo15-ebook.c | 54 input_report_switch(button->input, SW_TABLET_MODE, !state); in ebook_send_state()
|
H A D | classmate-laptop.c | 699 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()
|
H A D | acer-wmi.c | 2048 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/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 86 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/drivers/platform/surface/ |
H A D | surface_aggregator_tabletsw.c | 104 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()
|
H A D | surface3-wmi.c | 103 input_report_switch(s3_wmi.input, SW_LID, lid_sw); in s3_wmi_send_lid_state()
|
/linux/drivers/acpi/ |
H A D | button.c | 267 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/sound/core/ |
H A D | jack.c | 159 input_report_switch(jack->input_dev, in snd_jack_inject_report() 684 input_report_switch(idev, in snd_jack_report()
|
/linux/drivers/input/ |
H A D | sparse-keymap.c | 253 input_report_switch(dev, ke->sw.code, value); in sparse_keymap_report_entry()
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-privacy.c | 351 input_report_switch(priv->input_dev, SW_CAMERA_LENS_COVER, in dell_privacy_wmi_probe()
|
H A D | dell-wmi-base.c | 400 input_report_switch(*subdev, switchid, value); in dell_wmi_switch_event()
|
/linux/include/linux/ |
H A D | input.h | 452 static inline void input_report_switch(struct input_dev *dev, unsigned int code, int value) in input_report_switch() function
|
/linux/drivers/input/misc/ |
H A D | iqs269a.c | 1446 input_report_switch(iqs269->keypad, in iqs269_report()
|