Lines Matching defs:bitmask_key
136 const unsigned long* bitmask_key,
173 stylus_or_pen = test_bit(BTN_STYLUS, bitmask_key) || test_bit(BTN_TOOL_PEN, bitmask_key);
174 finger_but_no_pen = test_bit(BTN_TOOL_FINGER, bitmask_key) && !test_bit(BTN_TOOL_PEN, bitmask_key);
175 has_mouse_button = test_bit(BTN_LEFT, bitmask_key);
183 has_touch = test_bit(BTN_TOUCH, bitmask_key);
187 has_joystick_axes_or_buttons = test_bit(BTN_TRIGGER, bitmask_key) ||
188 test_bit(BTN_A, bitmask_key) ||
189 test_bit(BTN_1, bitmask_key) ||
238 const unsigned long* bitmask_key,
254 found |= bitmask_key[i];
260 if (test_bit(i, bitmask_key)) {
276 if ((bitmask_key[0] & mask) == mask) {
288 unsigned long bitmask_key[NBITS(KEY_MAX)];
310 get_cap_mask(dev, pdev, "capabilities/key", bitmask_key, sizeof(bitmask_key), test);
313 bitmask_key, bitmask_rel,
315 is_key = test_key(dev, bitmask_ev, bitmask_key, test);