Lines Matching refs:to_sci_port
189 to_sci_port(struct uart_port *uart) in to_sci_port() function
548 #define sci_getreg(up, offset) (&to_sci_port(up)->params->regs[offset])
620 return SCSCR_RIE | (to_sci_port(port)->cfg->scscr & SCSCR_REIE); in port_rx_irq_mask()
625 struct sci_port *s = to_sci_port(port); in sci_start_tx()
682 if (to_sci_port(port)->chan_tx && in sci_stop_tx()
683 !dma_submit_error(to_sci_port(port)->cookie_tx)) { in sci_stop_tx()
684 dmaengine_terminate_async(to_sci_port(port)->chan_tx); in sci_stop_tx()
685 to_sci_port(port)->cookie_tx = -EINVAL; in sci_stop_tx()
721 } else if (to_sci_port(port)->params->overrun_mask == SCIFA_ORER) { in sci_clear_SCxSR()
778 struct sci_port *s = to_sci_port(port); in sci_init_pins()
794 if (to_sci_port(port)->has_rtscts) { in sci_init_pins()
828 struct sci_port *s = to_sci_port(port); in sci_txfill()
850 struct sci_port *s = to_sci_port(port); in sci_rxfill()
873 struct sci_port *s = to_sci_port(port); in sci_transmit_chars()
1009 struct sci_port *s = to_sci_port(port); in sci_handle_errors()
1045 struct sci_port *s = to_sci_port(port); in sci_handle_fifo_overrun()
1175 struct sci_port *sci = to_sci_port(port); in rx_fifo_trigger_show()
1185 struct sci_port *sci = to_sci_port(port); in rx_fifo_trigger_store()
1207 struct sci_port *sci = to_sci_port(port); in rx_fifo_timeout_show()
1224 struct sci_port *sci = to_sci_port(port); in rx_fifo_timeout_store()
1647 struct sci_port *s = to_sci_port(port); in sci_request_dma()
1734 struct sci_port *s = to_sci_port(port); in sci_free_dma()
1744 struct sci_port *s = to_sci_port(port); in sci_flush_buffer()
1789 struct sci_port *s = to_sci_port(port); in sci_rx_interrupt()
1891 struct sci_port *s = to_sci_port(port); in sci_er_interrupt()
1932 struct sci_port *s = to_sci_port(port); in sci_mpxed_interrupt()
2119 struct sci_port *s = to_sci_port(port); in sci_tx_empty()
2183 struct sci_port *s = to_sci_port(port); in sci_set_mctrl()
2229 struct sci_port *s = to_sci_port(port); in sci_get_mctrl()
2255 mctrl_gpio_enable_ms(to_sci_port(port)->gpios); in sci_enable_ms()
2291 struct sci_port *s = to_sci_port(port); in sci_startup()
2310 struct sci_port *s = to_sci_port(port); in sci_shutdown()
2317 mctrl_gpio_disable_ms_sync(to_sci_port(port)->gpios); in sci_shutdown()
2475 struct sci_port *s = to_sci_port(port); in sci_reset()
2512 struct sci_port *s = to_sci_port(port); in sci_set_termios()
2764 struct sci_port *sci_port = to_sci_port(port); in sci_pm()
2798 struct sci_port *sport = to_sci_port(port); in sci_remap_port()
2826 struct sci_port *sport = to_sci_port(port); in sci_release_port()
2839 struct sci_port *sport = to_sci_port(port); in sci_request_port()
2861 struct sci_port *sport = to_sci_port(port); in sci_config_port()