Lines Matching refs:HCI_UART_PROTO_READY
49 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_dequeue()
107 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_flush()
125 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) { in hci_uart_open()
129 set_bit(HCI_UART_PROTO_READY, &hu->flags); in hci_uart_open()
145 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_close()
156 clear_bit(HCI_UART_PROTO_READY, &hu->flags); in hci_uart_close()
260 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_write_wakeup()
284 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_receive_buf()
326 set_bit(HCI_UART_PROTO_READY, &hu->flags); in hci_uart_register_device_priv()
385 clear_bit(HCI_UART_PROTO_READY, &hu->flags); in hci_uart_register_device_priv()
408 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) { in hci_uart_unregister_device()
409 clear_bit(HCI_UART_PROTO_READY, &hu->flags); in hci_uart_unregister_device()