Lines Matching refs:state
288 struct dma_tx_state state;
308 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state);
314 count = dma->tx_bytes_requested - state.residue;
333 struct circ_buf *xmit = &port->state->xmit;
335 struct dma_tx_state state;
339 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state);
340 count = dma->tx_bytes_requested - state.residue;
438 struct circ_buf *xmit = &port->state->xmit;
472 struct circ_buf *xmit = &port->state->xmit;
494 struct circ_buf *xmit = &port->state->xmit;
540 struct tty_port *t = &port->state->port;
541 struct dma_tx_state state;
565 dma->rx_cookie, &state);
568 received = dma->rx_bytes_requested - state.residue;
611 struct tty_port *t = &port->state->port;
612 struct tty_struct *tty = tty_port_tty_get(&ourport->port.state->port);
614 struct dma_tx_state state;
618 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state);
619 received = dma->rx_bytes_requested - state.residue;
718 struct tty_struct *tty = tty_port_tty_get(&ourport->port.state->port);
719 struct tty_port *t = &port->state->port;
720 struct dma_tx_state state;
736 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state);
738 received = dma->rx_bytes_requested - state.residue;
844 tty_flip_buffer_push(&port->state->port);
871 struct circ_buf *xmit = &port->state->xmit;
1121 p->port.state->xmit.buf, UART_XMIT_SIZE,
2135 if (!s3c24xx_uart_drv.state) {