Lines Matching refs:input_dev
47 input_unregister_device(jack->input_dev); in snd_jack_dev_free()
49 input_free_device(jack->input_dev); in snd_jack_dev_free()
65 jack->input_dev->name = jack->name; in snd_jack_dev_register()
68 if (!jack->input_dev->dev.parent) in snd_jack_dev_register()
69 jack->input_dev->dev.parent = snd_card_get_device_link(card); in snd_jack_dev_register()
81 input_set_capability(jack->input_dev, EV_KEY, jack->key[i]); in snd_jack_dev_register()
84 err = input_register_device(jack->input_dev); in snd_jack_dev_register()
121 jack->input_dev = input_allocate_device(); in snd_jack_new()
122 if (jack->input_dev == NULL) { in snd_jack_new()
127 jack->input_dev->phys = "ALSA"; in snd_jack_new()
133 input_set_capability(jack->input_dev, EV_SW, in snd_jack_new()
145 input_free_device(jack->input_dev); in snd_jack_new()
166 jack->input_dev->dev.parent = parent; in snd_jack_set_parent()
229 input_report_key(jack->input_dev, jack->key[i], in snd_jack_report()
236 input_report_switch(jack->input_dev, in snd_jack_report()
241 input_sync(jack->input_dev); in snd_jack_report()