Home
last modified time | relevance | path

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

/linux-2.6.39/sound/drivers/opl4/
Dopl4_lib.c156 static void snd_opl4_seq_dev_free(struct snd_seq_device *seq_dev) in snd_opl4_seq_dev_free() argument
158 struct snd_opl4 *opl4 = seq_dev->private_data; in snd_opl4_seq_dev_free()
159 opl4->seq_dev = NULL; in snd_opl4_seq_dev_free()
166 sizeof(struct snd_opl4 *), &opl4->seq_dev) >= 0) { in snd_opl4_create_seq_dev()
167 strcpy(opl4->seq_dev->name, "OPL4 Wavetable"); in snd_opl4_create_seq_dev()
168 *(struct snd_opl4 **)SNDRV_SEQ_DEVICE_ARGPTR(opl4->seq_dev) = opl4; in snd_opl4_create_seq_dev()
169 opl4->seq_dev->private_data = opl4; in snd_opl4_create_seq_dev()
170 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-2.6.39/sound/drivers/opl3/
Dopl3_lib.c534 sizeof(struct snd_opl3 *), &opl3->seq_dev) >= 0) { in snd_opl3_hwdep_new()
535 strcpy(opl3->seq_dev->name, hw->name); in snd_opl3_hwdep_new()
536 *(struct snd_opl3 **)SNDRV_SEQ_DEVICE_ARGPTR(opl3->seq_dev) = opl3; in snd_opl3_hwdep_new()
/linux-2.6.39/include/sound/
Drawmidi.h144 struct snd_seq_device *seq_dev; member
Dopl3.h330 struct snd_seq_device *seq_dev; /* sequencer device */ member
/linux-2.6.39/sound/core/
Drawmidi.c1540 rmidi->seq_dev = NULL; in snd_rawmidi_dev_seq_free()
1613 …if (snd_seq_device_new(rmidi->card, rmidi->device, SNDRV_SEQ_DEV_ID_MIDISYNTH, 0, &rmidi->seq_dev)… in snd_rawmidi_dev_register()
1614 rmidi->seq_dev->private_data = rmidi; in snd_rawmidi_dev_register()
1615 rmidi->seq_dev->private_free = snd_rawmidi_dev_seq_free; in snd_rawmidi_dev_register()
1616 sprintf(rmidi->seq_dev->name, "MIDI %d-%d", rmidi->card->number, rmidi->device); in snd_rawmidi_dev_register()
1617 snd_device_register(rmidi->card, rmidi->seq_dev); in snd_rawmidi_dev_register()