Lines Matching defs:state
267 unsigned int old_cr; /* state during shutdown */
566 uart_circ_empty(&uap->port.state->xmit)) {
596 struct circ_buf *xmit = &uap->port.state->xmit;
788 /* Success - restore the DMA state */
874 struct tty_port *port = &uap->port.state->port;
950 struct dma_tx_state state;
961 dmarx->cookie, &state);
970 pending = dbuf->len - state.residue;
1000 struct dma_tx_state state;
1015 rxchan->device->device_tx_status(rxchan, dmarx->cookie, &state);
1016 pending = dbuf->len - state.residue;
1062 struct tty_port *port = &uap->port.state->port;
1070 struct dma_tx_state state;
1073 rxchan->device->device_tx_status(rxchan, dmarx->cookie, &state);
1074 if (likely(state.residue < dmarx->last_residue)) {
1076 size = dmarx->last_residue - state.residue;
1080 dmarx->last_residue = state.residue;
1353 tty_flip_buffer_push(&uap->port.state->port);
1396 struct circ_buf *xmit = &uap->port.state->xmit;
1456 wake_up_interruptible(&uap->port.state->port.delta_msr_wait);
1849 * Also RTS and DTR state should be preserved to restore
2632 if (!amba_reg.state) {