Lines Matching refs:hci_dev

37 void hci_req_init(struct hci_request *req, struct hci_dev *hdev)  in hci_req_init()
52 struct hci_dev *hdev = req->hdev; in req_run()
97 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete()
111 void hci_req_sync_cancel(struct hci_dev *hdev, int err) in hci_req_sync_cancel()
122 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev()
179 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync()
187 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, in __hci_req_sync()
263 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, in hci_req_sync()
280 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd()
310 struct hci_dev *hdev = req->hdev; in hci_req_add_ev()
345 struct hci_dev *hdev = req->hdev; in __hci_req_write_fast_connectable()
386 struct hci_dev *hdev = req->hdev; in __hci_update_background_scan()
453 struct hci_dev *hdev = req->hdev; in __hci_req_update_name()
463 static u8 *create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid16_list()
505 static u8 *create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid32_list()
538 static u8 *create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid128_list()
571 static void create_eir(struct hci_dev *hdev, u8 *data) in create_eir()
621 struct hci_dev *hdev = req->hdev; in __hci_req_update_eir()
650 struct hci_dev *hdev = req->hdev; in hci_req_add_le_scan_disable()
681 struct hci_dev *hdev = req->hdev; in update_white_list()
776 static bool scan_use_rpa(struct hci_dev *hdev) in scan_use_rpa()
784 struct hci_dev *hdev = req->hdev; in hci_req_start_scan()
861 struct hci_dev *hdev = req->hdev; in hci_req_add_le_passive_scan()
898 static u8 get_adv_instance_scan_rsp_len(struct hci_dev *hdev, u8 instance) in get_adv_instance_scan_rsp_len()
916 static u8 get_cur_adv_instance_scan_rsp_len(struct hci_dev *hdev) in get_cur_adv_instance_scan_rsp_len()
952 static u32 get_adv_instance_flags(struct hci_dev *hdev, u8 instance) in get_adv_instance_flags()
986 static bool adv_use_rpa(struct hci_dev *hdev, uint32_t flags) in adv_use_rpa()
1009 static bool is_advertising_allowed(struct hci_dev *hdev, bool connectable) in is_advertising_allowed()
1048 struct hci_dev *hdev = req->hdev; in __hci_req_enable_advertising()
1103 u8 append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in append_local_name()
1140 static u8 append_appearance(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in append_appearance()
1145 static u8 create_default_scan_rsp_data(struct hci_dev *hdev, u8 *ptr) in create_default_scan_rsp_data()
1156 static u8 create_instance_scan_rsp_data(struct hci_dev *hdev, u8 instance, in create_instance_scan_rsp_data()
1186 struct hci_dev *hdev = req->hdev; in __hci_req_update_scan_rsp_data()
1241 static u8 create_instance_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr) in create_instance_adv_data()
1323 struct hci_dev *hdev = req->hdev; in __hci_req_update_adv_data()
1371 int hci_req_update_adv_data(struct hci_dev *hdev, u8 instance) in hci_req_update_adv_data()
1381 static void adv_enable_complete(struct hci_dev *hdev, u8 status, u16 opcode) in adv_enable_complete()
1386 void hci_req_reenable_advertising(struct hci_dev *hdev) in hci_req_reenable_advertising()
1414 struct hci_dev *hdev = container_of(work, struct hci_dev, in adv_timeout_expire()
1443 int hci_get_random_address(struct hci_dev *hdev, bool require_privacy, in hci_get_random_address()
1532 struct hci_dev *hdev = req->hdev; in __hci_req_setup_ext_adv_instance()
1666 struct hci_dev *hdev = req->hdev; in __hci_req_start_ext_adv()
1685 struct hci_dev *hdev = req->hdev; in __hci_req_schedule_adv_instance()
1746 static void cancel_adv_timeout(struct hci_dev *hdev) in cancel_adv_timeout()
1765 void hci_req_clear_adv_instance(struct hci_dev *hdev, struct sock *sk, in hci_req_clear_adv_instance()
1822 struct hci_dev *hdev = req->hdev; in set_random_addr()
1847 struct hci_dev *hdev = req->hdev; in hci_update_random_address()
1932 static bool disconnected_whitelist_entries(struct hci_dev *hdev) in disconnected_whitelist_entries()
1952 struct hci_dev *hdev = req->hdev; in __hci_req_update_scan()
1990 struct hci_dev *hdev = container_of(work, struct hci_dev, scan_update); in scan_update_work()
1997 struct hci_dev *hdev = req->hdev; in connectable_update()
2028 struct hci_dev *hdev = container_of(work, struct hci_dev, in connectable_update_work()
2036 static u8 get_service_classes(struct hci_dev *hdev) in get_service_classes()
2049 struct hci_dev *hdev = req->hdev; in __hci_req_update_class()
2078 struct hci_dev *hdev = req->hdev; in write_iac()
2107 struct hci_dev *hdev = req->hdev; in discoverable_update()
2141 struct hci_dev *hdev = container_of(work, struct hci_dev, in discoverable_update_work()
2218 static void abort_conn_complete(struct hci_dev *hdev, u8 status, u16 opcode) in abort_conn_complete()
2252 struct hci_dev *hdev = container_of(work, struct hci_dev, in bg_scan_update()
2306 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_disable_work()
2365 struct hci_dev *hdev = req->hdev; in le_scan_restart()
2396 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_restart_work()
2447 struct hci_dev *hdev = req->hdev; in active_scan()
2504 static void start_discovery(struct hci_dev *hdev, u8 *status) in start_discovery()
2575 struct hci_dev *hdev = req->hdev; in hci_req_stop_discovery()
2631 struct hci_dev *hdev = container_of(work, struct hci_dev, in discov_update()
2658 struct hci_dev *hdev = container_of(work, struct hci_dev, in discov_off()
2682 struct hci_dev *hdev = req->hdev; in powered_update_hci()
2775 int __hci_req_hci_power_on(struct hci_dev *hdev) in __hci_req_hci_power_on()
2788 void hci_request_setup(struct hci_dev *hdev) in hci_request_setup()
2801 void hci_request_cancel_all(struct hci_dev *hdev) in hci_request_cancel_all()