/linux/net/rfkill/ |
H A D | input.c | 260 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 D | hp-wmi.c | 805 __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 D | via-pmu-event.c | 51 set_bit(SW_LID, pmu_input_dev->swbit); in via_pmu_event_init()
|
/linux/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 477 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 D | xo15-ebook.c | 123 set_bit(SW_TABLET_MODE, input->swbit); in ebook_switch_add()
|
H A D | classmate-laptop.c | 711 set_bit(SW_TABLET_MODE, inputdev->swbit); in cmpc_tablet_idev_init()
|
/linux/drivers/input/ |
H A D | input.c | 252 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 D | sparse-keymap.c | 202 __set_bit(entry->sw.code, dev->swbit); in sparse_keymap_setup()
|
H A D | evdev.c | 793 case EV_SW: bits = dev->swbit; len = SW_MAX; break; in handle_eviocgbit()
|
/linux/drivers/input/keyboard/ |
H A D | goldfish_events.c | 158 events_import_bits(edev, input_dev->swbit, EV_SW, SW_MAX); in events_probe()
|
H A D | gpio_keys.c | 127 return (type == EV_KEY) ? dev->keybit : dev->swbit; in get_bm_events_by_type()
|
H A D | adp5589-keys.c | 924 __set_bit(kpad->gpimap[i].sw_evt, input->swbit); in adp5589_keypad_add()
|
/linux/scripts/mod/ |
H A D | devicetable-offsets.c | 109 DEVID_FIELD(input_device_id, swbit); in main()
|
H A D | file2alias.c | 767 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 D | input.h | 153 unsigned long swbit[BITS_TO_LONGS(SW_CNT)]; member
|
/linux/drivers/platform/loongarch/ |
H A D | loongson-laptop.c | 213 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume()
|
/linux/drivers/virtio/ |
H A D | virtio_input.c | 295 vi->idev->swbit, SW_CNT); in virtinput_probe()
|
/linux/drivers/platform/x86/intel/ |
H A D | hid.c | 463 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup()
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-wmi-base.c | 388 __set_bit(switchid, (dev)->swbit); in dell_wmi_switch_event()
|
/linux/drivers/hid/ |
H A D | wacom_wac.c | 3982 __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 D | hid-input.c | 2127 r |= hidinput->input->swbit[i]; in hidinput_has_been_populated()
|