Lines Matching defs:state
178 #define CDNS_UART_SR_TACTIVE 0x00000800 /* TX state machine active */
297 tty_insert_flip_char(&port->state->port, 0,
300 tty_insert_flip_char(&port->state->port, data, status);
304 tty_flip_buffer_push(&port->state->port);
318 if (uart_circ_empty(&port->state->xmit)) {
322 while (numbytes && !uart_circ_empty(&port->state->xmit) &&
331 port->state->xmit.buf[port->state->xmit.tail],
340 port->state->xmit.tail =
341 (port->state->xmit.tail + 1) &
348 &port->state->xmit) < WAKEUP_CHARS)
603 if (uart_circ_empty(&port->state->xmit))
1007 * cdns_uart_get_mctrl - Get the modem control state
1010 * Return: the modem control state
1102 static void cdns_uart_pm(struct uart_port *port, unsigned int state,
1105 switch (state) {
1244 /* restore interrupt state */
1462 if (!cdns_uart_uart_driver.state) {