Lines Matching defs:hdev
30 static bool read_supported_features(struct hci_dev *hdev,
39 skb = __hci_cmd_sync(hdev, hdev->msft_opcode, sizeof(cp), &cp,
42 bt_dev_err(hdev, "Failed to read MSFT supported features (%ld)",
48 bt_dev_err(hdev, "MSFT supported features length mismatch");
75 void msft_do_open(struct hci_dev *hdev)
79 if (hdev->msft_opcode == HCI_OP_NOP)
82 bt_dev_dbg(hdev, "Initialize MSFT extension");
88 if (!read_supported_features(hdev, msft)) {
93 hdev->msft_data = msft;
96 void msft_do_close(struct hci_dev *hdev)
98 struct msft_data *msft = hdev->msft_data;
103 bt_dev_dbg(hdev, "Cleanup of MSFT extension");
105 hdev->msft_data = NULL;
111 void msft_vendor_evt(struct hci_dev *hdev, struct sk_buff *skb)
113 struct msft_data *msft = hdev->msft_data;
141 bt_dev_dbg(hdev, "MSFT vendor event %u", event);
144 __u64 msft_get_features(struct hci_dev *hdev)
146 struct msft_data *msft = hdev->msft_data;