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

/linux-4.4.14/drivers/misc/
H A Dhpilo.c69 struct fifo *fifo_q = FIFOBARTOHANDLE(fifobar); fifo_enqueue() local
74 if (!(fifo_q->fifobar[(fifo_q->tail + 1) & fifo_q->imask] fifo_enqueue()
76 fifo_q->fifobar[fifo_q->tail & fifo_q->imask] |= fifo_enqueue()
77 (entry & ENTRY_MASK_NOSTATE) | fifo_q->merge; fifo_enqueue()
78 fifo_q->tail += 1; fifo_enqueue()
88 struct fifo *fifo_q = FIFOBARTOHANDLE(fifobar); fifo_dequeue() local
94 c = fifo_q->fifobar[fifo_q->head & fifo_q->imask]; fifo_dequeue()
99 fifo_q->fifobar[fifo_q->head & fifo_q->imask] = fifo_dequeue()
101 fifo_q->head += 1; fifo_dequeue()
111 struct fifo *fifo_q = FIFOBARTOHANDLE(fifobar); fifo_check_recv() local
117 c = fifo_q->fifobar[fifo_q->head & fifo_q->imask]; fifo_check_recv()
211 struct fifo *fifo_q = base_addr; fifo_setup() local
215 fifo_q->head = 0; fifo_setup()
216 fifo_q->tail = 0; fifo_setup()
217 fifo_q->reset = 0; fifo_setup()
218 fifo_q->nrents = nr_entry; fifo_setup()
219 fifo_q->imask = nr_entry - 1; fifo_setup()
220 fifo_q->merge = ENTRY_MASK_O; fifo_setup()
223 fifo_q->fifobar[i] = 0; fifo_setup()

Completed in 55 milliseconds