Lines Matching defs:hdev
250 static int mgmt_index_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_index_event()
257 static int mgmt_limited_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_limited_event()
264 static int mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 len, in mgmt_event()
287 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data, in read_version()
300 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data, in read_commands()
352 static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data, in read_index_list()
412 static int read_unconf_index_list(struct sock *sk, struct hci_dev *hdev, in read_unconf_index_list()
472 static int read_ext_index_list(struct sock *sk, struct hci_dev *hdev, in read_ext_index_list()
546 static bool is_configured(struct hci_dev *hdev) in is_configured()
560 static __le32 get_missing_options(struct hci_dev *hdev) in get_missing_options()
576 static int new_options(struct hci_dev *hdev, struct sock *skip) in new_options()
584 static int send_options_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev) in send_options_rsp()
592 static int read_config_info(struct sock *sk, struct hci_dev *hdev, in read_config_info()
620 static u32 get_supported_phys(struct hci_dev *hdev) in get_supported_phys()
672 static u32 get_selected_phys(struct hci_dev *hdev) in get_selected_phys()
735 static u32 get_configurable_phys(struct hci_dev *hdev) in get_configurable_phys()
741 static u32 get_supported_settings(struct hci_dev *hdev) in get_supported_settings()
783 static u32 get_current_settings(struct hci_dev *hdev) in get_current_settings()
851 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev) in pending_find()
857 struct hci_dev *hdev, in pending_find_data()
863 u8 mgmt_get_adv_discov_flags(struct hci_dev *hdev) in mgmt_get_adv_discov_flags()
887 bool mgmt_get_connectable(struct hci_dev *hdev) in mgmt_get_connectable()
906 struct hci_dev *hdev = container_of(work, struct hci_dev, in service_cache_off() local
927 struct hci_dev *hdev = container_of(work, struct hci_dev, in rpa_expired() local
950 static void mgmt_init_hdev(struct sock *sk, struct hci_dev *hdev) in mgmt_init_hdev()
966 static int read_controller_info(struct sock *sk, struct hci_dev *hdev, in read_controller_info()
996 static u16 append_eir_data_to_buf(struct hci_dev *hdev, u8 *eir) in append_eir_data_to_buf()
1020 static int read_ext_controller_info(struct sock *sk, struct hci_dev *hdev, in read_ext_controller_info()
1060 static int ext_info_changed(struct hci_dev *hdev, struct sock *skip) in ext_info_changed()
1076 static int send_settings_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev) in send_settings_rsp()
1084 static void clean_up_hci_complete(struct hci_dev *hdev, u8 status, u16 opcode) in clean_up_hci_complete()
1094 void mgmt_advertising_added(struct sock *sk, struct hci_dev *hdev, u8 instance) in mgmt_advertising_added()
1103 void mgmt_advertising_removed(struct sock *sk, struct hci_dev *hdev, in mgmt_advertising_removed()
1113 static void cancel_adv_timeout(struct hci_dev *hdev) in cancel_adv_timeout()
1121 static int clean_up_hci_state(struct hci_dev *hdev) in clean_up_hci_state()
1155 static int set_powered(struct sock *sk, struct hci_dev *hdev, void *data, in set_powered()
1210 static int new_settings(struct hci_dev *hdev, struct sock *skip) in new_settings()
1218 int mgmt_new_settings(struct hci_dev *hdev) in mgmt_new_settings()
1225 struct hci_dev *hdev; member
1279 static u8 mgmt_bredr_support(struct hci_dev *hdev) in mgmt_bredr_support()
1289 static u8 mgmt_le_support(struct hci_dev *hdev) in mgmt_le_support()
1299 void mgmt_set_discoverable_complete(struct hci_dev *hdev, u8 status) in mgmt_set_discoverable_complete()
1334 static int set_discoverable(struct sock *sk, struct hci_dev *hdev, void *data, in set_discoverable()
1458 void mgmt_set_connectable_complete(struct hci_dev *hdev, u8 status) in mgmt_set_connectable_complete()
1486 static int set_connectable_update_settings(struct hci_dev *hdev, in set_connectable_update_settings()
1515 static int set_connectable(struct sock *sk, struct hci_dev *hdev, void *data, in set_connectable()
1572 static int set_bondable(struct sock *sk, struct hci_dev *hdev, void *data, in set_bondable()
1615 static int set_link_security(struct sock *sk, struct hci_dev *hdev, void *data, in set_link_security()
1684 static int set_ssp(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_ssp()
1765 static int set_hs(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_hs()
1822 static void le_enable_complete(struct hci_dev *hdev, u8 status, u16 opcode) in le_enable_complete()
1869 static int set_le(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_le()
1982 static bool pending_eir_or_class(struct hci_dev *hdev) in pending_eir_or_class()
2018 static void mgmt_class_complete(struct hci_dev *hdev, u16 mgmt_op, u8 status) in mgmt_class_complete()
2037 static void add_uuid_complete(struct hci_dev *hdev, u8 status, u16 opcode) in add_uuid_complete()
2044 static int add_uuid(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in add_uuid()
2102 static bool enable_service_cache(struct hci_dev *hdev) in enable_service_cache()
2116 static void remove_uuid_complete(struct hci_dev *hdev, u8 status, u16 opcode) in remove_uuid_complete()
2123 static int remove_uuid(struct sock *sk, struct hci_dev *hdev, void *data, in remove_uuid()
2202 static void set_class_complete(struct hci_dev *hdev, u8 status, u16 opcode) in set_class_complete()
2209 static int set_dev_class(struct sock *sk, struct hci_dev *hdev, void *data, in set_dev_class()
2280 static int load_link_keys(struct sock *sk, struct hci_dev *hdev, void *data, in load_link_keys()
2361 static int device_unpaired(struct hci_dev *hdev, bdaddr_t *bdaddr, in device_unpaired()
2373 static int unpair_device(struct sock *sk, struct hci_dev *hdev, void *data, in unpair_device()
2501 static int disconnect(struct sock *sk, struct hci_dev *hdev, void *data, in disconnect()
2586 static int get_connections(struct sock *sk, struct hci_dev *hdev, void *data, in get_connections()
2640 static int send_pin_code_neg_reply(struct sock *sk, struct hci_dev *hdev, in send_pin_code_neg_reply()
2661 static int pin_code_reply(struct sock *sk, struct hci_dev *hdev, void *data, in pin_code_reply()
2723 static int set_io_capability(struct sock *sk, struct hci_dev *hdev, void *data, in set_io_capability()
2749 struct hci_dev *hdev = conn->hdev; in find_pairing() local
2841 static int pair_device(struct sock *sk, struct hci_dev *hdev, void *data, in pair_device()
2972 static int cancel_pair_device(struct sock *sk, struct hci_dev *hdev, void *data, in cancel_pair_device()
3015 static int user_pairing_resp(struct sock *sk, struct hci_dev *hdev, in user_pairing_resp()
3086 static int pin_code_neg_reply(struct sock *sk, struct hci_dev *hdev, in pin_code_neg_reply()
3098 static int user_confirm_reply(struct sock *sk, struct hci_dev *hdev, void *data, in user_confirm_reply()
3114 static int user_confirm_neg_reply(struct sock *sk, struct hci_dev *hdev, in user_confirm_neg_reply()
3126 static int user_passkey_reply(struct sock *sk, struct hci_dev *hdev, void *data, in user_passkey_reply()
3138 static int user_passkey_neg_reply(struct sock *sk, struct hci_dev *hdev, in user_passkey_neg_reply()
3150 static void adv_expire(struct hci_dev *hdev, u32 flags) in adv_expire()
3179 static void set_name_complete(struct hci_dev *hdev, u8 status, u16 opcode) in set_name_complete()
3211 static int set_local_name(struct sock *sk, struct hci_dev *hdev, void *data, in set_local_name()
3281 static int set_appearance(struct sock *sk, struct hci_dev *hdev, void *data, in set_appearance()
3315 static int get_phy_configuration(struct sock *sk, struct hci_dev *hdev, in get_phy_configuration()
3336 int mgmt_phy_configuration_changed(struct hci_dev *hdev, struct sock *skip) in mgmt_phy_configuration_changed()
3348 static void set_default_phy_complete(struct hci_dev *hdev, u8 status, in set_default_phy_complete()
3379 static int set_phy_configuration(struct sock *sk, struct hci_dev *hdev, in set_phy_configuration()
3534 static void read_local_oob_data_complete(struct hci_dev *hdev, u8 status, in read_local_oob_data_complete()
3593 static int read_local_oob_data(struct sock *sk, struct hci_dev *hdev, in read_local_oob_data()
3644 static int add_remote_oob_data(struct sock *sk, struct hci_dev *hdev, in add_remote_oob_data()
3752 static int remove_remote_oob_data(struct sock *sk, struct hci_dev *hdev, in remove_remote_oob_data()
3789 void mgmt_start_discovery_complete(struct hci_dev *hdev, u8 status) in mgmt_start_discovery_complete()
3812 static bool discovery_type_is_valid(struct hci_dev *hdev, uint8_t type, in discovery_type_is_valid()
3839 static int start_discovery_internal(struct sock *sk, struct hci_dev *hdev, in start_discovery_internal()
3900 static int start_discovery(struct sock *sk, struct hci_dev *hdev, in start_discovery()
3907 static int start_limited_discovery(struct sock *sk, struct hci_dev *hdev, in start_limited_discovery()
3922 static int start_service_discovery(struct sock *sk, struct hci_dev *hdev, in start_service_discovery()
4023 void mgmt_stop_discovery_complete(struct hci_dev *hdev, u8 status) in mgmt_stop_discovery_complete()
4040 static int stop_discovery(struct sock *sk, struct hci_dev *hdev, void *data, in stop_discovery()
4082 static int confirm_name(struct sock *sk, struct hci_dev *hdev, void *data, in confirm_name()
4124 static int block_device(struct sock *sk, struct hci_dev *hdev, void *data, in block_device()
4160 static int unblock_device(struct sock *sk, struct hci_dev *hdev, void *data, in unblock_device()
4196 static int set_device_id(struct sock *sk, struct hci_dev *hdev, void *data, in set_device_id()
4231 static void enable_advertising_instance(struct hci_dev *hdev, u8 status, in enable_advertising_instance()
4237 static void set_advertising_complete(struct hci_dev *hdev, u8 status, in set_advertising_complete()
4300 static int set_advertising(struct sock *sk, struct hci_dev *hdev, void *data, in set_advertising()
4408 static int set_static_address(struct sock *sk, struct hci_dev *hdev, in set_static_address()
4452 static int set_scan_params(struct sock *sk, struct hci_dev *hdev, in set_scan_params()
4509 static void fast_connectable_complete(struct hci_dev *hdev, u8 status, in fast_connectable_complete()
4543 static int set_fast_connectable(struct sock *sk, struct hci_dev *hdev, in set_fast_connectable()
4608 static void set_bredr_complete(struct hci_dev *hdev, u8 status, u16 opcode) in set_bredr_complete()
4640 static int set_bredr(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_bredr()
4752 static void sc_enable_complete(struct hci_dev *hdev, u8 status, u16 opcode) in sc_enable_complete()
4797 static int set_secure_conn(struct sock *sk, struct hci_dev *hdev, in set_secure_conn()
4885 static int set_debug_keys(struct sock *sk, struct hci_dev *hdev, in set_debug_keys()
4932 static int set_privacy(struct sock *sk, struct hci_dev *hdev, void *cp_data, in set_privacy()
5005 static int load_irks(struct sock *sk, struct hci_dev *hdev, void *cp_data, in load_irks()
5087 static int load_long_term_keys(struct sock *sk, struct hci_dev *hdev, in load_long_term_keys()
5202 static void conn_info_refresh_complete(struct hci_dev *hdev, u8 hci_status, in conn_info_refresh_complete()
5256 static int get_conn_info(struct sock *sk, struct hci_dev *hdev, void *data, in get_conn_info()
5381 struct hci_dev *hdev; in clock_info_cmd_complete() local
5413 static void get_clock_info_complete(struct hci_dev *hdev, u8 status, u16 opcode) in get_clock_info_complete()
5445 static int get_clock_info(struct sock *sk, struct hci_dev *hdev, void *data, in get_clock_info()
5521 static bool is_connected(struct hci_dev *hdev, bdaddr_t *addr, u8 type) in is_connected()
5539 static int hci_conn_params_set(struct hci_dev *hdev, bdaddr_t *addr, in hci_conn_params_set()
5583 static void device_added(struct sock *sk, struct hci_dev *hdev, in device_added()
5595 static int add_device(struct sock *sk, struct hci_dev *hdev, in add_device()
5683 static void device_removed(struct sock *sk, struct hci_dev *hdev, in device_removed()
5694 static int remove_device(struct sock *sk, struct hci_dev *hdev, in remove_device()
5823 static int load_conn_param(struct sock *sk, struct hci_dev *hdev, void *data, in load_conn_param()
5908 static int set_external_config(struct sock *sk, struct hci_dev *hdev, in set_external_config()
5964 static int set_public_address(struct sock *sk, struct hci_dev *hdev, in set_public_address()
6016 static void read_local_oob_ext_data_complete(struct hci_dev *hdev, u8 status, in read_local_oob_ext_data_complete()
6127 static int read_local_ssp_oob_req(struct hci_dev *hdev, struct sock *sk, in read_local_ssp_oob_req()
6155 static int read_local_oob_ext_data(struct sock *sk, struct hci_dev *hdev, in read_local_oob_ext_data()
6311 static u32 get_supported_adv_flags(struct hci_dev *hdev) in get_supported_adv_flags()
6342 static int read_adv_features(struct sock *sk, struct hci_dev *hdev, in read_adv_features()
6391 static u8 calculate_name_len(struct hci_dev *hdev) in calculate_name_len()
6398 static u8 tlv_data_max_len(struct hci_dev *hdev, u32 adv_flags, in tlv_data_max_len()
6444 static bool tlv_data_is_valid(struct hci_dev *hdev, u32 adv_flags, u8 *data, in tlv_data_is_valid()
6486 static void add_advertising_complete(struct hci_dev *hdev, u8 status, in add_advertising_complete()
6538 static int add_advertising(struct sock *sk, struct hci_dev *hdev, in add_advertising()
6681 static void remove_advertising_complete(struct hci_dev *hdev, u8 status, in remove_advertising_complete()
6711 static int remove_advertising(struct sock *sk, struct hci_dev *hdev, in remove_advertising()
6784 static int get_adv_size_info(struct sock *sk, struct hci_dev *hdev, in get_adv_size_info()
6919 void mgmt_index_added(struct hci_dev *hdev) in mgmt_index_added()
6951 void mgmt_index_removed(struct hci_dev *hdev) in mgmt_index_removed()
6987 static void restart_le_actions(struct hci_dev *hdev) in restart_le_actions()
7011 void mgmt_power_on(struct hci_dev *hdev, int err) in mgmt_power_on()
7034 void __mgmt_power_off(struct hci_dev *hdev) in __mgmt_power_off()
7068 void mgmt_set_powered_failed(struct hci_dev *hdev, int err) in mgmt_set_powered_failed()
7087 void mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, in mgmt_new_link_key()
7123 void mgmt_new_ltk(struct hci_dev *hdev, struct smp_ltk *key, bool persistent) in mgmt_new_ltk()
7166 void mgmt_new_irk(struct hci_dev *hdev, struct smp_irk *irk, bool persistent) in mgmt_new_irk()
7182 void mgmt_new_csrk(struct hci_dev *hdev, struct smp_csrk *csrk, in mgmt_new_csrk()
7212 void mgmt_new_conn_param(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_new_conn_param()
7233 void mgmt_device_connected(struct hci_dev *hdev, struct hci_conn *conn, in mgmt_device_connected()
7284 struct hci_dev *hdev = data; in unpair_device_rsp() local
7293 bool mgmt_powering_down(struct hci_dev *hdev) in mgmt_powering_down()
7309 void mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_device_disconnected()
7345 void mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_disconnect_failed()
7371 void mgmt_connect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, in mgmt_connect_failed()
7391 void mgmt_pin_code_request(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 secure) in mgmt_pin_code_request()
7402 void mgmt_pin_code_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_pin_code_reply_complete()
7415 void mgmt_pin_code_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_pin_code_neg_reply_complete()
7428 int mgmt_user_confirm_request(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_user_confirm_request()
7445 int mgmt_user_passkey_request(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_user_passkey_request()
7459 static int user_pairing_resp_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, in user_pairing_resp_complete()
7475 int mgmt_user_confirm_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_user_confirm_reply_complete()
7482 int mgmt_user_confirm_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_user_confirm_neg_reply_complete()
7490 int mgmt_user_passkey_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_user_passkey_reply_complete()
7497 int mgmt_user_passkey_neg_reply_complete(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_user_passkey_neg_reply_complete()
7505 int mgmt_user_passkey_notify(struct hci_dev *hdev, bdaddr_t *bdaddr, in mgmt_user_passkey_notify()
7542 void mgmt_auth_enable_complete(struct hci_dev *hdev, u8 status) in mgmt_auth_enable_complete()
7571 struct hci_dev *hdev = req->hdev; in clear_eir() local
7584 void mgmt_ssp_enable_complete(struct hci_dev *hdev, u8 enable, u8 status) in mgmt_ssp_enable_complete()
7647 void mgmt_set_class_of_dev_complete(struct hci_dev *hdev, u8 *dev_class, in mgmt_set_class_of_dev_complete()
7666 void mgmt_set_local_name_complete(struct hci_dev *hdev, u8 *name, u8 status) in mgmt_set_local_name_complete()
7761 static void restart_le_scan(struct hci_dev *hdev) in restart_le_scan()
7776 static bool is_filter_match(struct hci_dev *hdev, s8 rssi, u8 *eir, in is_filter_match()
7821 void mgmt_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, in mgmt_device_found()
7903 void mgmt_remote_name(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, in mgmt_remote_name()
7926 void mgmt_discovering(struct hci_dev *hdev, u8 discovering) in mgmt_discovering()