Searched refs:test_bit (Results 1 - 1 of 1) sorted by relevance

/systemd/src/udev/
H A Dudev-builtin-input_id.c45 #define test_bit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1) macro
159 has_keys = test_bit(EV_KEY, bitmask_ev);
160 has_abs_coordinates = test_bit(ABS_X, bitmask_abs) && test_bit(ABS_Y, bitmask_abs);
161 has_3d_coordinates = has_abs_coordinates && test_bit(ABS_Z, bitmask_abs);
162 is_accelerometer = test_bit(INPUT_PROP_ACCELEROMETER, bitmask_props);
172 is_pointing_stick = test_bit(INPUT_PROP_POINTING_STICK, bitmask_props);
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_FINGE
[all...]

Completed in 554 milliseconds