Lines Matching refs:opcode

1467 		u16 opcode = hci_skb_opcode(hdev->req_skb);  in hci_cmd_timeout()  local
1469 bt_dev_err(hdev, "command 0x%4.4x tx timeout", opcode); in hci_cmd_timeout()
3091 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, in hci_send_cmd() argument
3096 BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen); in hci_send_cmd()
3098 skb = hci_cmd_sync_alloc(hdev, opcode, plen, param, NULL); in hci_send_cmd()
3115 int __hci_cmd_send(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_send() argument
3120 if (hci_opcode_ogf(opcode) != 0x3f) { in __hci_cmd_send()
3133 skb = hci_cmd_sync_alloc(hdev, opcode, plen, param, NULL); in __hci_cmd_send()
3136 opcode); in __hci_cmd_send()
3147 static void *hci_cmd_data(struct sk_buff *skb, __u16 opcode) in hci_cmd_data() argument
3156 if (hdr->opcode != cpu_to_le16(opcode)) in hci_cmd_data()
3163 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) in hci_sent_cmd_data() argument
3168 data = hci_cmd_data(hdev->sent_cmd, opcode); in hci_sent_cmd_data()
3171 data = hci_cmd_data(hdev->req_skb, opcode); in hci_sent_cmd_data()
3936 u16 opcode; in hci_resend_last() local
3942 opcode = __le16_to_cpu(sent->opcode); in hci_resend_last()
3943 if (opcode == HCI_OP_RESET) in hci_resend_last()
3954 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, in hci_req_cmd_complete() argument
3961 BT_DBG("opcode 0x%04x status 0x%02x", opcode, status); in hci_req_cmd_complete()
3966 if (!hci_sent_cmd_data(hdev, opcode)) { in hci_req_cmd_complete()
3973 if (test_bit(HCI_INIT, &hdev->flags) && opcode == HCI_OP_RESET) in hci_req_cmd_complete()