/sound/core/ |
D | hwdep.c | 49 struct snd_hwdep *hwdep; in snd_hwdep_search() local 51 list_for_each_entry(hwdep, &snd_hwdep_devices, list) in snd_hwdep_search() 52 if (hwdep->card == card && hwdep->device == device) in snd_hwdep_search() 53 return hwdep; in snd_hwdep_search() 307 struct snd_hwdep *hwdep; in snd_hwdep_control_ioctl() local 312 hwdep = snd_hwdep_search(card, device); in snd_hwdep_control_ioctl() 313 if (hwdep) in snd_hwdep_control_ioctl() 314 err = snd_hwdep_info(hwdep, info); in snd_hwdep_control_ioctl() 369 struct snd_hwdep *hwdep; in snd_hwdep_new() local 381 hwdep = kzalloc(sizeof(*hwdep), GFP_KERNEL); in snd_hwdep_new() [all …]
|
D | Makefile | 34 snd-hwdep-objs := hwdep.o 40 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
|
/sound/firewire/tascam/ |
D | tascam-hwdep.c | 19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 22 struct snd_tscm *tscm = hwdep->private_data; in hwdep_read() 53 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 56 struct snd_tscm *tscm = hwdep->private_data; in hwdep_poll() 126 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 128 struct snd_tscm *tscm = hwdep->private_data; in hwdep_release() 138 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 141 struct snd_tscm *tscm = hwdep->private_data; in hwdep_ioctl() 156 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 159 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 2 tascam-pcm.o tascam-hwdep.o tascam-transaction.o \
|
/sound/firewire/bebob/ |
D | bebob_hwdep.c | 20 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 23 struct snd_bebob *bebob = hwdep->private_data; in hwdep_read() 57 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument 59 struct snd_bebob *bebob = hwdep->private_data; in hwdep_poll() 133 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 135 struct snd_bebob *bebob = hwdep->private_data; in hwdep_release() 146 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 149 struct snd_bebob *bebob = hwdep->private_data; in hwdep_ioctl() 165 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 168 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
/sound/firewire/dice/ |
D | dice-hwdep.c | 12 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, in hwdep_read() argument 15 struct snd_dice *dice = hwdep->private_data; in hwdep_read() 55 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 58 struct snd_dice *dice = hwdep->private_data; in hwdep_poll() 128 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 130 struct snd_dice *dice = hwdep->private_data; in hwdep_release() 140 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 143 struct snd_dice *dice = hwdep->private_data; in hwdep_ioctl() 158 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 161 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 2 dice-pcm.o dice-hwdep.o dice.o
|
/sound/firewire/digi00x/ |
D | digi00x-hwdep.c | 20 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 23 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_read() 63 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 66 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_poll() 136 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 138 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_release() 148 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 151 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_ioctl() 166 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 169 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 2 digi00x-pcm.o digi00x-hwdep.o \
|
/sound/firewire/oxfw/ |
D | oxfw-hwdep.c | 19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 22 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_read() 55 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 58 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_poll() 128 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 130 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_release() 140 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 143 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_ioctl() 158 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 161 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 2 oxfw-midi.o oxfw-hwdep.o oxfw-spkr.o oxfw-scs1x.o oxfw.o
|
/sound/firewire/motu/ |
D | motu-hwdep.c | 20 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 23 struct snd_motu *motu = hwdep->private_data; in hwdep_read() 62 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 65 struct snd_motu *motu = hwdep->private_data; in hwdep_poll() 135 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 137 struct snd_motu *motu = hwdep->private_data; in hwdep_release() 147 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 150 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl() 165 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 168 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 5 motu-proc.o motu-pcm.o motu-midi.o motu-hwdep.o \
|
/sound/firewire/fireface/ |
D | ff-hwdep.c | 19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 22 struct snd_ff *ff = hwdep->private_data; in hwdep_read() 55 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 58 struct snd_ff *ff = hwdep->private_data; in hwdep_poll() 128 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 130 struct snd_ff *ff = hwdep->private_data; in hwdep_release() 140 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 143 struct snd_ff *ff = hwdep->private_data; in hwdep_ioctl() 158 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 161 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 2 ff-stream.o ff-pcm.o ff-hwdep.o ff-protocol-ff400.o
|
/sound/pci/hda/ |
D | hda_hwdep.c | 110 struct snd_hwdep *hwdep; in snd_hda_create_hwdep() local 114 err = snd_hwdep_new(codec->card, hwname, codec->addr, &hwdep); in snd_hda_create_hwdep() 117 codec->hwdep = hwdep; in snd_hda_create_hwdep() 118 sprintf(hwdep->name, "HDA Codec %d", codec->addr); in snd_hda_create_hwdep() 119 hwdep->iface = SNDRV_HWDEP_IFACE_HDA; in snd_hda_create_hwdep() 120 hwdep->private_data = codec; in snd_hda_create_hwdep() 121 hwdep->exclusive = 1; in snd_hda_create_hwdep() 123 hwdep->ops.open = hda_hwdep_open; in snd_hda_create_hwdep() 124 hwdep->ops.ioctl = hda_hwdep_ioctl; in snd_hda_create_hwdep() 126 hwdep->ops.ioctl_compat = hda_hwdep_ioctl_compat; in snd_hda_create_hwdep() [all …]
|
D | Kconfig | 42 bool "Build hwdep interface for HD-audio driver" 45 Say Y here to build a hwdep interface for HD-audio driver.
|
/sound/firewire/fireworks/ |
D | fireworks_hwdep.c | 122 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 125 struct snd_efw *efw = hwdep->private_data; in hwdep_read() 158 hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in hwdep_write() argument 161 struct snd_efw *efw = hwdep->private_data; in hwdep_write() 188 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument 190 struct snd_efw *efw = hwdep->private_data; in hwdep_poll() 264 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 266 struct snd_efw *efw = hwdep->private_data; in hwdep_release() 277 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 280 struct snd_efw *efw = hwdep->private_data; in hwdep_ioctl() [all …]
|
/sound/drivers/opl3/ |
D | opl3_seq.c | 55 struct snd_hwdep *hwdep = opl3->hwdep; in snd_opl3_synth_setup() local 57 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup() 58 if (hwdep->used) { in snd_opl3_synth_setup() 59 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 62 hwdep->used++; in snd_opl3_synth_setup() 63 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 86 struct snd_hwdep *hwdep; in snd_opl3_synth_cleanup() local 97 hwdep = opl3->hwdep; in snd_opl3_synth_cleanup() 98 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup() 99 hwdep->used--; in snd_opl3_synth_cleanup() [all …]
|
/sound/synth/emux/ |
D | emux_hwdep.c | 130 emu->hwdep = hw; in snd_emux_init_hwdep() 152 if (emu->hwdep) { in snd_emux_delete_hwdep() 153 snd_device_free(emu->card, emu->hwdep); in snd_emux_delete_hwdep() 154 emu->hwdep = NULL; in snd_emux_delete_hwdep()
|
/sound/usb/line6/ |
D | driver.c | 577 line6_hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in line6_hwdep_read() argument 580 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_read() 615 line6_hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in line6_hwdep_write() argument 618 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_write() 662 struct snd_hwdep *hwdep; in line6_hwdep_init() local 671 err = snd_hwdep_new(line6->card, "config", 0, &hwdep); in line6_hwdep_init() 674 strcpy(hwdep->name, "config"); in line6_hwdep_init() 675 hwdep->iface = SNDRV_HWDEP_IFACE_LINE6; in line6_hwdep_init() 676 hwdep->ops = hwdep_ops; in line6_hwdep_init() 677 hwdep->private_data = line6; in line6_hwdep_init() [all …]
|
/sound/usb/ |
D | mixer_quirks.c | 253 struct snd_hwdep *hwdep; in snd_usb_soundblaster_remote_init() local 266 err = snd_hwdep_new(mixer->chip->card, "SB remote control", 0, &hwdep); in snd_usb_soundblaster_remote_init() 269 snprintf(hwdep->name, sizeof(hwdep->name), in snd_usb_soundblaster_remote_init() 271 hwdep->iface = SNDRV_HWDEP_IFACE_SB_RC; in snd_usb_soundblaster_remote_init() 272 hwdep->private_data = mixer; in snd_usb_soundblaster_remote_init() 273 hwdep->ops.read = snd_usb_sbrc_hwdep_read; in snd_usb_soundblaster_remote_init() 274 hwdep->ops.poll = snd_usb_sbrc_hwdep_poll; in snd_usb_soundblaster_remote_init() 275 hwdep->exclusive = 1; in snd_usb_soundblaster_remote_init()
|
/sound/pci/mixart/ |
D | mixart.h | 169 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member
|
/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 699 static void snd_usX2Y_hwdep_pcm_private_free(struct snd_hwdep *hwdep) in snd_usX2Y_hwdep_pcm_private_free() argument 701 struct usX2Ydev *usX2Y = hwdep->private_data; in snd_usX2Y_hwdep_pcm_private_free()
|
/sound/isa/sb/ |
D | sb16_csp.c | 168 static void snd_sb_csp_free(struct snd_hwdep *hwdep) in snd_sb_csp_free() argument 171 struct snd_sb_csp *p = hwdep->private_data; in snd_sb_csp_free()
|