Home
last modified time | relevance | path

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

/openbmc/linux/drivers/macintosh/
H A Dvia-pmu-event.c51 set_bit(SW_LID, pmu_input_dev->swbit); in via_pmu_event_init()
/openbmc/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) },
/openbmc/linux/drivers/platform/x86/hp/
H A 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()
/openbmc/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()
/openbmc/linux/drivers/platform/x86/
H A Dxo15-ebook.c122 set_bit(SW_TABLET_MODE, input->swbit); in ebook_switch_add()
H A Dclassmate-laptop.c715 set_bit(SW_TABLET_MODE, inputdev->swbit); in cmpc_tablet_idev_init()
/openbmc/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.c125 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()
/openbmc/linux/drivers/input/
H A 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()
1457 'w', id->swbit, 0, SW_MAX); in input_print_modalias_parts()
1789 INPUT_ADD_HOTPLUG_BM_VAR("SW=", dev->swbit, SW_MAX); in input_dev_uevent()
2206 __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.c795 case EV_SW: bits = dev->swbit; len = SW_MAX; break; in handle_eviocgbit()
/openbmc/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()
/openbmc/linux/include/linux/
H A Dinput.h153 unsigned long swbit[BITS_TO_LONGS(SW_CNT)]; member
H A Dmod_devicetable.h379 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1]; member
/openbmc/linux/drivers/platform/loongarch/
H A Dloongson-laptop.c213 if (test_bit(SW_LID, generic_inputdev->swbit)) { in loongson_hotkey_resume()
/openbmc/linux/drivers/virtio/
H A Dvirtio_input.c294 vi->idev->swbit, SW_CNT); in virtinput_probe()
/openbmc/linux/drivers/platform/x86/intel/
H A Dhid.c461 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup()
/openbmc/linux/drivers/platform/x86/dell/
H A Ddell-wmi-base.c388 __set_bit(switchid, (dev)->swbit); in dell_wmi_switch_event()
/openbmc/linux/drivers/input/misc/
H A Duinput.c964 retval = uinput_set_bit(arg, swbit, SW_MAX); in uinput_ioctl_handler()
/openbmc/linux/drivers/hid/
H A Dwacom_wac.c3950 __set_bit(SW_MUTE_DEVICE, input_dev->swbit); in wacom_setup_touch_input_capabilities()
3997 __set_bit(SW_MUTE_DEVICE, input_dev->swbit); in wacom_setup_touch_input_capabilities()
4017 __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()