• Home
  • Raw
  • Download

Lines Matching refs:midi

462         struct hdsp_midi      midi[2];  member
1531 hdsp->midi[id].id = id; in snd_hdsp_create_midi()
1532 hdsp->midi[id].rmidi = NULL; in snd_hdsp_create_midi()
1533 hdsp->midi[id].input = NULL; in snd_hdsp_create_midi()
1534 hdsp->midi[id].output = NULL; in snd_hdsp_create_midi()
1535 hdsp->midi[id].hdsp = hdsp; in snd_hdsp_create_midi()
1536 hdsp->midi[id].istimer = 0; in snd_hdsp_create_midi()
1537 hdsp->midi[id].pending = 0; in snd_hdsp_create_midi()
1538 spin_lock_init (&hdsp->midi[id].lock); in snd_hdsp_create_midi()
1541 if (snd_rawmidi_new (card, buf, id, 1, 1, &hdsp->midi[id].rmidi) < 0) in snd_hdsp_create_midi()
1544 sprintf(hdsp->midi[id].rmidi->name, "HDSP MIDI %d", id+1); in snd_hdsp_create_midi()
1545 hdsp->midi[id].rmidi->private_data = &hdsp->midi[id]; in snd_hdsp_create_midi()
1547 snd_rawmidi_set_ops (hdsp->midi[id].rmidi, SNDRV_RAWMIDI_STREAM_OUTPUT, &snd_hdsp_midi_output); in snd_hdsp_create_midi()
1548 snd_rawmidi_set_ops (hdsp->midi[id].rmidi, SNDRV_RAWMIDI_STREAM_INPUT, &snd_hdsp_midi_input); in snd_hdsp_create_midi()
1550 hdsp->midi[id].rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | in snd_hdsp_create_midi()
3881 if (hdsp->midi[0].pending) in hdsp_midi_tasklet()
3882 snd_hdsp_midi_input_read (&hdsp->midi[0]); in hdsp_midi_tasklet()
3883 if (hdsp->midi[1].pending) in hdsp_midi_tasklet()
3884 snd_hdsp_midi_input_read (&hdsp->midi[1]); in hdsp_midi_tasklet()
3928 hdsp->midi[0].pending = 1; in snd_hdsp_interrupt()
3931 snd_hdsp_midi_input_read (&hdsp->midi[0]); in snd_hdsp_interrupt()
3939 hdsp->midi[1].pending = 1; in snd_hdsp_interrupt()
3942 snd_hdsp_midi_input_read (&hdsp->midi[1]); in snd_hdsp_interrupt()
5198 hdsp->midi[0].rmidi = NULL; in snd_hdsp_create()
5199 hdsp->midi[1].rmidi = NULL; in snd_hdsp_create()
5200 hdsp->midi[0].input = NULL; in snd_hdsp_create()
5201 hdsp->midi[1].input = NULL; in snd_hdsp_create()
5202 hdsp->midi[0].output = NULL; in snd_hdsp_create()
5203 hdsp->midi[1].output = NULL; in snd_hdsp_create()
5204 hdsp->midi[0].pending = 0; in snd_hdsp_create()
5205 hdsp->midi[1].pending = 0; in snd_hdsp_create()
5206 spin_lock_init(&hdsp->midi[0].lock); in snd_hdsp_create()
5207 spin_lock_init(&hdsp->midi[1].lock); in snd_hdsp_create()