Lines Matching defs:state
209 struct circ_buf *xmit = &port->state->xmit;
210 struct dma_tx_state state;
215 dmaengine_tx_status(sp->tx_dma.chn, sp->tx_dma.cookie, &state);
216 if (state.residue) {
217 trans_len = state.residue - sp->tx_dma.phys_addr;
232 struct circ_buf *xmit = &port->state->xmit;
249 struct circ_buf *xmit = &port->state->xmit;
325 struct circ_buf *xmit = &port->state->xmit;
391 struct tty_port *tty = &port->state->port;
402 struct dma_tx_state state;
406 sp->rx_dma.cookie, &state);
410 if (!state.residue && sp->pos == sp->rx_dma.phys_addr)
413 if (!state.residue) {
418 sp->rx_dma.trans_len = state.residue - sp->pos;
419 sp->pos = state.residue;
431 struct dma_tx_state state;
438 sp->rx_dma.cookie, &state);
599 struct tty_port *tty = &port->state->port;
629 struct circ_buf *xmit = &port->state->xmit;
905 static void sprd_pm(struct uart_port *port, unsigned int state,
911 switch (state) {
924 if (port->state->pm_state != UART_PM_STATE_ON) {
926 port->state->pm_state = UART_PM_STATE_ON;