Home
last modified time | relevance | path

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

/openbmc/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()
440 gpiod_set_value(up->rts_gpiod, !!(rs485conf->flags & SER_RS485_RTS_AFTER_SEND)); in ar933x_uart_tx_chars()
589 gpiod_set_value(up->rts_gpiod, in ar933x_config_rs485()
795 up->rts_gpiod = mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS); in ar933x_uart_probe()
797 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()
1315 gpiod_set_value(up->rts_gpiod, val); in serial_omap_config_rs485()
1502 up->rts_gpiod = NULL; in serial_omap_probe_rs485()
1526 if (IS_ERR(up->rts_gpiod)) { in serial_omap_probe_rs485()
1527 ret = PTR_ERR(up->rts_gpiod); in serial_omap_probe_rs485()
1531 up->rts_gpiod = NULL; in serial_omap_probe_rs485()
[all …]