Home
last modified time | relevance | path

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

/linux-4.4.14/sound/drivers/opl4/
Dopl4_lib.c157 static void snd_opl4_seq_dev_free(struct snd_seq_device *seq_dev) in snd_opl4_seq_dev_free() argument
159 struct snd_opl4 *opl4 = seq_dev->private_data; in snd_opl4_seq_dev_free()
160 opl4->seq_dev = NULL; in snd_opl4_seq_dev_free()
167 sizeof(struct snd_opl4 *), &opl4->seq_dev) >= 0) { in snd_opl4_create_seq_dev()
168 strcpy(opl4->seq_dev->name, "OPL4 Wavetable"); in snd_opl4_create_seq_dev()
169 *(struct snd_opl4 **)SNDRV_SEQ_DEVICE_ARGPTR(opl4->seq_dev) = opl4; in snd_opl4_create_seq_dev()
170 opl4->seq_dev->private_data = opl4; in snd_opl4_create_seq_dev()
171 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-4.4.14/sound/drivers/opl3/
Dopl3_lib.c533 sizeof(struct snd_opl3 *), &opl3->seq_dev) >= 0) { in snd_opl3_hwdep_new()
534 strcpy(opl3->seq_dev->name, hw->name); in snd_opl3_hwdep_new()
535 *(struct snd_opl3 **)SNDRV_SEQ_DEVICE_ARGPTR(opl3->seq_dev) = opl3; in snd_opl3_hwdep_new()
/linux-4.4.14/include/sound/
Drawmidi.h148 struct snd_seq_device *seq_dev; member
Dopl3.h330 struct snd_seq_device *seq_dev; /* sequencer device */ member
/linux-4.4.14/sound/core/
Drawmidi.c1617 rmidi->seq_dev = NULL; in snd_rawmidi_dev_seq_free()
1694 …if (snd_seq_device_new(rmidi->card, rmidi->device, SNDRV_SEQ_DEV_ID_MIDISYNTH, 0, &rmidi->seq_dev)… in snd_rawmidi_dev_register()
1695 rmidi->seq_dev->private_data = rmidi; in snd_rawmidi_dev_register()
1696 rmidi->seq_dev->private_free = snd_rawmidi_dev_seq_free; in snd_rawmidi_dev_register()
1697 sprintf(rmidi->seq_dev->name, "MIDI %d-%d", rmidi->card->number, rmidi->device); in snd_rawmidi_dev_register()
1698 snd_device_register(rmidi->card, rmidi->seq_dev); in snd_rawmidi_dev_register()
/linux-4.4.14/sound/core/seq/
Dseq_clientmgr.c2577 static struct device seq_dev; variable
2586 snd_device_initialize(&seq_dev, NULL); in snd_sequencer_device_init()
2587 dev_set_name(&seq_dev, "seq"); in snd_sequencer_device_init()
2593 &snd_seq_f_ops, NULL, &seq_dev); in snd_sequencer_device_init()
2596 put_device(&seq_dev); in snd_sequencer_device_init()
2612 snd_unregister_device(&seq_dev); in snd_sequencer_device_done()
2613 put_device(&seq_dev); in snd_sequencer_device_done()