Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/tty/serial/
Dsh-sci.c3335 struct sci_port *sciport) in sci_probe_single() argument
3360 ret = sci_init_single(dev, sciport, index, p, false); in sci_probe_single()
3364 sciport->gpios = mctrl_gpio_init(&sciport->port, 0); in sci_probe_single()
3365 if (IS_ERR(sciport->gpios)) in sci_probe_single()
3366 return PTR_ERR(sciport->gpios); in sci_probe_single()
3368 if (sciport->has_rtscts) { in sci_probe_single()
3369 if (mctrl_gpio_to_gpiod(sciport->gpios, UART_GPIO_CTS) || in sci_probe_single()
3370 mctrl_gpio_to_gpiod(sciport->gpios, UART_GPIO_RTS)) { in sci_probe_single()
3374 sciport->port.flags |= UPF_HARD_FLOW; in sci_probe_single()
3377 ret = uart_add_one_port(&sci_uart_driver, &sciport->port); in sci_probe_single()
[all …]