Lines Matching refs:hwdep
97 struct snd_hwdep *hwdep; in snd_hda_create_hwdep() local
101 err = snd_hwdep_new(codec->card, hwname, codec->addr, &hwdep); in snd_hda_create_hwdep()
104 codec->hwdep = hwdep; in snd_hda_create_hwdep()
105 sprintf(hwdep->name, "HDA Codec %d", codec->addr); in snd_hda_create_hwdep()
106 hwdep->iface = SNDRV_HWDEP_IFACE_HDA; in snd_hda_create_hwdep()
107 hwdep->private_data = codec; in snd_hda_create_hwdep()
108 hwdep->exclusive = 1; in snd_hda_create_hwdep()
110 hwdep->ops.open = hda_hwdep_open; in snd_hda_create_hwdep()
111 hwdep->ops.ioctl = hda_hwdep_ioctl; in snd_hda_create_hwdep()
113 hwdep->ops.ioctl_compat = hda_hwdep_ioctl_compat; in snd_hda_create_hwdep()
117 hwdep->dev.groups = snd_hda_dev_attr_groups; in snd_hda_create_hwdep()
118 dev_set_drvdata(&hwdep->dev, codec); in snd_hda_create_hwdep()