Lines Matching refs:evt

1395 static void btusb_notify(struct hci_dev *hdev, unsigned int evt)  in btusb_notify()  argument
1399 BT_DBG("%s evt %d", hdev->name, evt); in btusb_notify()
1635 struct hci_event_hdr *evt = NULL; in btusb_setup_intel_patching() local
1689 evt = (struct hci_event_hdr *)(*fw_ptr); in btusb_setup_intel_patching()
1690 *fw_ptr += sizeof(*evt); in btusb_setup_intel_patching()
1691 remain -= sizeof(*evt); in btusb_setup_intel_patching()
1693 if (remain < evt->plen) { in btusb_setup_intel_patching()
1699 *fw_ptr += evt->plen; in btusb_setup_intel_patching()
1700 remain -= evt->plen; in btusb_setup_intel_patching()
1707 if (!evt || !evt_param || remain < 0) { in btusb_setup_intel_patching()
1713 cmd_param, evt->evt, HCI_INIT_TIMEOUT); in btusb_setup_intel_patching()
1724 if (skb->len != evt->plen) { in btusb_setup_intel_patching()
1731 if (memcmp(skb->data, evt_param, evt->plen)) { in btusb_setup_intel_patching()
1897 struct hci_ev_cmd_complete *evt; in inject_cmd_complete() local
1899 skb = bt_skb_alloc(sizeof(*hdr) + sizeof(*evt) + 1, GFP_KERNEL); in inject_cmd_complete()
1904 hdr->evt = HCI_EV_CMD_COMPLETE; in inject_cmd_complete()
1905 hdr->plen = sizeof(*evt) + 1; in inject_cmd_complete()
1907 evt = skb_put(skb, sizeof(*evt)); in inject_cmd_complete()
1908 evt->ncmd = 0x01; in inject_cmd_complete()
1909 evt->opcode = cpu_to_le16(opcode); in inject_cmd_complete()
1934 const struct intel_bootup *evt = ptr; in btusb_intel_bootup() local
1936 if (len != sizeof(*evt)) in btusb_intel_bootup()
1948 const struct intel_secure_send_result *evt = ptr; in btusb_intel_secure_send_result() local
1950 if (len != sizeof(*evt)) in btusb_intel_secure_send_result()
1953 if (evt->result) in btusb_intel_secure_send_result()
1970 if (skb->len > HCI_EVENT_HDR_SIZE && hdr->evt == 0xff && in btusb_recv_event_intel()