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