Home
last modified time | relevance | path

Searched refs:HCI_UP (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dleds.c33 if (test_bit(HCI_UP, &d->flags)) in hci_leds_update_powered()
49 powered = test_bit(HCI_UP, &htrig->hdev->flags); in power_activate()
H A Dhci_core.c85 if (!test_bit(HCI_UP, &hdev->flags)) in dut_mode_write()
1476 if (test_bit(HCI_UP, &hdev->flags)) { in hci_dev_do_open()
1596 set_bit(HCI_UP, &hdev->flags); in hci_dev_do_open()
1724 test_bit(HCI_UP, &hdev->flags)) { in hci_dev_do_close()
1735 if (!test_and_clear_bit(HCI_UP, &hdev->flags)) { in hci_dev_do_close()
1914 if (!test_bit(HCI_UP, &hdev->flags)) { in hci_dev_reset()
2135 flags &= ~BIT(HCI_UP); in hci_get_dev_list()
2173 flags = hdev->flags & ~BIT(HCI_UP); in hci_get_dev_info()
2241 if (test_bit(HCI_UP, &hdev->flags) && in hci_power_on()
3937 if (!hdev || (!test_bit(HCI_UP, &hdev->flags) in hci_recv_frame()
[all …]
H A Dhci_sock.c682 if (test_bit(HCI_UP, &hdev->flags)) in send_monitor_replay()
1202 test_bit(HCI_UP, &hdev->flags))) { in hci_sock_bind()
1769 if (!test_bit(HCI_UP, &hdev->flags)) { in hci_sock_sendmsg()
H A Dhci_debugfs.c54 if (test_bit(HCI_UP, &hdev->flags)) \
709 if (test_bit(HCI_UP, &hdev->flags)) in force_static_address_write()
H A Da2mp.c105 if (test_bit(HCI_UP, &hdev->flags)) in __a2mp_add_cl()
H A Dhci_request.c280 if (test_bit(HCI_UP, &hdev->flags)) in hci_req_sync()
395 if (!test_bit(HCI_UP, &hdev->flags) || in __hci_update_background_scan()
H A Dhci_conn.c662 if (!test_bit(HCI_UP, &d->flags) || in hci_get_route()
H A Dl2cap_core.c1260 test_bit(HCI_UP, &hdev->flags)) { in __amp_capable()
4857 if (hdev->dev_type != HCI_AMP || !test_bit(HCI_UP, &hdev->flags)) { in l2cap_create_channel_req()
5296 !test_bit(HCI_UP, &hdev->flags)) { in l2cap_move_channel_req()
H A Dmgmt.c2585 if (!test_bit(HCI_UP, &hdev->flags)) { in disconnect()
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Drtk_btusb.h313 HCI_UP, enumerator
H A Drtk_btusb.c579 if (test_bit(HCI_UP, &hdev->flags)) { in hci_dev_open()
801 (!test_bit(HCI_UP, &hdev->flags) && !test_bit(HCI_INIT, &hdev->flags))) { in hci_recv_frame()
1219 set_bit(HCI_UP, &hdev->flags); in btchr_ioctl()
1229 set_bit(HCI_UP, &hdev->flags); in btchr_ioctl()
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_usb_driver/
H A Drtk_bt.c1325 if (test_bit(HCI_UP, &hdev->flags)) {
H A Drtk_coex.c545 } else if (!test_bit(HCI_UP, &hdev->flags)) { in rtk_vendor_cmd_to_fw()
/OK3568_Linux_fs/kernel/include/net/bluetooth/
H A Dhci.h253 HCI_UP, enumerator
H A Dhci_core.h1371 #define hdev_is_powered(dev) (test_bit(HCI_UP, &(dev)->flags) && \
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/
H A Drtk_coex.c545 } else if (!test_bit(HCI_UP, &hdev->flags)) { in rtk_vendor_cmd_to_fw()