• Home
  • Raw
  • Download

Lines Matching refs:opcode

1080 static struct sk_buff *hci_get_cmd_complete(struct hci_dev *hdev, u16 opcode,  in hci_get_cmd_complete()  argument
1124 if (opcode == __le16_to_cpu(ev->opcode)) in hci_get_cmd_complete()
1127 BT_DBG("opcode doesn't match (0x%2.2x != 0x%2.2x)", opcode, in hci_get_cmd_complete()
1128 __le16_to_cpu(ev->opcode)); in hci_get_cmd_complete()
1135 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() argument
1146 hci_req_add_ev(&req, opcode, plen, param, event); in __hci_cmd_sync_ev()
1185 return hci_get_cmd_complete(hdev, opcode, event); in __hci_cmd_sync_ev()
1189 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() argument
1192 return __hci_cmd_sync_ev(hdev, opcode, plen, param, 0, timeout); in __hci_cmd_sync()
3428 u16 opcode = __le16_to_cpu(sent->opcode); in hci_cmd_timeout() local
3430 BT_ERR("%s command 0x%4.4x tx timeout", hdev->name, opcode); in hci_cmd_timeout()
4509 static struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, in hci_prepare_cmd() argument
4521 hdr->opcode = cpu_to_le16(opcode); in hci_prepare_cmd()
4530 bt_cb(skb)->opcode = opcode; in hci_prepare_cmd()
4536 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, in hci_send_cmd() argument
4541 BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen); in hci_send_cmd()
4543 skb = hci_prepare_cmd(hdev, opcode, plen, param); in hci_send_cmd()
4561 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add_ev() argument
4567 BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen); in hci_req_add_ev()
4575 skb = hci_prepare_cmd(hdev, opcode, plen, param); in hci_req_add_ev()
4578 hdev->name, opcode); in hci_req_add_ev()
4591 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add() argument
4594 hci_req_add_ev(req, opcode, plen, param, 0); in hci_req_add()
4598 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) in hci_sent_cmd_data() argument
4607 if (hdr->opcode != cpu_to_le16(opcode)) in hci_sent_cmd_data()
4610 BT_DBG("%s opcode 0x%4.4x", hdev->name, opcode); in hci_sent_cmd_data()
5270 u16 opcode; in hci_resend_last() local
5276 opcode = __le16_to_cpu(sent->opcode); in hci_resend_last()
5277 if (opcode == HCI_OP_RESET) in hci_resend_last()
5288 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status) in hci_req_cmd_complete() argument
5294 BT_DBG("opcode 0x%04x status 0x%02x", opcode, status); in hci_req_cmd_complete()
5299 if (!hci_sent_cmd_data(hdev, opcode)) { in hci_req_cmd_complete()
5306 if (test_bit(HCI_INIT, &hdev->flags) && opcode == HCI_OP_RESET) in hci_req_cmd_complete()