Lines Matching refs:array
182 struct input_dev *array; member
348 if (!priv->array) in intel_button_array_enable()
437 priv->array = devm_input_allocate_device(&device->dev); in intel_button_array_input_setup()
438 if (!priv->array) in intel_button_array_input_setup()
441 ret = sparse_keymap_setup(priv->array, intel_array_keymap, NULL); in intel_button_array_input_setup()
445 priv->array->name = "Intel HID 5 button array"; in intel_button_array_input_setup()
446 priv->array->id.bustype = BUS_HOST; in intel_button_array_input_setup()
448 return input_register_device(priv->array); in intel_button_array_input_setup()
545 if (event == 0xc0 || !priv->array) in notify_handler()
548 if (!sparse_keymap_entry_from_scancode(priv->array, event)) { in notify_handler()
566 if (!priv->array) { in notify_handler()
585 if (!priv->array || in notify_handler()
586 !sparse_keymap_report_event(priv->array, event, 1, true)) in notify_handler()