Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dserial_8250.h82 struct hrtimer stop_tx_timer; /* "rs485 stop tx" timer */ member
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_port.c601 hrtimer_init(&p->em485->stop_tx_timer, CLOCK_MONOTONIC, in serial8250_em485_init()
605 p->em485->stop_tx_timer.function = &serial8250_em485_handle_stop_tx; in serial8250_em485_init()
637 hrtimer_cancel(&p->em485->stop_tx_timer); in serial8250_em485_destroy()
1448 em485 = container_of(t, struct uart_8250_em485, stop_tx_timer); in serial8250_em485_handle_stop_tx()
1453 if (em485->active_timer == &em485->stop_tx_timer) { in serial8250_em485_handle_stop_tx()
1481 em485->active_timer = &em485->stop_tx_timer; in __stop_tx_rs485()
1482 start_hrtimer_ms(&em485->stop_tx_timer, in __stop_tx_rs485()
1602 if (em485->active_timer == &em485->stop_tx_timer) in start_tx_rs485()
1603 hrtimer_try_to_cancel(&em485->stop_tx_timer); in start_tx_rs485()