Lines Matching refs:midi_hdr
52 static void init_midi_hdr(struct midi_hdr *midihdr) in init_midi_hdr()
59 static int midiin_add_buffer(struct emu10k1_mididevice *midi_dev, struct midi_hdr **midihdrptr) in midiin_add_buffer()
61 struct midi_hdr *midihdr; in midiin_add_buffer()
63 if ((midihdr = (struct midi_hdr *) kmalloc(sizeof(struct midi_hdr), GFP_KERNEL)) == NULL) { in midiin_add_buffer()
146 struct midi_hdr *midihdr1; in emu10k1_midi_open()
147 struct midi_hdr *midihdr2; in emu10k1_midi_open()
218 struct midi_hdr *midihdr; in emu10k1_midi_release()
229 midihdr = list_entry(midi_dev->mid_hdrs.next, struct midi_hdr, list); in emu10k1_midi_release()
327 struct midi_hdr *midihdr; in emu10k1_midi_write()
339 if ((midihdr = (struct midi_hdr *) kmalloc(sizeof(struct midi_hdr), GFP_KERNEL)) == NULL) in emu10k1_midi_write()
406 struct midi_hdr *midihdr = NULL; in emu10k1_midi_callback()
416 midihdr = (struct midi_hdr *) pmsg[2]; in emu10k1_midi_callback()
425 midihdr = (struct midi_hdr *) pmsg[2]; in emu10k1_midi_callback()
544 struct midi_hdr *midihdr; in emu10k1_seq_midi_out()
552 if ((midihdr = (struct midi_hdr *) kmalloc(sizeof(struct midi_hdr), GFP_KERNEL)) == NULL) in emu10k1_seq_midi_out()