Searched refs:to_sci_port (Results 1 – 3 of 3) sorted by relevance
225 #define SCxSR_ERRORS(port) (to_sci_port(port)->params->error_mask)230 (to_sci_port(port)->params->error_clear)679 #define sci_getreg(up, offset) (&to_sci_port(up)->params->regs[offset])753 return SCSCR_RIE | (to_sci_port(port)->cfg->scscr & SCSCR_REIE); in port_rx_irq_mask()758 struct sci_port *s = to_sci_port(port); in sci_start_tx()802 struct sci_port *s = to_sci_port(port); in sci_stop_tx()826 struct sci_port *s = to_sci_port(port); in sci_start_rx()839 struct sci_port *s = to_sci_port(port); in sci_stop_rx()854 struct sci_port *s = to_sci_port(port); in sci_clear_SCxSR()876 struct sci_port *s = to_sci_port(port); in sci_poll_get_char()[all …]
120 #define SCxSR_ERRORS(port) (to_sci_port(port)->params->error_mask)121 #define SCxSR_ERROR_CLEAR(port) (to_sci_port(port)->params->error_clear)180 mctrl_gpio_enable_ms(to_sci_port(port)->gpios); in rsci_enable_ms()185 struct sci_port *s = to_sci_port(port); in rsci_init_pins()222 struct sci_port *s = to_sci_port(port); in rsci_set_termios()364 struct sci_port *s = to_sci_port(port); in rsci_get_mctrl()393 struct sci_port *sp = to_sci_port(port); in rsci_start_tx()590 struct sci_port *s = to_sci_port(port); in rsci_prepare_console_write()
165 #define to_sci_port(uart) container_of((uart), struct sci_port, port) macro