Lines Matching refs:cmd_q
547 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_reset()
2529 skb_queue_head_init(&hdev->cmd_q); in hci_alloc_dev_priv()
3035 skb_queue_tail(&hdev->cmd_q, skb); in hci_send_cmd()
3852 skb = skb_peek(&hdev->cmd_q); in hci_req_is_complete()
3877 skb_queue_head(&hdev->cmd_q, skb); in hci_resend_last()
3932 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in hci_req_cmd_complete()
3933 while ((skb = __skb_dequeue(&hdev->cmd_q))) { in hci_req_cmd_complete()
3935 __skb_queue_head(&hdev->cmd_q, skb); in hci_req_cmd_complete()
3945 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in hci_req_cmd_complete()
4033 skb_queue_head(&hdev->cmd_q, skb); in hci_send_cmd_sync()
4059 atomic_read(&hdev->cmd_cnt), skb_queue_len(&hdev->cmd_q)); in hci_cmd_work()
4063 skb = skb_dequeue(&hdev->cmd_q); in hci_cmd_work()