Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dserial_8250.h102 struct hrtimer stop_tx_timer; /* "rs485 stop tx" timer */ member
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_port.c560 hrtimer_init(&p->em485->stop_tx_timer, CLOCK_MONOTONIC, in serial8250_em485_init()
564 p->em485->stop_tx_timer.function = &serial8250_em485_handle_stop_tx; in serial8250_em485_init()
596 hrtimer_cancel(&p->em485->stop_tx_timer); in serial8250_em485_destroy()
1434 stop_tx_timer); in serial8250_em485_handle_stop_tx()
1440 if (em485->active_timer == &em485->stop_tx_timer) { in serial8250_em485_handle_stop_tx()
1470 em485->active_timer = &em485->stop_tx_timer; in __stop_tx_rs485()
1471 hrtimer_start(&em485->stop_tx_timer, ns_to_ktime(stop_delay), HRTIMER_MODE_REL); in __stop_tx_rs485()
1599 if (em485->active_timer == &em485->stop_tx_timer) in start_tx_rs485()
1600 hrtimer_try_to_cancel(&em485->stop_tx_timer); in start_tx_rs485()