Searched refs:kb_dev (Results 1 – 1 of 1) sorted by relevance
134 struct input_dev *kb_dev; member4950 input_report_key(spec->kb_dev, spec->alc_mute_keycode_map[ALC_KEY_MICMUTE_INDEX], 1); in gpio2_mic_hotkey_event()4951 input_sync(spec->kb_dev); in gpio2_mic_hotkey_event()4952 input_report_key(spec->kb_dev, spec->alc_mute_keycode_map[ALC_KEY_MICMUTE_INDEX], 0); in gpio2_mic_hotkey_event()4953 input_sync(spec->kb_dev); in gpio2_mic_hotkey_event()4961 spec->kb_dev = input_allocate_device(); in alc_register_micmute_input_device()4962 if (!spec->kb_dev) { in alc_register_micmute_input_device()4969 spec->kb_dev->name = "Microphone Mute Button"; in alc_register_micmute_input_device()4970 spec->kb_dev->evbit[0] = BIT_MASK(EV_KEY); in alc_register_micmute_input_device()4971 spec->kb_dev->keycodesize = sizeof(spec->alc_mute_keycode_map[0]); in alc_register_micmute_input_device()[all …]