Searched refs:port_variant (Results 1 – 1 of 1) sorted by relevance
139 static const struct esp32_uart_variant *port_variant(struct uart_port *port) in port_variant() function340 if (port_variant(port)->has_clkconf) in esp32_uart_startup()345 (1 << port_variant(port)->txfifo_empty_thrhd_shift)); in esp32_uart_startup()367 if (port_variant(port)->has_clkconf) { in esp32_uart_set_baud()368 u32 sclk_div = div / port_variant(port)->clkdiv_mask; in esp32_uart_set_baud()370 if (div > port_variant(port)->clkdiv_mask) { in esp32_uart_set_baud()379 if (div <= port_variant(port)->clkdiv_mask) { in esp32_uart_set_baud()397 const u32 rx_flow_en = port_variant(port)->rx_flow_en; in esp32_uart_set_termios()398 u32 max_div = port_variant(port)->clkdiv_mask; in esp32_uart_set_termios()402 if (port_variant(port)->has_clkconf) in esp32_uart_set_termios()[all …]