Lines Matching refs:tail
327 u32 eq, head, tail, nr_events;
337 * iProc MSI event queue is tracked by head and tail pointers. Head
340 * tail pointer as the next data insertion point.
342 * Entries between head and tail pointers contain valid MSI data. MSI
343 * data is guaranteed to be in the event queue memory before the tail
349 tail = iproc_msi_read_reg(msi, IPROC_MSI_EQ_TAIL,
356 nr_events = (tail < head) ?
357 (EQ_LEN - (head - tail)) : (tail - head);
377 * Now go read the tail pointer again to see if there are new