Lines Matching refs:state
285 struct circ_buf *xmit = &port->state->xmit;
286 struct dma_tx_state state;
299 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state);
304 count = dma->tx_bytes_requested - state.residue;
324 struct circ_buf *xmit = &port->state->xmit;
326 struct dma_tx_state state;
330 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state);
331 count = dma->tx_bytes_requested - state.residue;
407 struct circ_buf *xmit = &port->state->xmit;
440 struct circ_buf *xmit = &port->state->xmit;
462 struct circ_buf *xmit = &port->state->xmit;
508 struct tty_port *t = &port->state->port;
509 struct dma_tx_state state;
525 dma->rx_cookie, &state);
528 received = dma->rx_bytes_requested - state.residue;
571 struct tty_port *t = &port->state->port;
572 struct tty_struct *tty = tty_port_tty_get(&ourport->port.state->port);
574 struct dma_tx_state state;
578 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state);
579 received = dma->rx_bytes_requested - state.residue;
674 struct tty_struct *tty = tty_port_tty_get(&ourport->port.state->port);
675 struct tty_port *t = &port->state->port;
677 struct dma_tx_state state;
693 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state);
695 received = dma->rx_bytes_requested - state.residue;
800 tty_flip_buffer_push(&port->state->port);
829 struct circ_buf *xmit = &port->state->xmit;
1045 dma->tx_addr = dma_map_single(p->port.dev, p->port.state->xmit.buf,
1770 if (uport->state == NULL)
1773 tty = uport->state->port.tty;
2070 if (!s3c24xx_uart_drv.state) {