Searched refs:stm32_port (Results 1 – 2 of 2) sorted by relevance
41 static inline struct stm32_port *to_stm32_port(struct uart_port *port) in to_stm32_port()43 return container_of(port, struct stm32_port, port); in to_stm32_port()66 struct stm32_port *stm32_port = to_stm32_port(port); in stm32_usart_tx_empty() local67 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty()77 struct stm32_port *stm32_port = to_stm32_port(port); in stm32_usart_rs485_rts_enable() local80 if (stm32_port->hw_flow_control || in stm32_usart_rs485_rts_enable()85 mctrl_gpio_set(stm32_port->gpios, in stm32_usart_rs485_rts_enable()86 stm32_port->port.mctrl | TIOCM_RTS); in stm32_usart_rs485_rts_enable()88 mctrl_gpio_set(stm32_port->gpios, in stm32_usart_rs485_rts_enable()89 stm32_port->port.mctrl & ~TIOCM_RTS); in stm32_usart_rs485_rts_enable()[all …]
253 struct stm32_port { struct278 static struct stm32_port stm32_ports[STM32_MAX_PORTS]; argument