Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/platform/x86/
Dhp-wmi.c573 if (test_bit(SW_DOCK, hp_wmi_input_dev->swbit)) in hp_wmi_notify()
576 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_notify()
662 __set_bit(SW_DOCK, hp_wmi_input_dev->swbit); in hp_wmi_input_setup()
670 __set_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit); in hp_wmi_input_setup()
956 if (test_bit(SW_DOCK, hp_wmi_input_dev->swbit)) in hp_wmi_resume_handler()
959 if (test_bit(SW_TABLET_MODE, hp_wmi_input_dev->swbit)) in hp_wmi_resume_handler()
Dxo15-ebook.c124 set_bit(SW_TABLET_MODE, input->swbit); in ebook_switch_add()
/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-pmu-event.c51 set_bit(SW_LID, pmu_input_dev->swbit); in via_pmu_event_init()
/kernel/linux/linux-5.10/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) },
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/input/
Dinput.c316 if (is_event_supported(code, dev->swbit, SW_MAX) && in input_get_disposition()
1012 !bitmap_subset(id->swbit, dev->swbit, SW_MAX) || in input_match_device_id()
1214 input_seq_print_bitmap(seq, "SW", dev->swbit, SW_MAX); in input_devices_seq_show()
1398 'w', id->swbit, 0, SW_MAX); in input_print_modalias()
1659 INPUT_ADD_HOTPLUG_BM_VAR("SW=", dev->swbit, SW_MAX); in input_dev_uevent()
2023 __set_bit(code, dev->swbit); in input_set_capability()
Dsparse-keymap.c202 __set_bit(entry->sw.code, dev->swbit); in sparse_keymap_setup()
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dgoldfish_events.c158 events_import_bits(edev, input_dev->swbit, EV_SW, SW_MAX); in events_probe()
Dadp5588-keys.c555 __set_bit(kpad->gpimap[i].sw_evt, input->swbit); in adp5588_probe()
Dgpio_keys.c122 return (type == EV_KEY) ? dev->keybit : dev->swbit; in get_bm_events_by_type()
Dadp5589-keys.c953 __set_bit(kpad->gpimap[i].sw_evt, input->swbit); in adp5589_keypad_add()
/kernel/linux/linux-5.10/scripts/mod/
Ddevicetable-offsets.c108 DEVID_FIELD(input_device_id, swbit); in main()
Dfile2alias.c744 DEF_FIELD_ADDR(symval, input_device_id, swbit); in do_input_entry()
781 do_input(alias, *swbit, 0, INPUT_DEVICE_ID_SW_MAX); in do_input_entry()
/kernel/linux/linux-5.10/include/linux/
Dinput.h147 unsigned long swbit[BITS_TO_LONGS(SW_CNT)]; member
Dmod_devicetable.h359 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1]; member
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_input.c278 vi->idev->swbit, SW_CNT); in virtinput_probe()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dhdf.patch241 + memcpy(info->switchCode, dev->swbit, sizeof(unsigned long) * BITS_TO_LONGS(SW_CNT));
/kernel/linux/patches/linux-4.19/common_patch/
Dhdf.patch288 + memcpy(info->switchCode, dev->swbit, sizeof(unsigned long) * BITS_TO_LONGS(SW_CNT));
/kernel/linux/patches/linux-5.10/common_patch/
Dhdf.patch290 + memcpy(info->switchCode, dev->swbit, sizeof(unsigned long) * BITS_TO_LONGS(SW_CNT));
/kernel/linux/patches/linux-5.10/imx8mm_patch/
Dhdf.patch271 + memcpy(info->switchCode, dev->swbit, sizeof(unsigned long) * BITS_TO_LONGS(SW_CNT));
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dhdf.patch277 + memcpy(info->switchCode, dev->swbit, sizeof(unsigned long) * BITS_TO_LONGS(SW_CNT));
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dhdf.patch331 + memcpy(info->switchCode, dev->swbit, sizeof(unsigned long) * BITS_TO_LONGS(SW_CNT));
/kernel/linux/linux-5.10/drivers/input/misc/
Duinput.c916 retval = uinput_set_bit(arg, swbit, SW_MAX); in uinput_ioctl_handler()
/kernel/linux/patches/linux-5.10/rk3568_patch/
Dhdf.patch276 + memcpy(info->switchCode, dev->swbit, sizeof(unsigned long) * BITS_TO_LONGS(SW_CNT));
/kernel/linux/patches/linux-5.10/khdvk_3566b_patch/
Dhdf.patch276 + memcpy(info->switchCode, dev->swbit, sizeof(unsigned long) * BITS_TO_LONGS(SW_CNT));

12