Searched refs:stm32_port (Results 1 – 2 of 2) sorted by relevance
111 static inline struct stm32_port *to_stm32_port(struct uart_port *port) in to_stm32_port()113 return container_of(port, struct stm32_port, port); in to_stm32_port()136 struct stm32_port *stm32_port = to_stm32_port(port); in stm32_usart_tx_empty() local137 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty()147 struct stm32_port *stm32_port = to_stm32_port(port); in stm32_usart_rs485_rts_enable() local150 if (stm32_port->hw_flow_control || in stm32_usart_rs485_rts_enable()155 mctrl_gpio_set(stm32_port->gpios, in stm32_usart_rs485_rts_enable()156 stm32_port->port.mctrl | TIOCM_RTS); in stm32_usart_rs485_rts_enable()158 mctrl_gpio_set(stm32_port->gpios, in stm32_usart_rs485_rts_enable()159 stm32_port->port.mctrl & ~TIOCM_RTS); in stm32_usart_rs485_rts_enable()[all …]
188 struct stm32_port { struct215 static struct stm32_port stm32_ports[STM32_MAX_PORTS]; argument