Lines Matching refs:hci_dev

281 static int mgmt_index_event(u16 event, struct hci_dev *hdev, void *data,
288 static int mgmt_limited_event(u16 event, struct hci_dev *hdev, void *data,
295 static int mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 len,
318 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data,
331 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data,
383 static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data,
387 struct hci_dev *d;
443 static int read_unconf_index_list(struct sock *sk, struct hci_dev *hdev,
447 struct hci_dev *d;
503 static int read_ext_index_list(struct sock *sk, struct hci_dev *hdev,
507 struct hci_dev *d;
577 static bool is_configured(struct hci_dev *hdev)
591 static __le32 get_missing_options(struct hci_dev *hdev)
607 static int new_options(struct hci_dev *hdev, struct sock *skip)
615 static int send_options_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev)
623 static int read_config_info(struct sock *sk, struct hci_dev *hdev,
651 static u32 get_supported_phys(struct hci_dev *hdev)
703 static u32 get_selected_phys(struct hci_dev *hdev)
766 static u32 get_configurable_phys(struct hci_dev *hdev)
772 static u32 get_supported_settings(struct hci_dev *hdev)
824 static u32 get_current_settings(struct hci_dev *hdev)
895 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev)
901 struct hci_dev *hdev,
907 u8 mgmt_get_adv_discov_flags(struct hci_dev *hdev)
931 bool mgmt_get_connectable(struct hci_dev *hdev)
950 struct hci_dev *hdev = container_of(work, struct hci_dev,
971 struct hci_dev *hdev = container_of(work, struct hci_dev,
994 static void mgmt_init_hdev(struct sock *sk, struct hci_dev *hdev)
1010 static int read_controller_info(struct sock *sk, struct hci_dev *hdev,
1040 static u16 append_eir_data_to_buf(struct hci_dev *hdev, u8 *eir)
1064 static int read_ext_controller_info(struct sock *sk, struct hci_dev *hdev,
1104 static int ext_info_changed(struct hci_dev *hdev, struct sock *skip)
1120 static int send_settings_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev)
1128 static void clean_up_hci_complete(struct hci_dev *hdev, u8 status, u16 opcode)
1138 void mgmt_advertising_added(struct sock *sk, struct hci_dev *hdev, u8 instance)
1147 void mgmt_advertising_removed(struct sock *sk, struct hci_dev *hdev,
1157 static void cancel_adv_timeout(struct hci_dev *hdev)
1165 static int clean_up_hci_state(struct hci_dev *hdev)
1199 static int set_powered(struct sock *sk, struct hci_dev *hdev, void *data,
1254 static int new_settings(struct hci_dev *hdev, struct sock *skip)
1262 int mgmt_new_settings(struct hci_dev *hdev)
1269 struct hci_dev *hdev;
1323 static u8 mgmt_bredr_support(struct hci_dev *hdev)
1333 static u8 mgmt_le_support(struct hci_dev *hdev)
1343 void mgmt_set_discoverable_complete(struct hci_dev *hdev, u8 status)
1378 static int set_discoverable(struct sock *sk, struct hci_dev *hdev, void *data,
1508 void mgmt_set_connectable_complete(struct hci_dev *hdev, u8 status)
1536 static int set_connectable_update_settings(struct hci_dev *hdev,
1565 static int set_connectable(struct sock *sk, struct hci_dev *hdev, void *data,
1622 static int set_bondable(struct sock *sk, struct hci_dev *hdev, void *data,
1665 static int set_link_security(struct sock *sk, struct hci_dev *hdev, void *data,
1734 static int set_ssp(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
1815 static int set_hs(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
1876 static void le_enable_complete(struct hci_dev *hdev, u8 status, u16 opcode)
1923 static int set_le(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
2036 static bool pending_eir_or_class(struct hci_dev *hdev)
2072 static void mgmt_class_complete(struct hci_dev *hdev, u16 mgmt_op, u8 status)
2091 static void add_uuid_complete(struct hci_dev *hdev, u8 status, u16 opcode)
2098 static int add_uuid(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
2156 static bool enable_service_cache(struct hci_dev *hdev)
2170 static void remove_uuid_complete(struct hci_dev *hdev, u8 status, u16 opcode)
2177 static int remove_uuid(struct sock *sk, struct hci_dev *hdev, void *data,
2256 static void set_class_complete(struct hci_dev *hdev, u8 status, u16 opcode)
2263 static int set_dev_class(struct sock *sk, struct hci_dev *hdev, void *data,
2334 static int load_link_keys(struct sock *sk, struct hci_dev *hdev, void *data,
2424 static int device_unpaired(struct hci_dev *hdev, bdaddr_t *bdaddr,
2436 static int unpair_device(struct sock *sk, struct hci_dev *hdev, void *data,
2564 static int disconnect(struct sock *sk, struct hci_dev *hdev, void *data,
2649 static int get_connections(struct sock *sk, struct hci_dev *hdev, void *data,
2703 static int send_pin_code_neg_reply(struct sock *sk, struct hci_dev *hdev,
2724 static int pin_code_reply(struct sock *sk, struct hci_dev *hdev, void *data,
2786 static int set_io_capability(struct sock *sk, struct hci_dev *hdev, void *data,
2811 struct hci_dev *hdev = conn->hdev;
2903 static int pair_device(struct sock *sk, struct hci_dev *hdev, void *data,
3038 static int cancel_pair_device(struct sock *sk, struct hci_dev *hdev, void *data,
3095 static int user_pairing_resp(struct sock *sk, struct hci_dev *hdev,
3166 static int pin_code_neg_reply(struct sock *sk, struct hci_dev *hdev,
3178 static int user_confirm_reply(struct sock *sk, struct hci_dev *hdev, void *data,
3194 static int user_confirm_neg_reply(struct sock *sk, struct hci_dev *hdev,
3206 static int user_passkey_reply(struct sock *sk, struct hci_dev *hdev, void *data,
3218 static int user_passkey_neg_reply(struct sock *sk, struct hci_dev *hdev,
3230 static void adv_expire(struct hci_dev *hdev, u32 flags)
3259 static void set_name_complete(struct hci_dev *hdev, u8 status, u16 opcode)
3291 static int set_local_name(struct sock *sk, struct hci_dev *hdev, void *data,
3361 static int set_appearance(struct sock *sk, struct hci_dev *hdev, void *data,
3395 static int get_phy_configuration(struct sock *sk, struct hci_dev *hdev,
3416 int mgmt_phy_configuration_changed(struct hci_dev *hdev, struct sock *skip)
3428 static void set_default_phy_complete(struct hci_dev *hdev, u8 status,
3459 static int set_phy_configuration(struct sock *sk, struct hci_dev *hdev,
3614 static int set_blocked_keys(struct sock *sk, struct hci_dev *hdev, void *data,
3663 static int set_wideband_speech(struct sock *sk, struct hci_dev *hdev,
3719 static int read_security_info(struct sock *sk, struct hci_dev *hdev,
3788 static int read_exp_features_info(struct sock *sk, struct hci_dev *hdev,
3847 static int exp_ll_privacy_feature_changed(bool enabled, struct hci_dev *hdev,
3877 static int set_exp_feature(struct sock *sk, struct hci_dev *hdev,
4030 static int get_device_flags(struct sock *sk, struct hci_dev *hdev, void *data,
4080 static void device_flags_changed(struct sock *sk, struct hci_dev *hdev,
4094 static int set_device_flags(struct sock *sk, struct hci_dev *hdev, void *data,
4152 static void mgmt_adv_monitor_added(struct sock *sk, struct hci_dev *hdev,
4162 static void mgmt_adv_monitor_removed(struct sock *sk, struct hci_dev *hdev,
4172 static int read_adv_mon_features(struct sock *sk, struct hci_dev *hdev,
4221 static int add_adv_patterns_monitor(struct sock *sk, struct hci_dev *hdev,
4323 static int remove_adv_monitor(struct sock *sk, struct hci_dev *hdev,
4361 static void read_local_oob_data_complete(struct hci_dev *hdev, u8 status,
4420 static int read_local_oob_data(struct sock *sk, struct hci_dev *hdev,
4471 static int add_remote_oob_data(struct sock *sk, struct hci_dev *hdev,
4579 static int remove_remote_oob_data(struct sock *sk, struct hci_dev *hdev,
4616 void mgmt_start_discovery_complete(struct hci_dev *hdev, u8 status)
4646 static bool discovery_type_is_valid(struct hci_dev *hdev, uint8_t type,
4673 static int start_discovery_internal(struct sock *sk, struct hci_dev *hdev,
4741 static int start_discovery(struct sock *sk, struct hci_dev *hdev,
4748 static int start_limited_discovery(struct sock *sk, struct hci_dev *hdev,
4763 static int start_service_discovery(struct sock *sk, struct hci_dev *hdev,
4864 void mgmt_stop_discovery_complete(struct hci_dev *hdev, u8 status)
4887 static int stop_discovery(struct sock *sk, struct hci_dev *hdev, void *data,
4929 static int confirm_name(struct sock *sk, struct hci_dev *hdev, void *data,
4971 static int block_device(struct sock *sk, struct hci_dev *hdev, void *data,
5007 static int unblock_device(struct sock *sk, struct hci_dev *hdev, void *data,
5043 static int set_device_id(struct sock *sk, struct hci_dev *hdev, void *data,
5078 static void enable_advertising_instance(struct hci_dev *hdev, u8 status,
5084 static void set_advertising_complete(struct hci_dev *hdev, u8 status,
5158 static int set_advertising(struct sock *sk, struct hci_dev *hdev, void *data,
5277 static int set_static_address(struct sock *sk, struct hci_dev *hdev,
5321 static int set_scan_params(struct sock *sk, struct hci_dev *hdev,
5378 static void fast_connectable_complete(struct hci_dev *hdev, u8 status,
5412 static int set_fast_connectable(struct sock *sk, struct hci_dev *hdev,
5477 static void set_bredr_complete(struct hci_dev *hdev, u8 status, u16 opcode)
5509 static int set_bredr(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
5621 static void sc_enable_complete(struct hci_dev *hdev, u8 status, u16 opcode)
5666 static int set_secure_conn(struct sock *sk, struct hci_dev *hdev,
5754 static int set_debug_keys(struct sock *sk, struct hci_dev *hdev,
5801 static int set_privacy(struct sock *sk, struct hci_dev *hdev, void *cp_data,
5874 static int load_irks(struct sock *sk, struct hci_dev *hdev, void *cp_data,
5969 static int load_long_term_keys(struct sock *sk, struct hci_dev *hdev,
6097 static void conn_info_refresh_complete(struct hci_dev *hdev, u8 hci_status,
6151 static int get_conn_info(struct sock *sk, struct hci_dev *hdev, void *data,
6276 struct hci_dev *hdev;
6308 static void get_clock_info_complete(struct hci_dev *hdev, u8 status, u16 opcode)
6340 static int get_clock_info(struct sock *sk, struct hci_dev *hdev, void *data,
6416 static bool is_connected(struct hci_dev *hdev, bdaddr_t *addr, u8 type)
6434 static int hci_conn_params_set(struct hci_dev *hdev, bdaddr_t *addr,
6478 static void device_added(struct sock *sk, struct hci_dev *hdev,
6490 static int add_device(struct sock *sk, struct hci_dev *hdev,
6588 static void device_removed(struct sock *sk, struct hci_dev *hdev,
6599 static int remove_device(struct sock *sk, struct hci_dev *hdev,
6728 static int load_conn_param(struct sock *sk, struct hci_dev *hdev, void *data,
6813 static int set_external_config(struct sock *sk, struct hci_dev *hdev,
6869 static int set_public_address(struct sock *sk, struct hci_dev *hdev,
6921 static void read_local_oob_ext_data_complete(struct hci_dev *hdev, u8 status,
7032 static int read_local_ssp_oob_req(struct hci_dev *hdev, struct sock *sk,
7060 static int read_local_oob_ext_data(struct sock *sk, struct hci_dev *hdev,
7216 static u32 get_supported_adv_flags(struct hci_dev *hdev)
7249 static int read_adv_features(struct sock *sk, struct hci_dev *hdev,
7305 static u8 calculate_name_len(struct hci_dev *hdev)
7312 static u8 tlv_data_max_len(struct hci_dev *hdev, u32 adv_flags,
7358 static bool tlv_data_is_valid(struct hci_dev *hdev, u32 adv_flags, u8 *data,
7403 static void add_advertising_complete(struct hci_dev *hdev, u8 status,
7455 static int add_advertising(struct sock *sk, struct hci_dev *hdev,
7608 static void remove_advertising_complete(struct hci_dev *hdev, u8 status,
7638 static int remove_advertising(struct sock *sk, struct hci_dev *hdev,
7724 static int get_adv_size_info(struct sock *sk, struct hci_dev *hdev,
7884 void mgmt_index_added(struct hci_dev *hdev)
7916 void mgmt_index_removed(struct hci_dev *hdev)
7952 static void restart_le_actions(struct hci_dev *hdev)
7976 void mgmt_power_on(struct hci_dev *hdev, int err)
7999 void __mgmt_power_off(struct hci_dev *hdev)
8033 void mgmt_set_powered_failed(struct hci_dev *hdev, int err)
8052 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key,
8088 void mgmt_new_ltk(struct hci_dev *hdev, struct smp_ltk *key, bool persistent)
8131 void mgmt_new_irk(struct hci_dev *hdev, struct smp_irk *irk, bool persistent)
8147 void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk,
8177 void mgmt_new_conn_param(struct hci_dev *hdev, bdaddr_t *bdaddr,
8198 void mgmt_device_connected(struct hci_dev *hdev, struct hci_conn *conn,
8249 struct hci_dev *hdev = data;
8258 bool mgmt_powering_down(struct hci_dev *hdev)
8274 void mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr,
8314 void mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr,
8340 void mgmt_connect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
8360 void mgmt_pin_code_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 secure)
8371 void mgmt_pin_code_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr,
8384 void mgmt_pin_code_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr,
8397 int mgmt_user_confirm_request(struct hci_dev *hdev, bdaddr_t *bdaddr,
8414 int mgmt_user_passkey_request(struct hci_dev *hdev, bdaddr_t *bdaddr,
8428 static int user_pairing_resp_complete(struct hci_dev *hdev, bdaddr_t *bdaddr,
8444 int mgmt_user_confirm_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr,
8451 int mgmt_user_confirm_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr,
8459 int mgmt_user_passkey_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr,
8466 int mgmt_user_passkey_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr,
8474 int mgmt_user_passkey_notify(struct hci_dev *hdev, bdaddr_t *bdaddr,
8511 void mgmt_auth_enable_complete(struct hci_dev *hdev, u8 status)
8540 struct hci_dev *hdev = req->hdev;
8553 void mgmt_ssp_enable_complete(struct hci_dev *hdev, u8 enable, u8 status)
8616 void mgmt_set_class_of_dev_complete(struct hci_dev *hdev, u8 *dev_class,
8635 void mgmt_set_local_name_complete(struct hci_dev *hdev, u8 *name, u8 status)
8730 static void restart_le_scan(struct hci_dev *hdev)
8745 static bool is_filter_match(struct hci_dev *hdev, s8 rssi, u8 *eir,
8790 void mgmt_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
8875 void mgmt_remote_name(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
8898 void mgmt_discovering(struct hci_dev *hdev, u8 discovering)
8911 void mgmt_suspending(struct hci_dev *hdev, u8 state)
8919 void mgmt_resuming(struct hci_dev *hdev, u8 reason, bdaddr_t *bdaddr,