Lines Matching defs:head
371 u32 head = __pos_inc(info->head, info->size);
373 desc_info = &info->desc_info[info->head];
374 if (head == info->tail)
390 u32 head = __pos_inc(info->head, info->size);
392 BUG_ON(head == info->tail);
394 info->head = head;
395 rocker_write32(rocker, DMA_DESC_HEAD(info->type), head);
403 if (info->tail == info->head)
404 return NULL; /* nothing to be done between head and tail */
437 info->head = 0;
479 BUG_ON(info->head || info->tail);
481 /* When ring is consumer, we need to advance head for each desc.