Lines Matching defs:hdev
37 void hci_req_init(struct hci_request *req, struct hci_dev *hdev) in hci_req_init()
49 bool hci_req_status_pend(struct hci_dev *hdev) in hci_req_status_pend()
57 struct hci_dev *hdev = req->hdev; in req_run() local
102 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete()
116 void hci_req_sync_cancel(struct hci_dev *hdev, int err) in hci_req_sync_cancel()
127 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev()
184 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync()
192 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, in __hci_req_sync()
268 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, in hci_req_sync()
289 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd()
319 struct hci_dev *hdev = req->hdev; in hci_req_add_ev() local
354 struct hci_dev *hdev = req->hdev; in __hci_req_write_fast_connectable() local
393 struct hci_dev *hdev = req->hdev; in __hci_update_background_scan() local
464 struct hci_dev *hdev = req->hdev; in __hci_req_update_name() local
474 static u8 *create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid16_list()
516 static u8 *create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid32_list()
549 static u8 *create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid128_list()
582 static void create_eir(struct hci_dev *hdev, u8 *data) in create_eir()
632 struct hci_dev *hdev = req->hdev; in __hci_req_update_eir() local
661 struct hci_dev *hdev = req->hdev; in hci_req_add_le_scan_disable() local
728 struct hci_dev *hdev = req->hdev; in add_to_white_list() local
787 struct hci_dev *hdev = req->hdev; in update_white_list() local
871 static bool scan_use_rpa(struct hci_dev *hdev) in scan_use_rpa()
880 struct hci_dev *hdev = req->hdev; in hci_req_start_scan() local
969 static inline bool hci_is_le_conn_scanning(struct hci_dev *hdev) in hci_is_le_conn_scanning()
995 struct hci_dev *hdev = req->hdev; in hci_req_add_le_passive_scan() local
1055 static u8 get_adv_instance_scan_rsp_len(struct hci_dev *hdev, u8 instance) in get_adv_instance_scan_rsp_len()
1092 struct hci_dev *hdev = req->hdev; in hci_req_set_event_filter() local
1130 static void cancel_adv_timeout(struct hci_dev *hdev) in cancel_adv_timeout()
1177 static void suspend_req_complete(struct hci_dev *hdev, u8 status, u16 opcode) in suspend_req_complete()
1188 void hci_req_prepare_suspend(struct hci_dev *hdev, enum suspended_state next) in hci_req_prepare_suspend()
1316 static u8 get_cur_adv_instance_scan_rsp_len(struct hci_dev *hdev) in get_cur_adv_instance_scan_rsp_len()
1347 static u32 get_adv_instance_flags(struct hci_dev *hdev, u8 instance) in get_adv_instance_flags()
1381 static bool adv_use_rpa(struct hci_dev *hdev, uint32_t flags) in adv_use_rpa()
1404 static bool is_advertising_allowed(struct hci_dev *hdev, bool connectable) in is_advertising_allowed()
1443 struct hci_dev *hdev = req->hdev; in __hci_req_enable_advertising() local
1513 u8 append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in append_local_name()
1550 static u8 append_appearance(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in append_appearance()
1555 static u8 create_default_scan_rsp_data(struct hci_dev *hdev, u8 *ptr) in create_default_scan_rsp_data()
1566 static u8 create_instance_scan_rsp_data(struct hci_dev *hdev, u8 instance, in create_instance_scan_rsp_data()
1596 struct hci_dev *hdev = req->hdev; in __hci_req_update_scan_rsp_data() local
1651 static u8 create_instance_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr) in create_instance_adv_data()
1742 struct hci_dev *hdev = req->hdev; in __hci_req_update_adv_data() local
1790 int hci_req_update_adv_data(struct hci_dev *hdev, u8 instance) in hci_req_update_adv_data()
1800 static void enable_addr_resolution_complete(struct hci_dev *hdev, u8 status, in enable_addr_resolution_complete()
1806 void hci_req_disable_address_resolution(struct hci_dev *hdev) in hci_req_disable_address_resolution()
1822 static void adv_enable_complete(struct hci_dev *hdev, u8 status, u16 opcode) in adv_enable_complete()
1827 void hci_req_reenable_advertising(struct hci_dev *hdev) in hci_req_reenable_advertising()
1855 struct hci_dev *hdev = container_of(work, struct hci_dev, in adv_timeout_expire() local
1884 int hci_get_random_address(struct hci_dev *hdev, bool require_privacy, in hci_get_random_address()
1979 struct hci_dev *hdev = req->hdev; in __hci_req_setup_ext_adv_instance() local
2089 struct hci_dev *hdev = req->hdev; in __hci_req_enable_ext_advertising() local
2134 struct hci_dev *hdev = req->hdev; in __hci_req_disable_ext_adv_instance() local
2163 struct hci_dev *hdev = req->hdev; in __hci_req_remove_ext_adv_instance() local
2176 struct hci_dev *hdev = req->hdev; in __hci_req_start_ext_adv() local
2199 struct hci_dev *hdev = req->hdev; in __hci_req_schedule_adv_instance() local
2274 void hci_req_clear_adv_instance(struct hci_dev *hdev, struct sock *sk, in hci_req_clear_adv_instance()
2331 struct hci_dev *hdev = req->hdev; in set_random_addr() local
2356 struct hci_dev *hdev = req->hdev; in hci_update_random_address() local
2447 static bool disconnected_whitelist_entries(struct hci_dev *hdev) in disconnected_whitelist_entries()
2467 struct hci_dev *hdev = req->hdev; in __hci_req_update_scan() local
2508 struct hci_dev *hdev = container_of(work, struct hci_dev, scan_update); in scan_update_work() local
2515 struct hci_dev *hdev = req->hdev; in connectable_update() local
2546 struct hci_dev *hdev = container_of(work, struct hci_dev, in connectable_update_work() local
2554 static u8 get_service_classes(struct hci_dev *hdev) in get_service_classes()
2567 struct hci_dev *hdev = req->hdev; in __hci_req_update_class() local
2596 struct hci_dev *hdev = req->hdev; in write_iac() local
2625 struct hci_dev *hdev = req->hdev; in discoverable_update() local
2659 struct hci_dev *hdev = container_of(work, struct hci_dev, in discoverable_update_work() local
2736 static void abort_conn_complete(struct hci_dev *hdev, u8 status, u16 opcode) in abort_conn_complete()
2770 struct hci_dev *hdev = container_of(work, struct hci_dev, in bg_scan_update() local
2824 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_disable_work() local
2883 struct hci_dev *hdev = req->hdev; in le_scan_restart() local
2919 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_restart_work() local
2970 struct hci_dev *hdev = req->hdev; in active_scan() local
3015 static void start_discovery(struct hci_dev *hdev, u8 *status) in start_discovery()
3086 struct hci_dev *hdev = req->hdev; in hci_req_stop_discovery() local
3142 struct hci_dev *hdev = container_of(work, struct hci_dev, in discov_update() local
3169 struct hci_dev *hdev = container_of(work, struct hci_dev, in discov_off() local
3193 struct hci_dev *hdev = req->hdev; in powered_update_hci() local
3287 int __hci_req_hci_power_on(struct hci_dev *hdev) in __hci_req_hci_power_on()
3300 void hci_request_setup(struct hci_dev *hdev) in hci_request_setup()
3313 void hci_request_cancel_all(struct hci_dev *hdev) in hci_request_cancel_all()