Lines Matching refs:to_sci_port
169 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()
617 if (to_sci_port(port)->chan_tx && in sci_stop_tx()
618 !dma_submit_error(to_sci_port(port)->cookie_tx)) { in sci_stop_tx()
619 dmaengine_terminate_async(to_sci_port(port)->chan_tx); in sci_stop_tx()
620 to_sci_port(port)->cookie_tx = -EINVAL; in sci_stop_tx()
656 } else if (to_sci_port(port)->params->overrun_mask == SCIFA_ORER) { in sci_clear_SCxSR()
714 struct sci_port *s = to_sci_port(port); in sci_init_pins()
730 if (to_sci_port(port)->has_rtscts) { in sci_init_pins()
764 struct sci_port *s = to_sci_port(port); in sci_txfill()
786 struct sci_port *s = to_sci_port(port); in sci_rxfill()
932 struct sci_port *s = to_sci_port(port); in sci_handle_errors()
968 struct sci_port *s = to_sci_port(port); in sci_handle_fifo_overrun()
1098 struct sci_port *sci = to_sci_port(port); in rx_fifo_trigger_show()
1108 struct sci_port *sci = to_sci_port(port); in rx_fifo_trigger_store()
1130 struct sci_port *sci = to_sci_port(port); in rx_fifo_timeout_show()
1147 struct sci_port *sci = to_sci_port(port); in rx_fifo_timeout_store()
1558 struct sci_port *s = to_sci_port(port); in sci_request_dma()
1644 struct sci_port *s = to_sci_port(port); in sci_free_dma()
1654 struct sci_port *s = to_sci_port(port); in sci_flush_buffer()
1682 struct sci_port *s = to_sci_port(port); in sci_rx_interrupt()
1760 struct sci_port *s = to_sci_port(port); in sci_er_interrupt()
1801 struct sci_port *s = to_sci_port(port); in sci_mpxed_interrupt()
2046 struct sci_port *s = to_sci_port(port); in sci_set_mctrl()
2091 struct sci_port *s = to_sci_port(port); in sci_get_mctrl()
2117 mctrl_gpio_enable_ms(to_sci_port(port)->gpios); in sci_enable_ms()
2153 struct sci_port *s = to_sci_port(port); in sci_startup()
2171 struct sci_port *s = to_sci_port(port); in sci_shutdown()
2178 mctrl_gpio_disable_ms(to_sci_port(port)->gpios); in sci_shutdown()
2336 struct sci_port *s = to_sci_port(port); in sci_reset()
2373 struct sci_port *s = to_sci_port(port); in sci_set_termios()
2619 struct sci_port *sci_port = to_sci_port(port); in sci_pm()
2653 struct sci_port *sport = to_sci_port(port); in sci_remap_port()
2681 struct sci_port *sport = to_sci_port(port); in sci_release_port()
2694 struct sci_port *sport = to_sci_port(port); in sci_request_port()
2716 struct sci_port *sport = to_sci_port(port); in sci_config_port()