Home
last modified time | relevance | path

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

/linux-6.1.9/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
/linux-6.1.9/sound/drivers/opl3/
Dopl3_lib.c528 sizeof(struct snd_opl3 *), &opl3->seq_dev) >= 0) { in snd_opl3_hwdep_new()
529 strcpy(opl3->seq_dev->name, hw->name); in snd_opl3_hwdep_new()
530 *(struct snd_opl3 **)SNDRV_SEQ_DEVICE_ARGPTR(opl3->seq_dev) = opl3; in snd_opl3_hwdep_new()
/linux-6.1.9/include/sound/
Drawmidi.h137 struct snd_seq_device *seq_dev; member
Dopl3.h312 struct snd_seq_device *seq_dev; /* sequencer device */ member
/linux-6.1.9/sound/core/seq/
Dseq_clientmgr.c2519 static struct device seq_dev; variable
2528 snd_device_initialize(&seq_dev, NULL); in snd_sequencer_device_init()
2529 dev_set_name(&seq_dev, "seq"); in snd_sequencer_device_init()
2533 &snd_seq_f_ops, NULL, &seq_dev); in snd_sequencer_device_init()
2536 put_device(&seq_dev); in snd_sequencer_device_init()
2550 snd_unregister_device(&seq_dev); in snd_sequencer_device_done()
2551 put_device(&seq_dev); in snd_sequencer_device_done()
/linux-6.1.9/sound/core/
Drawmidi.c1925 rmidi->seq_dev = NULL; in snd_rawmidi_dev_seq_free()
2001 …if (snd_seq_device_new(rmidi->card, rmidi->device, SNDRV_SEQ_DEV_ID_MIDISYNTH, 0, &rmidi->seq_dev)… in snd_rawmidi_dev_register()
2002 rmidi->seq_dev->private_data = rmidi; in snd_rawmidi_dev_register()
2003 rmidi->seq_dev->private_free = snd_rawmidi_dev_seq_free; in snd_rawmidi_dev_register()
2004 sprintf(rmidi->seq_dev->name, "MIDI %d-%d", rmidi->card->number, rmidi->device); in snd_rawmidi_dev_register()
2005 snd_device_register(rmidi->card, rmidi->seq_dev); in snd_rawmidi_dev_register()