Lines Matching defs:bitmask_key
145 const unsigned long* bitmask_key,
183 stylus_or_pen = test_bit(BTN_STYLUS, bitmask_key) || test_bit(BTN_TOOL_PEN, bitmask_key);
184 finger_but_no_pen = test_bit(BTN_TOOL_FINGER, bitmask_key) && !test_bit(BTN_TOOL_PEN, bitmask_key);
186 has_mouse_button = test_bit(button, bitmask_key);
194 has_touch = test_bit(BTN_TOUCH, bitmask_key);
204 if (!test_bit(BTN_JOYSTICK - 1, bitmask_key)) {
206 has_joystick_axes_or_buttons = test_bit(button, bitmask_key);
208 has_joystick_axes_or_buttons = test_bit(button, bitmask_key);
210 has_joystick_axes_or_buttons = test_bit(button, bitmask_key);
266 const unsigned long* bitmask_key,
282 found |= bitmask_key[i];
290 if (test_bit(i, bitmask_key)) {
307 if ((bitmask_key[0] & mask) == mask) {
319 unsigned long bitmask_key[NBITS(KEY_MAX)];
339 get_cap_mask(dev, pdev, "capabilities/key", bitmask_key, sizeof(bitmask_key), test);
342 bitmask_key, bitmask_rel,
344 is_key = test_key(dev, bitmask_ev, bitmask_key, test);