Lines Matching refs:vals
105 struct input_value *vals, unsigned int count) in input_to_handler() argument
108 struct input_value *end = vals; in input_to_handler()
112 for (v = vals; v != vals + count; v++) { in input_to_handler()
119 count = end - vals; in input_to_handler()
126 handler->events(handle, vals, count); in input_to_handler()
128 for (v = vals; v != vals + count; v++) in input_to_handler()
140 struct input_value *vals, unsigned int count) in input_pass_values() argument
152 count = input_to_handler(handle, vals, count); in input_pass_values()
156 count = input_to_handler(handle, vals, count); in input_pass_values()
166 for (v = vals; v != vals + count; v++) { in input_pass_values()
180 struct input_value vals[] = { { type, code, value } }; in input_pass_event() local
182 input_pass_values(dev, vals, ARRAY_SIZE(vals)); in input_pass_event()
199 struct input_value vals[] = { in input_repeat_key() local
205 input_pass_values(dev, vals, ARRAY_SIZE(vals)); in input_repeat_key()
394 if (!dev->vals) in input_handle_event()
401 v = &dev->vals[dev->num_vals++]; in input_handle_event()
407 v = &dev->vals[dev->num_vals++]; in input_handle_event()
415 input_pass_values(dev, dev->vals, dev->num_vals); in input_handle_event()
425 dev->vals[dev->num_vals++] = input_value_sync; in input_handle_event()
426 input_pass_values(dev, dev->vals, dev->num_vals); in input_handle_event()
971 struct input_value vals[] = { in input_set_keycode() local
976 input_pass_values(dev, vals, ARRAY_SIZE(vals)); in input_set_keycode()
1598 kfree(dev->vals); in input_dev_release()
2315 dev->vals = kcalloc(dev->max_vals, sizeof(*dev->vals), GFP_KERNEL); in input_register_device()
2316 if (!dev->vals) { in input_register_device()
2370 kfree(dev->vals); in input_register_device()
2371 dev->vals = NULL; in input_register_device()