Searched refs:seq_dev (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/sound/drivers/opl4/ |
H A D | opl4_lib.c | 144 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()
|
H A D | opl4_local.h | 192 struct snd_seq_device *seq_dev; member
|
/openbmc/linux/sound/drivers/opl3/ |
H A D | opl3_lib.c | 528 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()
|
/openbmc/linux/sound/core/ |
H A D | ump.c | 178 ump->seq_dev = NULL; in snd_ump_dev_seq_free() 189 SNDRV_SEQ_DEV_ID_UMP, 0, &ump->seq_dev); in snd_ump_dev_register() 192 ump->seq_dev->private_data = ump; in snd_ump_dev_register() 193 ump->seq_dev->private_free = snd_ump_dev_seq_free; in snd_ump_dev_register() 194 snd_device_register(ump->core.card, ump->seq_dev); in snd_ump_dev_register()
|
H A D | rawmidi.c | 2013 rmidi->seq_dev = NULL; in snd_rawmidi_dev_seq_free() 2092 …if (snd_seq_device_new(rmidi->card, rmidi->device, SNDRV_SEQ_DEV_ID_MIDISYNTH, 0, &rmidi->seq_dev)… in snd_rawmidi_dev_register() 2093 rmidi->seq_dev->private_data = rmidi; in snd_rawmidi_dev_register() 2094 rmidi->seq_dev->private_free = snd_rawmidi_dev_seq_free; in snd_rawmidi_dev_register() 2095 sprintf(rmidi->seq_dev->name, "MIDI %d-%d", rmidi->card->number, rmidi->device); in snd_rawmidi_dev_register() 2096 snd_device_register(rmidi->card, rmidi->seq_dev); in snd_rawmidi_dev_register()
|
/openbmc/linux/include/sound/ |
H A D | rawmidi.h | 143 struct snd_seq_device *seq_dev; member
|
H A D | opl3.h | 312 struct snd_seq_device *seq_dev; /* sequencer device */ member
|
H A D | ump.h | 67 struct snd_seq_device *seq_dev; member
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_clientmgr.c | 2727 static struct device *seq_dev; variable 2736 err = snd_device_alloc(&seq_dev, NULL); in snd_sequencer_device_init() 2739 dev_set_name(seq_dev, "seq"); in snd_sequencer_device_init() 2743 &snd_seq_f_ops, NULL, seq_dev); in snd_sequencer_device_init() 2746 put_device(seq_dev); in snd_sequencer_device_init() 2760 snd_unregister_device(seq_dev); in snd_sequencer_device_done() 2761 put_device(seq_dev); in snd_sequencer_device_done()
|