/linux-6.6.21/drivers/macintosh/ |
D | via-pmu-event.c | 51 set_bit(SW_LID, pmu_input_dev->swbit); in via_pmu_event_init()
|
/linux-6.6.21/net/rfkill/ |
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-6.6.21/drivers/platform/x86/hp/ |
D | hp-wmi.c | 770 __set_bit(SW_CAMERA_LENS_COVER, camera_shutter_input_dev->swbit); in camera_shutter_input_setup() 847 if (test_bit(SW_DOCK, hp_wmi_input_dev->swbit)) in hp_wmi_notify() 850 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_notify() 960 __set_bit(SW_DOCK, hp_wmi_input_dev->swbit); in hp_wmi_input_setup() 967 __set_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit); in hp_wmi_input_setup() 1518 if (test_bit(SW_DOCK, hp_wmi_input_dev->swbit)) in hp_wmi_resume_handler() 1521 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_resume_handler()
|
/linux-6.6.21/drivers/platform/x86/ |
D | xo15-ebook.c | 122 set_bit(SW_TABLET_MODE, input->swbit); in ebook_switch_add()
|
D | classmate-laptop.c | 715 set_bit(SW_TABLET_MODE, inputdev->swbit); in cmpc_tablet_idev_init()
|
/linux-6.6.21/arch/x86/platform/olpc/ |
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-6.6.21/drivers/input/keyboard/ |
D | goldfish_events.c | 158 events_import_bits(edev, input_dev->swbit, EV_SW, SW_MAX); in events_probe()
|
D | gpio_keys.c | 125 return (type == EV_KEY) ? dev->keybit : dev->swbit; in get_bm_events_by_type()
|
D | adp5589-keys.c | 917 __set_bit(kpad->gpimap[i].sw_evt, input->swbit); in adp5589_keypad_add()
|
/linux-6.6.21/drivers/input/ |
D | input.c | 286 if (is_event_supported(code, dev->swbit, SW_MAX) && in input_get_disposition() 1031 !bitmap_subset(id->swbit, dev->swbit, SW_MAX) || in input_match_device_id() 1233 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() 1715 INPUT_ADD_HOTPLUG_BM_VAR("SW=", dev->swbit, SW_MAX); in input_dev_uevent() 2132 __set_bit(code, dev->swbit); in input_set_capability()
|
D | sparse-keymap.c | 202 __set_bit(entry->sw.code, dev->swbit); in sparse_keymap_setup()
|
D | evdev.c | 795 case EV_SW: bits = dev->swbit; len = SW_MAX; break; in handle_eviocgbit()
|
/linux-6.6.21/scripts/mod/ |
D | devicetable-offsets.c | 109 DEVID_FIELD(input_device_id, swbit); in main()
|
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-6.6.21/include/linux/ |
D | input.h | 153 unsigned long swbit[BITS_TO_LONGS(SW_CNT)]; member
|
D | mod_devicetable.h | 379 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1]; member
|
/linux-6.6.21/drivers/platform/loongarch/ |
D | loongson-laptop.c | 213 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume()
|
/linux-6.6.21/drivers/virtio/ |
D | virtio_input.c | 294 vi->idev->swbit, SW_CNT); in virtinput_probe()
|
/linux-6.6.21/drivers/platform/x86/dell/ |
D | dell-wmi-base.c | 373 __set_bit(switchid, (dev)->swbit); in dell_wmi_switch_event()
|
/linux-6.6.21/drivers/platform/x86/intel/ |
D | hid.c | 461 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup()
|
/linux-6.6.21/drivers/input/misc/ |
D | uinput.c | 950 retval = uinput_set_bit(arg, swbit, SW_MAX); in uinput_ioctl_handler()
|
/linux-6.6.21/drivers/hid/ |
D | wacom_wac.c | 3940 __set_bit(SW_MUTE_DEVICE, input_dev->swbit); in wacom_setup_touch_input_capabilities() 3987 __set_bit(SW_MUTE_DEVICE, input_dev->swbit); in wacom_setup_touch_input_capabilities() 4007 __set_bit(SW_MUTE_DEVICE, input_dev->swbit); in wacom_setup_touch_input_capabilities()
|
D | hid-input.c | 2139 r |= hidinput->input->swbit[i]; in hidinput_has_been_populated()
|