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

/linux-master/drivers/comedi/drivers/
H A Ddt3000.c277 int rear; local
287 rear = devpriv->ai_rear;
290 data = readw(dev->mmio + DPR_ADC_BUFFER + rear);
292 rear++;
293 if (rear >= DPR_AI_FIFO_DEPTH)
294 rear = 0;
297 devpriv->ai_rear = rear;
298 writew(rear, dev->mmio + DPR_AD_BUF_REAR);
/linux-master/drivers/crypto/cavium/cpt/
H A Dcptvf.h79 u32 rear; /* Append new work here */ member in struct:pending_queue
H A Dcptvf_reqmanager.c20 ent = &q->head[q->rear];
26 q->rear++;
27 if (unlikely(q->rear == qlen))
28 q->rear = 0;
494 dev_err(&pdev->dev, "queue: %d, rear: %d, front: %d\n",
495 queue, pqueue->rear, pqueue->front);
H A Dcptvf_main.c94 queue->rear = 0;
121 queue->rear = 0;
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_reqmgr.c51 ent = &q->head[q->rear];
55 q->rear++;
56 if (unlikely(q->rear == qlen))
57 q->rear = 0;
H A Dotx2_cpt_reqmgr.h96 u32 rear; /* Append new work here */ member in struct:otx2_cpt_pending_queue
/linux-master/sound/oss/dmasound/
H A Ddmasound_core.c530 sq->rear = -1;
587 * also that write_sq.rear isn't affected by the interrupt.)
606 dest = write_sq.buffers[write_sq.rear];
647 dest = write_sq.buffers[(write_sq.rear+1) % write_sq.max_count];
658 write_sq.rear = (write_sq.rear+1) % write_sq.max_count;
823 /* write_sq.front = (write_sq.rear+1) % write_sq.max_count;*/
825 write_sq.rear = -1 ; /* same as for set-up */
1311 write_sq.max_active, write_sq.front, write_sq.rear,
H A Ddmasound.h221 int front, rear, count; member in struct:sound_queue
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.h151 u32 rear; /* Append new work here */ member in struct:otx_cpt_pending_queue
H A Dotx_cptvf_reqmgr.c63 ent = &q->head[q->rear];
67 q->rear++;
68 if (unlikely(q->rear == qlen))
69 q->rear = 0;
H A Dotx_cptvf_main.c87 queue->rear = 0;
111 queue->rear = 0;
/linux-master/arch/microblaze/kernel/
H A Dentry.S574 mfs r4, rear /* EAR */
603 mfs r6, rear /* parameter unsigned long address */
615 mfs r6, rear /* parameter unsigned long address */
973 mfs r11, rear;
1105 mfs r12, rear
H A Dhw_exception_handler.S334 mfs r3, rear;
/linux-master/kernel/locking/
H A Dlockdep.c1455 unsigned int front, rear; member in struct:circular_queue
1466 cq->front = cq->rear = 0;
1472 return (cq->front == cq->rear);
1477 return ((cq->rear + 1) & CQ_MASK) == cq->front;
1485 cq->element[cq->rear] = elem;
1486 cq->rear = (cq->rear + 1) & CQ_MASK;
1509 return (cq->rear - cq->front) & CQ_MASK;

Completed in 178 milliseconds