Lines Matching refs:hdev
25 #define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock) argument
26 #define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock) argument
29 struct hci_dev *hdev; member
38 void hci_req_init(struct hci_request *req, struct hci_dev *hdev);
40 bool hci_req_status_pend(struct hci_dev *hdev);
47 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status,
51 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req,
54 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req,
57 void hci_req_sync_cancel(struct hci_dev *hdev, int err);
59 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen,
62 int __hci_req_hci_power_on(struct hci_dev *hdev);
71 void hci_req_reenable_advertising(struct hci_dev *hdev);
75 int hci_req_update_adv_data(struct hci_dev *hdev, u8 instance);
80 void hci_req_clear_adv_instance(struct hci_dev *hdev, struct sock *sk,
88 int hci_get_random_address(struct hci_dev *hdev, bool require_privacy,
97 static inline void hci_req_update_scan(struct hci_dev *hdev) in hci_req_update_scan() argument
99 queue_work(hdev->req_workqueue, &hdev->scan_update); in hci_req_update_scan()
111 static inline void hci_update_background_scan(struct hci_dev *hdev) in hci_update_background_scan() argument
113 queue_work(hdev->req_workqueue, &hdev->bg_scan_update); in hci_update_background_scan()
116 void hci_request_setup(struct hci_dev *hdev);
117 void hci_request_cancel_all(struct hci_dev *hdev);
119 u8 append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len);