Home
last modified time | relevance | path

Searched refs:to_sci_port (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/tty/serial/
H A Dsh-sci.c172 to_sci_port(struct uart_port *uart) in to_sci_port() function
531 #define sci_getreg(up, offset) (&to_sci_port(up)->params->regs[offset])
603 return SCSCR_RIE | (to_sci_port(port)->cfg->scscr & SCSCR_REIE); in port_rx_irq_mask()
608 struct sci_port *s = to_sci_port(port); in sci_start_tx()
665 if (to_sci_port(port)->chan_tx && in sci_stop_tx()
666 !dma_submit_error(to_sci_port(port)->cookie_tx)) { in sci_stop_tx()
667 dmaengine_terminate_async(to_sci_port(port)->chan_tx); in sci_stop_tx()
668 to_sci_port(port)->cookie_tx = -EINVAL; in sci_stop_tx()
704 } else if (to_sci_port(port)->params->overrun_mask == SCIFA_ORER) { in sci_clear_SCxSR()
761 struct sci_port *s = to_sci_port(port); in sci_init_pins()
[all …]
H A Dsh-sci.h171 #define SCxSR_ERRORS(port) (to_sci_port(port)->params->error_mask)
176 (to_sci_port(port)->params->error_clear)