Lines Matching defs:bit
56 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
57 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
58 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))
59 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))
61 #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, &max, EV_ABS, (c))
62 #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, &max, EV_KEY, (c))
543 unsigned long *bit = NULL;
562 int ret = device->driver->input_mapping(device, hidinput, field, usage, &bit, &max);
933 bit = input->mscbit;
1626 if (!bit) {
1630 if (device->driver->input_mapped && device->driver->input_mapped(device, hidinput, field, usage, &bit, &max) < 0) {
1655 while (usage->code <= max && test_and_set_bit(usage->code, bit)) {
1657 usage->code = find_next_zero_bit(bit, max + 1, usage->code);
1851 * section 5.10 and 6.2.25, when NULL state bit is present.