Searched refs:kb_dev (Results 1 – 1 of 1) sorted by relevance
134 struct input_dev *kb_dev; member4939 input_report_key(spec->kb_dev, spec->alc_mute_keycode_map[ALC_KEY_MICMUTE_INDEX], 1); in gpio2_mic_hotkey_event()4940 input_sync(spec->kb_dev); in gpio2_mic_hotkey_event()4941 input_report_key(spec->kb_dev, spec->alc_mute_keycode_map[ALC_KEY_MICMUTE_INDEX], 0); in gpio2_mic_hotkey_event()4942 input_sync(spec->kb_dev); in gpio2_mic_hotkey_event()4950 spec->kb_dev = input_allocate_device(); in alc_register_micmute_input_device()4951 if (!spec->kb_dev) { in alc_register_micmute_input_device()4958 spec->kb_dev->name = "Microphone Mute Button"; in alc_register_micmute_input_device()4959 spec->kb_dev->evbit[0] = BIT_MASK(EV_KEY); in alc_register_micmute_input_device()4960 spec->kb_dev->keycodesize = sizeof(spec->alc_mute_keycode_map[0]); in alc_register_micmute_input_device()[all …]