Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/
H A Dpic32_uart.c67 struct gpio_desc *cts_gpiod; member
166 if (!sport->cts_gpiod) in pic32_uart_get_mctrl()
168 else if (gpiod_get_value(sport->cts_gpiod)) in pic32_uart_get_mctrl()
639 if ((new->c_cflag & CRTSCTS) && sport->cts_gpiod) { in pic32_uart_set_termios()
898 sport->cts_gpiod = devm_gpiod_get_optional(dev, "cts", GPIOD_IN); in pic32_uart_probe()
899 if (IS_ERR(sport->cts_gpiod)) in pic32_uart_probe()
900 return dev_err_probe(dev, PTR_ERR(sport->cts_gpiod), "error requesting CTS GPIO\n"); in pic32_uart_probe()
901 gpiod_set_consumer_name(sport->cts_gpiod, "CTS"); in pic32_uart_probe()