Home
last modified time | relevance | path

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

/linux/drivers/tty/serial/
H A Dar933x_uart.c54 struct gpio_desc *rts_gpiod; member
404 gpiod_set_value(up->rts_gpiod, !!(rs485conf->flags & SER_RS485_RTS_ON_SEND)); in ar933x_uart_tx_chars()
439 gpiod_set_value(up->rts_gpiod, !!(rs485conf->flags & SER_RS485_RTS_AFTER_SEND)); in ar933x_uart_tx_chars()
588 gpiod_set_value(up->rts_gpiod, in ar933x_config_rs485()
787 up->rts_gpiod = mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS); in ar933x_uart_probe()
789 if (!up->rts_gpiod) { in ar933x_uart_probe()
H A Domap-serial.c156 struct gpio_desc *rts_gpiod; member
298 if (gpiod_get_value(up->rts_gpiod) != res) { in serial_omap_stop_tx()
302 gpiod_set_value(up->rts_gpiod, res); in serial_omap_stop_tx()
374 if (gpiod_get_value(up->rts_gpiod) != res) { in serial_omap_start_tx()
375 gpiod_set_value(up->rts_gpiod, res); in serial_omap_start_tx()
1310 gpiod_set_value(up->rts_gpiod, val); in serial_omap_config_rs485()
1497 up->rts_gpiod = NULL; in serial_omap_probe_rs485()
1520 up->rts_gpiod = devm_gpiod_get_optional(dev, "rts", gflags); in serial_omap_probe_rs485()
1521 if (IS_ERR(up->rts_gpiod)) { in serial_omap_probe_rs485()
1522 ret = PTR_ERR(up->rts_gpiod); in serial_omap_probe_rs485()
[all …]