Lines Matching refs:xmit
46 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar() argument
48 while (!uart_circ_empty(xmit)) { in transmit_chars_putchar()
49 long status = sun4v_con_putchar(xmit->buf[xmit->tail]); in transmit_chars_putchar()
54 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars_putchar()
59 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write() argument
61 while (!uart_circ_empty(xmit)) { in transmit_chars_write()
62 unsigned long ra = __pa(xmit->buf + xmit->tail); in transmit_chars_write()
65 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, in transmit_chars_write()
70 xmit->tail = (xmit->tail + sent) & (UART_XMIT_SIZE - 1); in transmit_chars_write()
168 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
199 struct circ_buf *xmit; in transmit_chars() local
204 xmit = &port->state->xmit; in transmit_chars()
205 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) in transmit_chars()
208 sunhv_ops->transmit_chars(port, xmit); in transmit_chars()
210 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in transmit_chars()