Lines Matching refs:device
32 static int snd_jack_dev_disconnect(struct snd_device *device)
35 struct snd_jack *jack = device->device_data;
43 /* If the input device is registered with the input subsystem
55 static int snd_jack_dev_free(struct snd_device *device)
57 struct snd_jack *jack = device->device_data;
58 struct snd_card *card = device->card;
71 snd_jack_dev_disconnect(device);
80 static int snd_jack_dev_register(struct snd_device *device)
82 struct snd_jack *jack = device->device_data;
83 struct snd_card *card = device->card;
97 /* Default to the sound card device. */
202 * @phantom_jack: Don't create a input device for phantom jacks.
242 /* don't create input device for phantom jack */
290 * snd_jack_set_parent - Set the parent device for a jack
293 * @parent: The device to set as parent for the jack.
295 * Set the parent for the jack devices in the device tree. This
297 * parent is configured then the parent device will be the sound card.
299 void snd_jack_set_parent(struct snd_jack *jack, struct device *parent)
330 * access the input device directly - devices with complex input