em485 1121 drivers/tty/serial/8250/8250_core.c if (uart->em485) { em485 624 drivers/tty/serial/8250/8250_port.c if (p->em485) em485 627 drivers/tty/serial/8250/8250_port.c p->em485 = kmalloc(sizeof(struct uart_8250_em485), GFP_ATOMIC); em485 628 drivers/tty/serial/8250/8250_port.c if (!p->em485) em485 631 drivers/tty/serial/8250/8250_port.c hrtimer_init(&p->em485->stop_tx_timer, CLOCK_MONOTONIC, em485 633 drivers/tty/serial/8250/8250_port.c hrtimer_init(&p->em485->start_tx_timer, CLOCK_MONOTONIC, em485 635 drivers/tty/serial/8250/8250_port.c p->em485->stop_tx_timer.function = &serial8250_em485_handle_stop_tx; em485 636 drivers/tty/serial/8250/8250_port.c p->em485->start_tx_timer.function = &serial8250_em485_handle_start_tx; em485 637 drivers/tty/serial/8250/8250_port.c p->em485->port = p; em485 638 drivers/tty/serial/8250/8250_port.c p->em485->active_timer = NULL; em485 660 drivers/tty/serial/8250/8250_port.c if (!p->em485) em485 663 drivers/tty/serial/8250/8250_port.c hrtimer_cancel(&p->em485->start_tx_timer); em485 664 drivers/tty/serial/8250/8250_port.c hrtimer_cancel(&p->em485->stop_tx_timer); em485 666 drivers/tty/serial/8250/8250_port.c kfree(p->em485); em485 667 drivers/tty/serial/8250/8250_port.c p->em485 = NULL; em485 1416 drivers/tty/serial/8250/8250_port.c struct uart_8250_em485 *em485; em485 1420 drivers/tty/serial/8250/8250_port.c em485 = container_of(t, struct uart_8250_em485, stop_tx_timer); em485 1421 drivers/tty/serial/8250/8250_port.c p = em485->port; em485 1425 drivers/tty/serial/8250/8250_port.c if (em485->active_timer == &em485->stop_tx_timer) { em485 1427 drivers/tty/serial/8250/8250_port.c em485->active_timer = NULL; em485 1445 drivers/tty/serial/8250/8250_port.c struct uart_8250_em485 *em485 = p->em485; em485 1452 drivers/tty/serial/8250/8250_port.c em485->active_timer = &em485->stop_tx_timer; em485 1453 drivers/tty/serial/8250/8250_port.c start_hrtimer_ms(&em485->stop_tx_timer, em485 1468 drivers/tty/serial/8250/8250_port.c struct uart_8250_em485 *em485 = p->em485; em485 1470 drivers/tty/serial/8250/8250_port.c if (em485) { em485 1481 drivers/tty/serial/8250/8250_port.c em485->active_timer = NULL; em485 1535 drivers/tty/serial/8250/8250_port.c struct uart_8250_em485 *em485 = up->em485; em485 1541 drivers/tty/serial/8250/8250_port.c em485->active_timer = NULL; em485 1553 drivers/tty/serial/8250/8250_port.c em485->active_timer = &em485->start_tx_timer; em485 1554 drivers/tty/serial/8250/8250_port.c start_hrtimer_ms(&em485->start_tx_timer, em485 1565 drivers/tty/serial/8250/8250_port.c struct uart_8250_em485 *em485; em485 1569 drivers/tty/serial/8250/8250_port.c em485 = container_of(t, struct uart_8250_em485, start_tx_timer); em485 1570 drivers/tty/serial/8250/8250_port.c p = em485->port; em485 1573 drivers/tty/serial/8250/8250_port.c if (em485->active_timer == &em485->start_tx_timer) { em485 1575 drivers/tty/serial/8250/8250_port.c em485->active_timer = NULL; em485 1584 drivers/tty/serial/8250/8250_port.c struct uart_8250_em485 *em485 = up->em485; em485 1588 drivers/tty/serial/8250/8250_port.c if (em485 && em485 1589 drivers/tty/serial/8250/8250_port.c em485->active_timer == &em485->start_tx_timer) em485 1592 drivers/tty/serial/8250/8250_port.c if (em485) em485 133 include/linux/serial_8250.h struct uart_8250_em485 *em485;