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