Lines Matching refs:xmit
45 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar() argument
47 while (!uart_circ_empty(xmit)) { in transmit_chars_putchar()
48 long status = sun4v_con_putchar(xmit->buf[xmit->tail]); in transmit_chars_putchar()
53 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars_putchar()
58 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write() argument
60 while (!uart_circ_empty(xmit)) { in transmit_chars_write()
61 unsigned long ra = __pa(xmit->buf + xmit->tail); in transmit_chars_write()
64 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, in transmit_chars_write()
69 xmit->tail = (xmit->tail + sent) & (UART_XMIT_SIZE - 1); in transmit_chars_write()
169 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
200 struct circ_buf *xmit; in transmit_chars() local
205 xmit = &port->state->xmit; in transmit_chars()
206 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) in transmit_chars()
209 sunhv_ops->transmit_chars(port, xmit); in transmit_chars()
211 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in transmit_chars()