Lines Matching refs:pms
240 struct pcmidi_sustain *pms = from_timer(pms, t, timer); in pcmidi_sustained_note_release() local
242 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); in pcmidi_sustained_note_release()
243 pms->in_use = 0; in pcmidi_sustained_note_release()
248 struct pcmidi_sustain *pms; in init_sustain_timers() local
252 pms = &pm->sustained_notes[i]; in init_sustain_timers()
253 pms->in_use = 0; in init_sustain_timers()
254 pms->pm = pm; in init_sustain_timers()
255 timer_setup(&pms->timer, pcmidi_sustained_note_release, 0); in init_sustain_timers()
261 struct pcmidi_sustain *pms; in stop_sustain_timers() local
265 pms = &pm->sustained_notes[i]; in stop_sustain_timers()
266 pms->in_use = 1; in stop_sustain_timers()
267 del_timer_sync(&pms->timer); in stop_sustain_timers()
338 struct pcmidi_sustain *pms; in pcmidi_handle_report3() local
360 pms = &pm->sustained_notes[i]; in pcmidi_handle_report3()
361 if (!pms->in_use) { in pcmidi_handle_report3()
362 pms->status = status; in pcmidi_handle_report3()
363 pms->note = note; in pcmidi_handle_report3()
364 pms->velocity = velocity; in pcmidi_handle_report3()
365 pms->in_use = 1; in pcmidi_handle_report3()
367 mod_timer(&pms->timer, in pcmidi_handle_report3()