Lines Matching refs:max
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))
418 s32 min, max;
451 max = field->logical_maximum;
455 max = 0x64;
463 dev->battery_max = max;
542 int max = 0, code;
562 int ret = device->driver->input_mapping(device, hidinput, field, usage, &bit, &max);
934 max = MSC_MAX;
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);
1664 if (usage->code > max) {
1693 for (i = usage->code; i < usage->code + 0x2 && i <= max; i++) {
1858 * don't specify logical min and max.