Searched refs:qhead (Results 1 - 14 of 14) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dpas2_midi.c31 static volatile unsigned char qhead, qtail; variable
89 qlen = qhead = qtail = 0;
138 while (qlen && dump_to_midi(tmp_queue[qhead]))
141 qhead++;
249 while (qlen && dump_to_midi(tmp_queue[qhead]))
252 qhead++;
H A Ddmabuf.c169 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0;
374 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0;
391 dmap->qlen = dmap->qhead = dmap->qtail = dmap->user_counter = 0;
414 if (dmap->counts[dmap->qhead] == 0)
415 dmap->counts[dmap->qhead] = dmap->fragment_size;
417 adev->d->output_block(dev, dmap->raw_buf_phys + dmap->qhead * dmap->fragment_size,
418 dmap->counts[dmap->qhead], 1);
602 *buf = &dmap->raw_buf[dmap->qhead * dmap->fragment_size + dmap->counts[dmap->qhead]];
603 *len = dmap->fragment_size - dmap->counts[dmap->qhead];
[all...]
H A Daudio.c511 if (count < dmap->fragment_size && dmap->qhead != 0)
809 info.bytes -= dmap->counts[dmap->qhead];
860 dmap_out->counts[dmap_out->qhead] = dmap_out->fragment_size;
903 if (cinfo.ptr < dmap_out->fragment_size && dmap_out->qhead != 0)
925 if (count < dmap_out->fragment_size && dmap_out->qhead != 0)
H A Dsequencer.c67 static volatile int qhead, qtail, qlen; variable
880 qhead = ((this_one = qhead) + 1) % SEQ_MAX_QUEUE;
891 qhead = this_one;
1244 qlen = qhead = qtail = 0;
H A Ddev_table.h112 int qhead; member in struct:dma_buffparms
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/emu10k1/
H A Dcardmi.h72 unsigned qhead, qtail; member in struct:emu10k1_mpuin
H A Dcardmi.c113 card_mpuin->qhead = 0;
210 card_mpuin->qhead = 0;
340 while (card_mpuin->qhead != card_mpuin->qtail) {
342 idx = card_mpuin->qhead;
346 card_mpuin->qhead = idx;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/cifs/
H A Dcifsglob.h389 struct list_head qhead; /* mids waiting on reply from this server */ member in struct:mid_q_entry
409 struct list_head qhead; member in struct:oplock_q_entry
H A Dtransport.c71 list_add_tail(&temp->qhead, &ses->server->pending_mid_q);
86 list_del(&midEntry->qhead);
129 list_add_tail(&temp->qhead, &GlobalOplock_Q);
140 list_del(&oplockEntry->qhead);
H A Dmisc.c267 mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
H A Dcifs_debug.c81 mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
182 qhead);
H A Dcifsfs.c860 struct oplock_q_entry, qhead);
H A Dconnect.c174 qhead);
575 mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
709 mid_entry = list_entry(tmp, struct mid_q_entry, qhead);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dtimer.c58 int qhead; member in struct:snd_timer_user
1644 tu->qhead = tu->qtail = tu->qused = 0;
1854 if (copy_to_user(buffer, &tu->tqueue[tu->qhead++],
1860 if (copy_to_user(buffer, &tu->queue[tu->qhead++],
1867 tu->qhead %= tu->queue_size;

Completed in 118 milliseconds