Home
last modified time | relevance | path

Searched refs:swbit (Results 1 – 21 of 21) sorted by relevance

/linux/net/rfkill/
H A Dinput.c260 test_bit(SW_RFKILL_ALL, handle->dev->swbit)) in rfkill_start()
303 .swbit = { [BIT_WORD(SW_RFKILL_ALL)] = BIT_MASK(SW_RFKILL_ALL) },
/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c805 __set_bit(SW_CAMERA_LENS_COVER, camera_shutter_input_dev->swbit); in camera_shutter_input_setup()
868 if (test_bit(SW_DOCK, hp_wmi_input_dev->swbit)) in hp_wmi_notify()
871 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_notify()
981 __set_bit(SW_DOCK, hp_wmi_input_dev->swbit); in hp_wmi_input_setup()
988 __set_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit); in hp_wmi_input_setup()
1706 if (test_bit(SW_DOCK, hp_wmi_input_dev->swbit)) in hp_wmi_resume_handler()
1709 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_resume_handler()
/linux/drivers/macintosh/
H A Dvia-pmu-event.c51 set_bit(SW_LID, pmu_input_dev->swbit); in via_pmu_event_init()
/linux/arch/x86/platform/olpc/
H A Dolpc-xo1-sci.c477 set_bit(SW_TABLET_MODE, ebook_switch_idev->swbit); in setup_ebook_switch()
507 set_bit(SW_LID, lid_switch_idev->swbit); in setup_lid_switch()
/linux/drivers/platform/x86/
H A Dxo15-ebook.c123 set_bit(SW_TABLET_MODE, input->swbit); in ebook_switch_add()
H A Dclassmate-laptop.c711 set_bit(SW_TABLET_MODE, inputdev->swbit); in cmpc_tablet_idev_init()
/linux/drivers/input/
H A Dinput.c252 if (is_event_supported(code, dev->swbit, SW_MAX) && in input_get_disposition()
994 !bitmap_subset(id->swbit, dev->swbit, SW_MAX) || in input_match_device_id()
1194 input_seq_print_bitmap(seq, "SW", dev->swbit, SW_MAX); in input_devices_seq_show()
1417 'w', id->swbit, 0, SW_MAX); in input_print_modalias_parts()
1749 INPUT_ADD_HOTPLUG_BM_VAR("SW=", dev->swbit, SW_MAX); in input_dev_uevent()
2185 __set_bit(code, dev->swbit); in input_set_capability()
H A Dsparse-keymap.c202 __set_bit(entry->sw.code, dev->swbit); in sparse_keymap_setup()
H A Devdev.c793 case EV_SW: bits = dev->swbit; len = SW_MAX; break; in handle_eviocgbit()
/linux/drivers/input/keyboard/
H A Dgoldfish_events.c158 events_import_bits(edev, input_dev->swbit, EV_SW, SW_MAX); in events_probe()
H A Dgpio_keys.c127 return (type == EV_KEY) ? dev->keybit : dev->swbit; in get_bm_events_by_type()
H A Dadp5589-keys.c924 __set_bit(kpad->gpimap[i].sw_evt, input->swbit); in adp5589_keypad_add()
/linux/scripts/mod/
H A Ddevicetable-offsets.c109 DEVID_FIELD(input_device_id, swbit); in main()
H A Dfile2alias.c767 DEF_FIELD_ADDR(symval, input_device_id, swbit); in do_input_entry()
804 do_input(alias, *swbit, 0, INPUT_DEVICE_ID_SW_MAX); in do_input_entry()
/linux/include/linux/
H A Dinput.h153 unsigned long swbit[BITS_TO_LONGS(SW_CNT)]; member
/linux/drivers/platform/loongarch/
H A Dloongson-laptop.c213 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume()
/linux/drivers/virtio/
H A Dvirtio_input.c295 vi->idev->swbit, SW_CNT); in virtinput_probe()
/linux/drivers/platform/x86/intel/
H A Dhid.c463 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup()
/linux/drivers/platform/x86/dell/
H A Ddell-wmi-base.c388 __set_bit(switchid, (dev)->swbit); in dell_wmi_switch_event()
/linux/drivers/hid/
H A Dwacom_wac.c3982 __set_bit(SW_MUTE_DEVICE, input_dev->swbit); in wacom_setup_touch_input_capabilities()
4029 __set_bit(SW_MUTE_DEVICE, input_dev->swbit); in wacom_setup_touch_input_capabilities()
4049 __set_bit(SW_MUTE_DEVICE, input_dev->swbit); in wacom_setup_touch_input_capabilities()
H A Dhid-input.c2127 r |= hidinput->input->swbit[i]; in hidinput_has_been_populated()