Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/serial/
Dsh-sci.c169 to_sci_port(struct uart_port *uart) in to_sci_port() function
497 #define sci_getreg(up, offset) (&to_sci_port(up)->params->regs[offset])
569 return SCSCR_RIE | (to_sci_port(port)->cfg->scscr & SCSCR_REIE); in port_rx_irq_mask()
574 struct sci_port *s = to_sci_port(port); in sci_start_tx()
631 if (to_sci_port(port)->chan_tx && in sci_stop_tx()
632 !dma_submit_error(to_sci_port(port)->cookie_tx)) { in sci_stop_tx()
633 dmaengine_terminate_async(to_sci_port(port)->chan_tx); in sci_stop_tx()
634 to_sci_port(port)->cookie_tx = -EINVAL; in sci_stop_tx()
670 } else if (to_sci_port(port)->params->overrun_mask == SCIFA_ORER) { in sci_clear_SCxSR()
728 struct sci_port *s = to_sci_port(port); in sci_init_pins()
[all …]
Dsh-sci.h171 #define SCxSR_ERRORS(port) (to_sci_port(port)->params->error_mask)
176 (to_sci_port(port)->params->error_clear)