Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/tty/serial/
Dsh-sci.c168 to_sci_port(struct uart_port *uart) in to_sci_port() function
496 #define sci_getreg(up, offset) (&to_sci_port(up)->params->regs[offset])
568 return SCSCR_RIE | (to_sci_port(port)->cfg->scscr & SCSCR_REIE); in port_rx_irq_mask()
573 struct sci_port *s = to_sci_port(port); in sci_start_tx()
616 if (to_sci_port(port)->chan_tx && in sci_stop_tx()
617 !dma_submit_error(to_sci_port(port)->cookie_tx)) { in sci_stop_tx()
618 dmaengine_terminate_async(to_sci_port(port)->chan_tx); in sci_stop_tx()
619 to_sci_port(port)->cookie_tx = -EINVAL; in sci_stop_tx()
655 } else if (to_sci_port(port)->params->overrun_mask == SCIFA_ORER) { in sci_clear_SCxSR()
713 struct sci_port *s = to_sci_port(port); in sci_init_pins()
[all …]
Dsh-sci.h168 #define SCxSR_ERRORS(port) (to_sci_port(port)->params->error_mask)
173 (to_sci_port(port)->params->error_clear)