Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/serial/8250/
D8250_port.c624 if (p->em485) in serial8250_em485_init()
627 p->em485 = kmalloc(sizeof(struct uart_8250_em485), GFP_ATOMIC); in serial8250_em485_init()
628 if (!p->em485) in serial8250_em485_init()
631 hrtimer_init(&p->em485->stop_tx_timer, CLOCK_MONOTONIC, in serial8250_em485_init()
633 hrtimer_init(&p->em485->start_tx_timer, CLOCK_MONOTONIC, in serial8250_em485_init()
635 p->em485->stop_tx_timer.function = &serial8250_em485_handle_stop_tx; in serial8250_em485_init()
636 p->em485->start_tx_timer.function = &serial8250_em485_handle_start_tx; in serial8250_em485_init()
637 p->em485->port = p; in serial8250_em485_init()
638 p->em485->active_timer = NULL; in serial8250_em485_init()
660 if (!p->em485) in serial8250_em485_destroy()
[all …]
D8250_core.c1122 if (uart->em485) { in serial8250_unregister_port()
/Linux-v5.4/include/linux/
Dserial_8250.h133 struct uart_8250_em485 *em485; member