Lines Matching refs:hci_dev
38 void hci_req_init(struct hci_request *req, struct hci_dev *hdev) in hci_req_init()
50 bool hci_req_status_pend(struct hci_dev *hdev) in hci_req_status_pend()
58 struct hci_dev *hdev = req->hdev; in req_run()
103 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete()
117 void hci_req_sync_cancel(struct hci_dev *hdev, int err) in hci_req_sync_cancel()
128 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev()
185 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync()
193 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, in __hci_req_sync()
269 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, in hci_req_sync()
290 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd()
320 struct hci_dev *hdev = req->hdev; in hci_req_add_ev()
355 struct hci_dev *hdev = req->hdev; in __hci_req_write_fast_connectable()
386 static void start_interleave_scan(struct hci_dev *hdev) in start_interleave_scan()
393 static bool is_interleave_scanning(struct hci_dev *hdev) in is_interleave_scanning()
398 static void cancel_interleave_scan(struct hci_dev *hdev) in cancel_interleave_scan()
410 static bool __hci_update_interleaved_scan(struct hci_dev *hdev) in __hci_update_interleaved_scan()
446 struct hci_dev *hdev = req->hdev; in __hci_update_background_scan()
516 struct hci_dev *hdev = req->hdev; in __hci_req_update_name()
526 static u8 *create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid16_list()
568 static u8 *create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid32_list()
601 static u8 *create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid128_list()
634 static void create_eir(struct hci_dev *hdev, u8 *data) in create_eir()
684 struct hci_dev *hdev = req->hdev; in __hci_req_update_eir()
713 struct hci_dev *hdev = req->hdev; in hci_req_add_le_scan_disable()
783 struct hci_dev *hdev = req->hdev; in add_to_accept_list()
842 struct hci_dev *hdev = req->hdev; in update_accept_list()
928 static bool scan_use_rpa(struct hci_dev *hdev) in scan_use_rpa()
937 struct hci_dev *hdev = req->hdev; in hci_req_start_scan()
1026 static inline bool hci_is_le_conn_scanning(struct hci_dev *hdev) in hci_is_le_conn_scanning()
1052 struct hci_dev *hdev = req->hdev; in hci_req_add_le_passive_scan()
1137 static bool adv_instance_is_scannable(struct hci_dev *hdev, u8 instance) in adv_instance_is_scannable()
1174 struct hci_dev *hdev = req->hdev; in hci_req_set_event_filter()
1209 static void cancel_adv_timeout(struct hci_dev *hdev) in cancel_adv_timeout()
1257 int hci_req_resume_adv_instances(struct hci_dev *hdev) in hci_req_resume_adv_instances()
1267 static void suspend_req_complete(struct hci_dev *hdev, u8 status, u16 opcode) in suspend_req_complete()
1287 struct hci_dev *hdev = req->hdev; in hci_req_add_set_adv_filter_enable()
1303 void hci_req_prepare_suspend(struct hci_dev *hdev, enum suspended_state next) in hci_req_prepare_suspend()
1443 static bool adv_cur_instance_is_scannable(struct hci_dev *hdev) in adv_cur_instance_is_scannable()
1460 static u32 get_adv_instance_flags(struct hci_dev *hdev, u8 instance) in get_adv_instance_flags()
1494 static bool adv_use_rpa(struct hci_dev *hdev, uint32_t flags) in adv_use_rpa()
1517 static bool is_advertising_allowed(struct hci_dev *hdev, bool connectable) in is_advertising_allowed()
1557 struct hci_dev *hdev = req->hdev; in __hci_req_enable_advertising()
1631 u8 append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in append_local_name()
1668 static u8 append_appearance(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in append_appearance()
1673 static u8 create_default_scan_rsp_data(struct hci_dev *hdev, u8 *ptr) in create_default_scan_rsp_data()
1683 static u8 create_instance_scan_rsp_data(struct hci_dev *hdev, u8 instance, in create_instance_scan_rsp_data()
1712 struct hci_dev *hdev = req->hdev; in __hci_req_update_scan_rsp_data()
1770 static u8 create_instance_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr) in create_instance_adv_data()
1861 struct hci_dev *hdev = req->hdev; in __hci_req_update_adv_data()
1913 int hci_req_update_adv_data(struct hci_dev *hdev, u8 instance) in hci_req_update_adv_data()
1923 static void enable_addr_resolution_complete(struct hci_dev *hdev, u8 status, in enable_addr_resolution_complete()
1929 void hci_req_disable_address_resolution(struct hci_dev *hdev) in hci_req_disable_address_resolution()
1945 static void adv_enable_complete(struct hci_dev *hdev, u8 status, u16 opcode) in adv_enable_complete()
1950 void hci_req_reenable_advertising(struct hci_dev *hdev) in hci_req_reenable_advertising()
1978 struct hci_dev *hdev = container_of(work, struct hci_dev, in adv_timeout_expire()
2010 struct hci_dev *hdev = req->hdev; in hci_req_add_le_interleaved_scan()
2040 struct hci_dev *hdev = container_of(work, struct hci_dev, in interleave_scan_work()
2063 int hci_get_random_address(struct hci_dev *hdev, bool require_privacy, in hci_get_random_address()
2144 struct hci_dev *hdev = req->hdev; in set_random_addr()
2169 struct hci_dev *hdev = req->hdev; in __hci_req_setup_ext_adv_instance()
2292 struct hci_dev *hdev = req->hdev; in __hci_req_enable_ext_advertising()
2337 struct hci_dev *hdev = req->hdev; in __hci_req_disable_ext_adv_instance()
2366 struct hci_dev *hdev = req->hdev; in __hci_req_remove_ext_adv_instance()
2379 struct hci_dev *hdev = req->hdev; in __hci_req_start_ext_adv()
2402 struct hci_dev *hdev = req->hdev; in __hci_req_schedule_adv_instance()
2477 void hci_req_clear_adv_instance(struct hci_dev *hdev, struct sock *sk, in hci_req_clear_adv_instance()
2535 struct hci_dev *hdev = req->hdev; in hci_update_random_address()
2621 static bool disconnected_accept_list_entries(struct hci_dev *hdev) in disconnected_accept_list_entries()
2641 struct hci_dev *hdev = req->hdev; in __hci_req_update_scan()
2682 struct hci_dev *hdev = container_of(work, struct hci_dev, scan_update); in scan_update_work()
2689 struct hci_dev *hdev = req->hdev; in connectable_update()
2720 struct hci_dev *hdev = container_of(work, struct hci_dev, in connectable_update_work()
2728 static u8 get_service_classes(struct hci_dev *hdev) in get_service_classes()
2741 struct hci_dev *hdev = req->hdev; in __hci_req_update_class()
2770 struct hci_dev *hdev = req->hdev; in write_iac()
2799 struct hci_dev *hdev = req->hdev; in discoverable_update()
2833 struct hci_dev *hdev = container_of(work, struct hci_dev, in discoverable_update_work()
2910 static void abort_conn_complete(struct hci_dev *hdev, u8 status, u16 opcode) in abort_conn_complete()
2944 struct hci_dev *hdev = container_of(work, struct hci_dev, in bg_scan_update()
3001 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_disable_work()
3060 struct hci_dev *hdev = req->hdev; in le_scan_restart()
3096 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_restart_work()
3147 struct hci_dev *hdev = req->hdev; in active_scan()
3213 static void start_discovery(struct hci_dev *hdev, u8 *status) in start_discovery()
3284 struct hci_dev *hdev = req->hdev; in hci_req_stop_discovery()
3341 struct hci_dev *hdev = container_of(work, struct hci_dev, in discov_update()
3368 struct hci_dev *hdev = container_of(work, struct hci_dev, in discov_off()
3392 struct hci_dev *hdev = req->hdev; in powered_update_hci()
3486 int __hci_req_hci_power_on(struct hci_dev *hdev) in __hci_req_hci_power_on()
3499 void hci_request_setup(struct hci_dev *hdev) in hci_request_setup()
3513 void hci_request_cancel_all(struct hci_dev *hdev) in hci_request_cancel_all()