Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dserial_8250.h82 struct hrtimer stop_tx_timer; /* "rs485 stop tx" timer */ member
/linux-6.1.9/drivers/tty/serial/8250/
D8250_port.c609 hrtimer_init(&p->em485->stop_tx_timer, CLOCK_MONOTONIC, in serial8250_em485_init()
613 p->em485->stop_tx_timer.function = &serial8250_em485_handle_stop_tx; in serial8250_em485_init()
645 hrtimer_cancel(&p->em485->stop_tx_timer); in serial8250_em485_destroy()
1464 stop_tx_timer); in serial8250_em485_handle_stop_tx()
1470 if (em485->active_timer == &em485->stop_tx_timer) { in serial8250_em485_handle_stop_tx()
1497 em485->active_timer = &em485->stop_tx_timer; in __stop_tx_rs485()
1498 hrtimer_start(&em485->stop_tx_timer, ns_to_ktime(stop_delay), HRTIMER_MODE_REL); in __stop_tx_rs485()
1628 if (em485->active_timer == &em485->stop_tx_timer) in start_tx_rs485()
1629 hrtimer_try_to_cancel(&em485->stop_tx_timer); in start_tx_rs485()