Home
last modified time | relevance | path

Searched refs:stm32_port (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/tty/serial/
Dstm32-usart.c42 static inline struct stm32_port *to_stm32_port(struct uart_port *port) in to_stm32_port()
44 return container_of(port, struct stm32_port, port); in to_stm32_port()
103 struct stm32_port *stm32_port = to_stm32_port(port); in stm32_config_rs485() local
104 struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_config_rs485()
105 struct stm32_usart_config *cfg = &stm32_port->info->cfg; in stm32_config_rs485()
175 struct stm32_port *stm32_port = to_stm32_port(port); in stm32_pending_rx() local
176 struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_pending_rx()
182 if (threaded && stm32_port->rx_ch) { in stm32_pending_rx()
183 status = dmaengine_tx_status(stm32_port->rx_ch, in stm32_pending_rx()
184 stm32_port->rx_ch->cookie, in stm32_pending_rx()
[all …]
Dstm32-usart.h249 struct stm32_port { struct
266 static struct stm32_port stm32_ports[STM32_MAX_PORTS]; argument