Home
last modified time | relevance | path

Searched refs:seq_dev (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/sound/drivers/opl4/
Dopl4_lib.c144 static void snd_opl4_seq_dev_free(struct snd_seq_device *seq_dev) in snd_opl4_seq_dev_free() argument
146 struct snd_opl4 *opl4 = seq_dev->private_data; in snd_opl4_seq_dev_free()
147 opl4->seq_dev = NULL; in snd_opl4_seq_dev_free()
154 sizeof(struct snd_opl4 *), &opl4->seq_dev) >= 0) { in snd_opl4_create_seq_dev()
155 strcpy(opl4->seq_dev->name, "OPL4 Wavetable"); in snd_opl4_create_seq_dev()
156 *(struct snd_opl4 **)SNDRV_SEQ_DEVICE_ARGPTR(opl4->seq_dev) = opl4; in snd_opl4_create_seq_dev()
157 opl4->seq_dev->private_data = opl4; in snd_opl4_create_seq_dev()
158 opl4->seq_dev->private_free = snd_opl4_seq_dev_free; in snd_opl4_create_seq_dev()
Dopl4_local.h192 struct snd_seq_device *seq_dev; member
/kernel/linux/linux-5.10/sound/drivers/opl3/
Dopl3_lib.c516 sizeof(struct snd_opl3 *), &opl3->seq_dev) >= 0) { in snd_opl3_hwdep_new()
517 strcpy(opl3->seq_dev->name, hw->name); in snd_opl3_hwdep_new()
518 *(struct snd_opl3 **)SNDRV_SEQ_DEVICE_ARGPTR(opl3->seq_dev) = opl3; in snd_opl3_hwdep_new()
/kernel/linux/linux-5.10/include/sound/
Drawmidi.h134 struct snd_seq_device *seq_dev; member
Dopl3.h312 struct snd_seq_device *seq_dev; /* sequencer device */ member
/kernel/linux/linux-5.10/sound/core/
Drawmidi.c1762 rmidi->seq_dev = NULL; in snd_rawmidi_dev_seq_free()
1838 …if (snd_seq_device_new(rmidi->card, rmidi->device, SNDRV_SEQ_DEV_ID_MIDISYNTH, 0, &rmidi->seq_dev)… in snd_rawmidi_dev_register()
1839 rmidi->seq_dev->private_data = rmidi; in snd_rawmidi_dev_register()
1840 rmidi->seq_dev->private_free = snd_rawmidi_dev_seq_free; in snd_rawmidi_dev_register()
1841 sprintf(rmidi->seq_dev->name, "MIDI %d-%d", rmidi->card->number, rmidi->device); in snd_rawmidi_dev_register()
1842 snd_device_register(rmidi->card, rmidi->seq_dev); in snd_rawmidi_dev_register()
/kernel/linux/linux-5.10/sound/core/seq/
Dseq_clientmgr.c2503 static struct device seq_dev; variable
2512 snd_device_initialize(&seq_dev, NULL); in snd_sequencer_device_init()
2513 dev_set_name(&seq_dev, "seq"); in snd_sequencer_device_init()
2517 &snd_seq_f_ops, NULL, &seq_dev); in snd_sequencer_device_init()
2520 put_device(&seq_dev); in snd_sequencer_device_init()
2534 snd_unregister_device(&seq_dev); in snd_sequencer_device_done()
2535 put_device(&seq_dev); in snd_sequencer_device_done()