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
274 if (info->xmit.head == info->xmit.tail
283 amiga_custom.serdat = info->xmit.buf[info->xmit.tail++] | 0x100;
285 info->xmit.tail = info->xmit.tail & (UART_XMIT_SIZE - 1);
288 if (CIRC_CNT(info->xmit.head,
289 info->xmit.tail,
296 if (info->xmit.head == info->xmit.tail) {
459 if (info->xmit.buf)
462 info->xmit.buf = (unsigned char *) page;
496 info->xmit.head = info->xmit.tail = 0;
540 free_page((unsigned long)info->xmit.buf);
541 info->xmit.buf = NULL;
704 if (!info->xmit.buf)
708 if (CIRC_SPACE(info->xmit.head,
709 info->xmit.tail,
715 info->xmit.buf[info->xmit.head++] = ch;
716 info->xmit.head &= UART_XMIT_SIZE - 1;
726 if (info->xmit.head == info->xmit.tail
729 || !info->xmit.buf)
748 if (!info->xmit.buf)
753 c = CIRC_SPACE_TO_END(info->xmit.head,
754 info->xmit.tail,
761 memcpy(info->xmit.buf + info->xmit.head, buf, c);
762 info->xmit.head = (info->xmit.head + c) & (UART_XMIT_SIZE - 1);
769 if (info->xmit.head != info->xmit.tail
789 return CIRC_SPACE(info->xmit.head, info->xmit.tail, UART_XMIT_SIZE);
796 return CIRC_CNT(info->xmit.head, info->xmit.tail, UART_XMIT_SIZE);
805 info->xmit.head = info->xmit.tail = 0;