Lines Matching refs:xmit
72 struct circ_buf xmit;
89 /* number of characters left in xmit buffer before we ask for more */
156 if (info->xmit.head != info->xmit.tail
157 && info->xmit.buf
276 if (info->xmit.head == info->xmit.tail
285 amiga_custom.serdat = info->xmit.buf[info->xmit.tail++] | 0x100;
287 info->xmit.tail = info->xmit.tail & (UART_XMIT_SIZE - 1);
290 if (CIRC_CNT(info->xmit.head,
291 info->xmit.tail,
298 if (info->xmit.head == info->xmit.tail) {
461 if (info->xmit.buf)
464 info->xmit.buf = (unsigned char *) page;
498 info->xmit.head = info->xmit.tail = 0;
542 free_page((unsigned long)info->xmit.buf);
543 info->xmit.buf = NULL;
706 if (!info->xmit.buf)
710 if (CIRC_SPACE(info->xmit.head,
711 info->xmit.tail,
717 info->xmit.buf[info->xmit.head++] = ch;
718 info->xmit.head &= UART_XMIT_SIZE - 1;
728 if (info->xmit.head == info->xmit.tail
731 || !info->xmit.buf)
750 if (!info->xmit.buf)
755 c = CIRC_SPACE_TO_END(info->xmit.head,
756 info->xmit.tail,
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;