Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/macintosh/
Dvia-pmu-event.c51 set_bit(SW_LID, pmu_input_dev->swbit); in via_pmu_event_init()
/linux-6.6.21/net/rfkill/
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-6.6.21/drivers/platform/x86/hp/
Dhp-wmi.c770 __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/
Dxo15-ebook.c122 set_bit(SW_TABLET_MODE, input->swbit); in ebook_switch_add()
Dclassmate-laptop.c715 set_bit(SW_TABLET_MODE, inputdev->swbit); in cmpc_tablet_idev_init()
/linux-6.6.21/arch/x86/platform/olpc/
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-6.6.21/drivers/input/keyboard/
Dgoldfish_events.c158 events_import_bits(edev, input_dev->swbit, EV_SW, SW_MAX); in events_probe()
Dgpio_keys.c125 return (type == EV_KEY) ? dev->keybit : dev->swbit; in get_bm_events_by_type()
Dadp5589-keys.c917 __set_bit(kpad->gpimap[i].sw_evt, input->swbit); in adp5589_keypad_add()
/linux-6.6.21/drivers/input/
Dinput.c286 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()
Dsparse-keymap.c202 __set_bit(entry->sw.code, dev->swbit); in sparse_keymap_setup()
Devdev.c795 case EV_SW: bits = dev->swbit; len = SW_MAX; break; in handle_eviocgbit()
/linux-6.6.21/scripts/mod/
Ddevicetable-offsets.c109 DEVID_FIELD(input_device_id, swbit); in main()
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-6.6.21/include/linux/
Dinput.h153 unsigned long swbit[BITS_TO_LONGS(SW_CNT)]; member
Dmod_devicetable.h379 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1]; member
/linux-6.6.21/drivers/platform/loongarch/
Dloongson-laptop.c213 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume()
/linux-6.6.21/drivers/virtio/
Dvirtio_input.c294 vi->idev->swbit, SW_CNT); in virtinput_probe()
/linux-6.6.21/drivers/platform/x86/dell/
Ddell-wmi-base.c373 __set_bit(switchid, (dev)->swbit); in dell_wmi_switch_event()
/linux-6.6.21/drivers/platform/x86/intel/
Dhid.c461 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup()
/linux-6.6.21/drivers/input/misc/
Duinput.c950 retval = uinput_set_bit(arg, swbit, SW_MAX); in uinput_ioctl_handler()
/linux-6.6.21/drivers/hid/
Dwacom_wac.c3940 __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()
Dhid-input.c2139 r |= hidinput->input->swbit[i]; in hidinput_has_been_populated()