Lines Matching refs:cmd_q
596 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_reset()
2539 skb_queue_head_init(&hdev->cmd_q); in hci_alloc_dev_priv()
3014 skb_queue_tail(&hdev->cmd_q, skb); in hci_send_cmd()
3899 skb = skb_peek(&hdev->cmd_q); in hci_req_is_complete()
3924 skb_queue_head(&hdev->cmd_q, skb); in hci_resend_last()
3977 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in hci_req_cmd_complete()
3978 while ((skb = __skb_dequeue(&hdev->cmd_q))) { in hci_req_cmd_complete()
3980 __skb_queue_head(&hdev->cmd_q, skb); in hci_req_cmd_complete()
3990 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in hci_req_cmd_complete()
4074 atomic_read(&hdev->cmd_cnt), skb_queue_len(&hdev->cmd_q)); in hci_cmd_work()
4078 skb = skb_dequeue(&hdev->cmd_q); in hci_cmd_work()
4104 skb_queue_head(&hdev->cmd_q, skb); in hci_cmd_work()