Lines Matching defs:parent
98 if (!jack->input_dev->dev.parent)
99 jack->input_dev->dev.parent = snd_card_get_device_link(card);
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)
308 jack->input_dev->dev.parent = parent;