Home
last modified time | relevance | path

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

/drivers/tty/serial/8250/
D8250_port.c553 if (p->em485) in serial8250_em485_init()
556 p->em485 = kmalloc(sizeof(struct uart_8250_em485), GFP_ATOMIC); in serial8250_em485_init()
557 if (!p->em485) in serial8250_em485_init()
560 hrtimer_init(&p->em485->stop_tx_timer, CLOCK_MONOTONIC, in serial8250_em485_init()
562 hrtimer_init(&p->em485->start_tx_timer, CLOCK_MONOTONIC, in serial8250_em485_init()
564 p->em485->stop_tx_timer.function = &serial8250_em485_handle_stop_tx; in serial8250_em485_init()
565 p->em485->start_tx_timer.function = &serial8250_em485_handle_start_tx; in serial8250_em485_init()
566 p->em485->port = p; in serial8250_em485_init()
567 p->em485->active_timer = NULL; in serial8250_em485_init()
568 p->em485->tx_stopped = true; in serial8250_em485_init()
[all …]
D8250_core.c1194 if (uart->em485) { in serial8250_unregister_port()