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()
325 set_bit(HCI_UART_PROTO_READY, &hu->flags); in hci_uart_register_device()
389 clear_bit(HCI_UART_PROTO_READY, &hu->flags); in hci_uart_register_device()
412 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) { in hci_uart_unregister_device()
413 clear_bit(HCI_UART_PROTO_READY, &hu->flags); in hci_uart_unregister_device()