Lines Matching refs:head
156 if (info->xmit.head != info->xmit.tail
276 if (info->xmit.head == info->xmit.tail
290 if (CIRC_CNT(info->xmit.head,
298 if (info->xmit.head == info->xmit.tail) {
498 info->xmit.head = info->xmit.tail = 0;
710 if (CIRC_SPACE(info->xmit.head,
717 info->xmit.buf[info->xmit.head++] = ch;
718 info->xmit.head &= UART_XMIT_SIZE - 1;
728 if (info->xmit.head == info->xmit.tail
755 c = CIRC_SPACE_TO_END(info->xmit.head,
763 memcpy(info->xmit.buf + info->xmit.head, buf, c);
764 info->xmit.head = (info->xmit.head + c) & (UART_XMIT_SIZE - 1);
771 if (info->xmit.head != info->xmit.tail
791 return CIRC_SPACE(info->xmit.head, info->xmit.tail, UART_XMIT_SIZE);
798 return CIRC_CNT(info->xmit.head, info->xmit.tail, UART_XMIT_SIZE);
807 info->xmit.head = info->xmit.tail = 0;