Lines Matching refs:midihdr
70 struct midi_hdr *midihdr; in emu10k1_mpuout_close() local
81 midihdr = (struct midi_hdr *) midiq->refdata; in emu10k1_mpuout_close()
85 kfree(midihdr->data); in emu10k1_mpuout_close()
86 kfree(midihdr); in emu10k1_mpuout_close()
106 int emu10k1_mpuout_add_buffer(struct emu10k1_card *card, struct midi_hdr *midihdr) in emu10k1_mpuout_add_buffer() argument
117 midihdr->flags |= MIDIBUF_INQUEUE; in emu10k1_mpuout_add_buffer()
118 midihdr->flags &= ~MIDIBUF_DONE; in emu10k1_mpuout_add_buffer()
127 midiq->length = midihdr->bufferlength; in emu10k1_mpuout_add_buffer()
128 midiq->sizeLeft = midihdr->bufferlength; in emu10k1_mpuout_add_buffer()
129 midiq->midibyte = midihdr->data; in emu10k1_mpuout_add_buffer()
131 midiq->refdata = (unsigned long) midihdr; in emu10k1_mpuout_add_buffer()