Searched refs:tx_sem (Results 1 – 2 of 2) sorted by relevance
248 if (down_timeout(&hu->tx_sem, in hci_uart_tx_wakeup()257 up(&hu->tx_sem); in hci_uart_tx_wakeup()260 up(&hu->tx_sem); in hci_uart_tx_wakeup()310 if (down_timeout(&hu->tx_sem, msecs_to_jiffies(SEMWAIT_TIMEOUT))) { in hci_uart_write_work()316 up(&hu->tx_sem); in hci_uart_write_work()321 up(&hu->tx_sem); in hci_uart_write_work()924 sema_init(&hu->tx_sem, 1); in hci_uart_tty_open()
110 struct semaphore tx_sem; /* semaphore for tx */ member