• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/pci/rme9652/

Lines Matching defs:midi

440         struct hdsp_midi      midi[2];
1420 hdsp->midi[id].id = id;
1421 hdsp->midi[id].rmidi = NULL;
1422 hdsp->midi[id].input = NULL;
1423 hdsp->midi[id].output = NULL;
1424 hdsp->midi[id].hdsp = hdsp;
1425 hdsp->midi[id].istimer = 0;
1426 hdsp->midi[id].pending = 0;
1427 spin_lock_init (&hdsp->midi[id].lock);
1430 if (snd_rawmidi_new (card, buf, id, 1, 1, &hdsp->midi[id].rmidi) < 0)
1433 sprintf (hdsp->midi[id].rmidi->name, "%s MIDI %d", card->id, id+1);
1434 hdsp->midi[id].rmidi->private_data = &hdsp->midi[id];
1436 snd_rawmidi_set_ops (hdsp->midi[id].rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_hdsp_midi_output);
1437 snd_rawmidi_set_ops (hdsp->midi[id].rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_hdsp_midi_input);
1439 hdsp->midi[id].rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT |
3715 if (hdsp->midi[0].pending)
3716 snd_hdsp_midi_input_read (&hdsp->midi[0]);
3717 if (hdsp->midi[1].pending)
3718 snd_hdsp_midi_input_read (&hdsp->midi[1]);
3759 hdsp->midi[0].pending = 1;
3762 snd_hdsp_midi_input_read (&hdsp->midi[0]);
3770 hdsp->midi[1].pending = 1;
3773 snd_hdsp_midi_input_read (&hdsp->midi[1]);
4856 snd_printk(KERN_ERR "Hammerfall-DSP: Error creating first midi interface\n");
4862 snd_printk(KERN_ERR "Hammerfall-DSP: Error creating second midi interface\n");
4985 hdsp->midi[0].rmidi = NULL;
4986 hdsp->midi[1].rmidi = NULL;
4987 hdsp->midi[0].input = NULL;
4988 hdsp->midi[1].input = NULL;
4989 hdsp->midi[0].output = NULL;
4990 hdsp->midi[1].output = NULL;
4991 hdsp->midi[0].pending = 0;
4992 hdsp->midi[1].pending = 0;
4993 spin_lock_init(&hdsp->midi[0].lock);
4994 spin_lock_init(&hdsp->midi[1].lock);