Lines Matching refs:test_bit
49 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_dequeue()
88 } while (test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state)); in hci_uart_write_work()
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()
145 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_close()
155 if (test_bit(HCI_QUIRK_NON_PERSISTENT_SETUP, &hdev->quirks)) { in hci_uart_close()
216 if (!test_bit(HCI_UART_VND_DETECT, &hu->hdev_flags)) in hci_uart_setup()
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()
359 if (test_bit(HCI_UART_NO_SUSPEND_NOTIFIER, &hu->flags)) in hci_uart_register_device()
362 if (test_bit(HCI_UART_RAW_DEVICE, &hu->hdev_flags)) in hci_uart_register_device()
365 if (test_bit(HCI_UART_EXT_CONFIG, &hu->hdev_flags)) in hci_uart_register_device()
368 if (test_bit(HCI_UART_CREATE_AMP, &hu->hdev_flags)) in hci_uart_register_device()
373 if (test_bit(HCI_UART_INIT_PENDING, &hu->hdev_flags)) in hci_uart_register_device()
404 if (test_bit(HCI_UART_REGISTERED, &hu->flags)) in hci_uart_unregister_device()
412 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) { in hci_uart_unregister_device()