Lines Matching refs:state
209 struct dma_tx_state state;
214 dmaengine_tx_status(sp->tx_dma.chn, sp->tx_dma.cookie, &state);
215 if (state.residue) {
216 trans_len = state.residue - sp->tx_dma.phys_addr;
230 struct circ_buf *xmit = &port->state->xmit;
247 struct circ_buf *xmit = &port->state->xmit;
322 struct circ_buf *xmit = &port->state->xmit;
388 struct tty_port *tty = &port->state->port;
399 struct dma_tx_state state;
403 sp->rx_dma.cookie, &state);
407 if (!state.residue && sp->pos == sp->rx_dma.phys_addr)
410 if (!state.residue) {
415 sp->rx_dma.trans_len = state.residue - sp->pos;
416 sp->pos = state.residue;
428 struct dma_tx_state state;
435 sp->rx_dma.cookie, &state);
596 struct tty_port *tty = &port->state->port;
879 static void sprd_pm(struct uart_port *port, unsigned int state,
885 switch (state) {
898 if (port->state->pm_state != UART_PM_STATE_ON) {
900 port->state->pm_state = UART_PM_STATE_ON;