Lines Matching defs:head
344 #define IS_BUSY(chan) (CIRC_SPACE(bchan->tail, bchan->head,\
363 unsigned short head; /* start of active descriptor entries */
528 bchan->head = 0;
730 LIST_HEAD(head);
759 vchan_get_all_descriptors(&bchan->vc, &head);
762 vchan_dma_desc_free_list(&bchan->vc, &head);
856 avail = CIRC_CNT(offset, bchan->head, MAX_DESCRIPTORS + 1);
858 if (offset < bchan->head)
868 bchan->head += async_desc->xfer_len;
869 bchan->head %= MAX_DESCRIPTORS;
1050 avail = CIRC_SPACE(bchan->tail, bchan->head,