| /linux/sound/core/ |
| H A D | hwdep.c | 34 struct snd_hwdep *hwdep; in snd_hwdep_search() local 36 list_for_each_entry(hwdep, &snd_hwdep_devices, list) in snd_hwdep_search() 37 if (hwdep->card == card && hwdep->device == device) in snd_hwdep_search() 38 return hwdep; in snd_hwdep_search() 300 struct snd_hwdep *hwdep; in snd_hwdep_control_ioctl() local 305 hwdep = snd_hwdep_search(card, device); in snd_hwdep_control_ioctl() 306 if (!hwdep) in snd_hwdep_control_ioctl() 308 return snd_hwdep_info(hwdep, info); in snd_hwdep_control_ioctl() 340 static void snd_hwdep_free(struct snd_hwdep *hwdep) in snd_hwdep_free() argument 342 if (!hwdep) in snd_hwdep_free() [all …]
|
| H A D | Makefile | 36 snd-hwdep-y := hwdep.o 43 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
|
| /linux/sound/hda/common/ |
| H A D | hwdep.c | 95 struct snd_hwdep *hwdep; in snd_hda_create_hwdep() local 99 err = snd_hwdep_new(codec->card, hwname, codec->addr, &hwdep); in snd_hda_create_hwdep() 102 codec->hwdep = hwdep; in snd_hda_create_hwdep() 103 sprintf(hwdep->name, "HDA Codec %d", codec->addr); in snd_hda_create_hwdep() 104 hwdep->iface = SNDRV_HWDEP_IFACE_HDA; in snd_hda_create_hwdep() 105 hwdep->private_data = codec; in snd_hda_create_hwdep() 106 hwdep->exclusive = 1; in snd_hda_create_hwdep() 108 hwdep->ops.open = hda_hwdep_open; in snd_hda_create_hwdep() 109 hwdep->ops.ioctl = hda_hwdep_ioctl; in snd_hda_create_hwdep() 111 hwdep->ops.ioctl_compat = hda_hwdep_ioctl_compat; in snd_hda_create_hwdep() [all …]
|
| H A D | Makefile | 6 snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hwdep.o
|
| H A D | Kconfig | 13 bool "Build hwdep interface for HD-audio driver" 16 Say Y here to build a hwdep interface for HD-audio driver.
|
| /linux/sound/firewire/tascam/ |
| H A D | tascam-hwdep.c | 99 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 102 struct snd_tscm *tscm = hwdep->private_data; in hwdep_read() 130 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 133 struct snd_tscm *tscm = hwdep->private_data; in hwdep_poll() 195 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 197 struct snd_tscm *tscm = hwdep->private_data; in hwdep_release() 206 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 209 struct snd_tscm *tscm = hwdep->private_data; in hwdep_ioctl() 226 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 229 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
| H A D | Makefile | 3 tascam-pcm.o tascam-hwdep.o tascam-transaction.o \
|
| H A D | tascam.h | 94 struct snd_hwdep *hwdep; member
|
| /linux/sound/firewire/motu/ |
| H A D | motu-hwdep.c | 27 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 30 struct snd_motu *motu = hwdep->private_data; in hwdep_read() 100 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 103 struct snd_motu *motu = hwdep->private_data; in hwdep_poll() 157 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 159 struct snd_motu *motu = hwdep->private_data; in hwdep_release() 168 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 171 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl() 251 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 254 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
| H A D | Makefile | 5 motu-proc.o motu-pcm.o motu-midi.o motu-hwdep.o \
|
| H A D | motu.h | 77 struct snd_hwdep *hwdep; member
|
| /linux/sound/usb/line6/ |
| H A D | driver.c | 564 line6_hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in line6_hwdep_read() argument 567 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_read() 605 line6_hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in line6_hwdep_write() argument 608 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_write() 628 line6_hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in line6_hwdep_poll() argument 630 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_poll() 664 struct snd_hwdep *hwdep; in line6_hwdep_init() local 673 err = snd_hwdep_new(line6->card, "config", 0, &hwdep); in line6_hwdep_init() 676 strscpy(hwdep->name, "config"); in line6_hwdep_init() 677 hwdep->iface = SNDRV_HWDEP_IFACE_LINE6; in line6_hwdep_init() [all …]
|
| /linux/sound/synth/emux/ |
| H A D | emux_hwdep.c | 123 emu->hwdep = hw; in snd_emux_init_hwdep() 146 if (emu->hwdep) { in snd_emux_delete_hwdep() 147 snd_device_free(emu->card, emu->hwdep); in snd_emux_delete_hwdep() 148 emu->hwdep = NULL; in snd_emux_delete_hwdep()
|
| /linux/sound/firewire/digi00x/ |
| H A D | Makefile | 3 digi00x-pcm.o digi00x-hwdep.o \
|
| /linux/sound/firewire/oxfw/ |
| H A D | Makefile | 3 oxfw-midi.o oxfw-hwdep.o oxfw-spkr.o oxfw-scs1x.o oxfw.o
|
| /linux/sound/firewire/fireface/ |
| H A D | Makefile | 3 ff-stream.o ff-pcm.o ff-hwdep.o ff-protocol-former.o \
|
| /linux/sound/firewire/dice/ |
| H A D | Makefile | 3 dice-pcm.o dice-hwdep.o dice.o dice-tcelectronic.o \
|
| /linux/include/sound/ |
| H A D | hwdep.h | 55 void (*private_free) (struct snd_hwdep *hwdep);
|
| H A D | emux_synth.h | 93 struct snd_hwdep *hwdep; /* hwdep device */ member
|
| H A D | opl3.h | 300 struct snd_hwdep *hwdep; member
|
| /linux/sound/pci/mixart/ |
| H A D | mixart.h | 156 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member
|
| /linux/Documentation/sound/kernel-api/ |
| H A D | alsa-driver-api.rst | 120 .. kernel-doc:: sound/core/hwdep.c
|
| /linux/Documentation/sound/designs/ |
| H A D | procfile.rst | 38 hwdep 39 Lists the currently available hwdep devices in format of
|
| /linux/Documentation/sound/cards/ |
| H A D | hdspm.rst | 102 hwdep-interface. 105 hwdep-interface. Since it could be a performance problem always
|
| /linux/sound/usb/ |
| H A D | mixer_quirks.c | 250 struct snd_hwdep *hwdep; in snd_usb_soundblaster_remote_init() local 263 err = snd_hwdep_new(mixer->chip->card, "SB remote control", 0, &hwdep); in snd_usb_soundblaster_remote_init() 266 snprintf(hwdep->name, sizeof(hwdep->name), in snd_usb_soundblaster_remote_init() 268 hwdep->iface = SNDRV_HWDEP_IFACE_SB_RC; in snd_usb_soundblaster_remote_init() 269 hwdep->private_data = mixer; in snd_usb_soundblaster_remote_init() 270 hwdep->ops.read = snd_usb_sbrc_hwdep_read; in snd_usb_soundblaster_remote_init() 271 hwdep->ops.poll = snd_usb_sbrc_hwdep_poll; in snd_usb_soundblaster_remote_init() 272 hwdep->exclusive = 1; in snd_usb_soundblaster_remote_init()
|