Lines Matching refs:rts_gpiod
155 struct gpio_desc *rts_gpiod; member
307 if (up->rts_gpiod && in serial_omap_stop_tx()
308 gpiod_get_value(up->rts_gpiod) != res) { in serial_omap_stop_tx()
312 gpiod_set_value(up->rts_gpiod, res); in serial_omap_stop_tx()
412 if (up->rts_gpiod && gpiod_get_value(up->rts_gpiod) != res) { in serial_omap_start_tx()
413 gpiod_set_value(up->rts_gpiod, res); in serial_omap_start_tx()
1420 if (up->rts_gpiod) { in serial_omap_config_rs485()
1425 gpiod_set_value(up->rts_gpiod, val); in serial_omap_config_rs485()
1609 up->rts_gpiod = NULL; in serial_omap_probe_rs485()
1629 up->rts_gpiod = devm_gpiod_get_optional(dev, "rts", gflags); in serial_omap_probe_rs485()
1630 if (IS_ERR(up->rts_gpiod)) { in serial_omap_probe_rs485()
1631 ret = PTR_ERR(up->rts_gpiod); in serial_omap_probe_rs485()
1638 up->rts_gpiod = NULL; in serial_omap_probe_rs485()
1640 gpiod_set_consumer_name(up->rts_gpiod, "omap-serial"); in serial_omap_probe_rs485()