Home
last modified time | relevance | path

Searched refs:midiq (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/sound/emu10k1/
Dcardmo.c69 struct midi_queue *midiq; in emu10k1_mpuout_close() local
80 midiq = card_mpuout->firstmidiq; in emu10k1_mpuout_close()
81 midihdr = (struct midi_hdr *) midiq->refdata; in emu10k1_mpuout_close()
83 card_mpuout->firstmidiq = midiq->next; in emu10k1_mpuout_close()
87 kfree(midiq); in emu10k1_mpuout_close()
109 struct midi_queue *midiq; in emu10k1_mpuout_add_buffer() local
120 if ((midiq = (struct midi_queue *) kmalloc(sizeof(struct midi_queue), GFP_KERNEL)) == NULL) { in emu10k1_mpuout_add_buffer()
125 midiq->next = NULL; in emu10k1_mpuout_add_buffer()
126 midiq->qtype = 1; in emu10k1_mpuout_add_buffer()
127 midiq->length = midihdr->bufferlength; in emu10k1_mpuout_add_buffer()
[all …]
Dcardmi.c130 struct midi_queue *midiq; in emu10k1_mpuin_add_buffer() local
139 if ((midiq = (struct midi_queue *) kmalloc(sizeof(struct midi_queue), GFP_ATOMIC)) == NULL) { in emu10k1_mpuin_add_buffer()
144 midiq->next = NULL; in emu10k1_mpuin_add_buffer()
145 midiq->qtype = 1; in emu10k1_mpuin_add_buffer()
146 midiq->length = midihdr->bufferlength; in emu10k1_mpuin_add_buffer()
147 midiq->sizeLeft = midihdr->bufferlength; in emu10k1_mpuin_add_buffer()
148 midiq->midibyte = midihdr->data; in emu10k1_mpuin_add_buffer()
149 midiq->refdata = (unsigned long) midihdr; in emu10k1_mpuin_add_buffer()
154 card_mpuin->firstmidiq = midiq; in emu10k1_mpuin_add_buffer()
155 card_mpuin->lastmidiq = midiq; in emu10k1_mpuin_add_buffer()
[all …]
Dcardmi.h73 struct midi_data midiq[MIDIIN_MAX_BUFFER_SIZE]; member