/kernel/linux/linux-5.10/sound/core/ |
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() 299 struct snd_hwdep *hwdep; in snd_hwdep_control_ioctl() local 304 hwdep = snd_hwdep_search(card, device); in snd_hwdep_control_ioctl() 305 if (hwdep) in snd_hwdep_control_ioctl() 306 err = snd_hwdep_info(hwdep, info); in snd_hwdep_control_ioctl() 361 struct snd_hwdep *hwdep; in snd_hwdep_new() local 373 hwdep = kzalloc(sizeof(*hwdep), GFP_KERNEL); in snd_hwdep_new() [all …]
|
D | Makefile | 36 snd-hwdep-objs := hwdep.o 42 obj-$(CONFIG_SND_HWDEP) += snd-hwdep.o
|
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
D | bebob_hwdep.c | 19 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 22 struct snd_bebob *bebob = hwdep->private_data; in hwdep_read() 55 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument 57 struct snd_bebob *bebob = hwdep->private_data; in hwdep_poll() 131 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 133 struct snd_bebob *bebob = hwdep->private_data; in hwdep_release() 144 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 147 struct snd_bebob *bebob = hwdep->private_data; in hwdep_ioctl() 163 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 166 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
/kernel/linux/linux-5.10/sound/firewire/fireface/ |
D | ff-hwdep.c | 18 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 21 struct snd_ff *ff = hwdep->private_data; in hwdep_read() 54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 57 struct snd_ff *ff = hwdep->private_data; in hwdep_poll() 127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 129 struct snd_ff *ff = hwdep->private_data; in hwdep_release() 139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 142 struct snd_ff *ff = hwdep->private_data; in hwdep_ioctl() 157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 160 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 3 ff-stream.o ff-pcm.o ff-hwdep.o ff-protocol-former.o \
|
/kernel/linux/linux-5.10/sound/firewire/digi00x/ |
D | digi00x-hwdep.c | 19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 22 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_read() 62 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 65 struct snd_dg00x *dg00x = 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_dg00x *dg00x = 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_dg00x *dg00x = 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 | 3 digi00x-pcm.o digi00x-hwdep.o \
|
/kernel/linux/linux-5.10/sound/firewire/dice/ |
D | dice-hwdep.c | 11 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, in hwdep_read() argument 14 struct snd_dice *dice = hwdep->private_data; in hwdep_read() 54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 57 struct snd_dice *dice = hwdep->private_data; in hwdep_poll() 127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 129 struct snd_dice *dice = hwdep->private_data; in hwdep_release() 139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 142 struct snd_dice *dice = hwdep->private_data; in hwdep_ioctl() 157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 160 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 3 dice-pcm.o dice-hwdep.o dice.o dice-tcelectronic.o \
|
/kernel/linux/linux-5.10/sound/firewire/oxfw/ |
D | oxfw-hwdep.c | 18 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 21 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_read() 54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 57 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_poll() 127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 129 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_release() 139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 142 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_ioctl() 157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 160 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 3 oxfw-midi.o oxfw-hwdep.o oxfw-spkr.o oxfw-scs1x.o oxfw.o
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
D | motu-hwdep.c | 19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 22 struct snd_motu *motu = hwdep->private_data; in hwdep_read() 61 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 64 struct snd_motu *motu = hwdep->private_data; in hwdep_poll() 134 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 136 struct snd_motu *motu = hwdep->private_data; in hwdep_release() 146 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 149 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl() 164 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 167 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 \
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | hda_hwdep.c | 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() [all …]
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
D | tascam-hwdep.c | 98 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument 101 struct snd_tscm *tscm = hwdep->private_data; in hwdep_read() 129 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument 132 struct snd_tscm *tscm = hwdep->private_data; in hwdep_poll() 210 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument 212 struct snd_tscm *tscm = hwdep->private_data; in hwdep_release() 222 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument 225 struct snd_tscm *tscm = hwdep->private_data; in hwdep_ioctl() 242 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument 245 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl() [all …]
|
D | Makefile | 3 tascam-pcm.o tascam-hwdep.o tascam-transaction.o \
|
D | tascam.h | 96 struct snd_hwdep *hwdep; member
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/sound/drivers/opl3/ |
D | opl3_seq.c | 41 struct snd_hwdep *hwdep = opl3->hwdep; in snd_opl3_synth_setup() local 43 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_setup() 44 if (hwdep->used) { in snd_opl3_synth_setup() 45 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 48 hwdep->used++; in snd_opl3_synth_setup() 49 mutex_unlock(&hwdep->open_mutex); in snd_opl3_synth_setup() 72 struct snd_hwdep *hwdep; in snd_opl3_synth_cleanup() local 83 hwdep = opl3->hwdep; in snd_opl3_synth_cleanup() 84 mutex_lock(&hwdep->open_mutex); in snd_opl3_synth_cleanup() 85 hwdep->used--; in snd_opl3_synth_cleanup() [all …]
|
/kernel/linux/linux-5.10/sound/usb/line6/ |
D | driver.c | 560 line6_hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in line6_hwdep_read() argument 563 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_read() 601 line6_hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in line6_hwdep_write() argument 604 struct usb_line6 *line6 = hwdep->private_data; in line6_hwdep_write() 624 line6_hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in line6_hwdep_poll() argument 627 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 strcpy(hwdep->name, "config"); in line6_hwdep_init() 677 hwdep->iface = SNDRV_HWDEP_IFACE_LINE6; in line6_hwdep_init() [all …]
|
/kernel/linux/linux-5.10/sound/synth/emux/ |
D | emux_hwdep.c | 121 emu->hwdep = hw; in snd_emux_init_hwdep() 143 if (emu->hwdep) { in snd_emux_delete_hwdep() 144 snd_device_free(emu->card, emu->hwdep); in snd_emux_delete_hwdep() 145 emu->hwdep = NULL; in snd_emux_delete_hwdep()
|
/kernel/linux/linux-5.10/include/sound/ |
D | hwdep.h | 55 void (*private_free) (struct snd_hwdep *hwdep);
|
D | emux_synth.h | 93 struct snd_hwdep *hwdep; /* hwdep device */ member
|
D | opl3.h | 300 struct snd_hwdep *hwdep; member
|
/kernel/linux/linux-5.10/sound/pci/mixart/ |
D | mixart.h | 156 struct snd_hwdep *hwdep; /* DSP loader, only for the first card */ member
|