Home
last modified time | relevance | path

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

/drivers/tty/serial/
Domap-serial.c166 int rts_gpio; member
316 if (gpio_get_value(up->rts_gpio) != res) { in serial_omap_stop_tx()
320 gpio_set_value(up->rts_gpio, res); in serial_omap_stop_tx()
425 if (gpio_get_value(up->rts_gpio) != res) { in serial_omap_start_tx()
426 gpio_set_value(up->rts_gpio, res); in serial_omap_start_tx()
1370 if (gpio_is_valid(up->rts_gpio)) { in serial_omap_config_rs485()
1375 gpio_set_value(up->rts_gpio, val); in serial_omap_config_rs485()
1557 up->rts_gpio = -EINVAL; in serial_omap_probe_rs485()
1568 up->rts_gpio = of_get_named_gpio_flags(np, "rts-gpio", 0, &flags); in serial_omap_probe_rs485()
1569 if (gpio_is_valid(up->rts_gpio)) { in serial_omap_probe_rs485()
[all …]
Dsirfsoc_uart.c137 gpio_set_value(sirfport->rts_gpio, 1); in sirfsoc_uart_set_mctrl()
139 gpio_set_value(sirfport->rts_gpio, 0); in sirfsoc_uart_set_mctrl()
1020 gpio_set_value(sirfport->rts_gpio, 1); in sirfsoc_uart_shutdown()
1312 sirfport->rts_gpio = in sirfsoc_uart_probe()
1315 sirfport->rts_gpio = -1; in sirfsoc_uart_probe()
1318 !gpio_is_valid(sirfport->rts_gpio))) { in sirfsoc_uart_probe()
1331 ret = devm_gpio_request(&pdev->dev, sirfport->rts_gpio, in sirfsoc_uart_probe()
1337 gpio_direction_output(sirfport->rts_gpio, 1); in sirfsoc_uart_probe()
Dsirfsoc_uart.h429 unsigned int rts_gpio; member