Lines Matching refs:xmit
42 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar() argument
44 while (!uart_circ_empty(xmit)) { in transmit_chars_putchar()
45 long status = sun4v_con_putchar(xmit->buf[xmit->tail]); in transmit_chars_putchar()
50 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars_putchar()
55 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write() argument
57 while (!uart_circ_empty(xmit)) { in transmit_chars_write()
58 unsigned long ra = __pa(xmit->buf + xmit->tail); in transmit_chars_write()
61 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, in transmit_chars_write()
66 xmit->tail = (xmit->tail + sent) & (UART_XMIT_SIZE - 1); in transmit_chars_write()
170 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
201 struct circ_buf *xmit; in transmit_chars() local
206 xmit = &port->state->xmit; in transmit_chars()
207 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) in transmit_chars()
210 sunhv_ops->transmit_chars(port, xmit); in transmit_chars()
212 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in transmit_chars()