Lines Matching defs:conn

63 static void conn_tx_destroy(struct bt_conn *conn, struct bt_conn_tx *tx)  in conn_tx_destroy()
198 struct k_sem *bt_conn_get_pkts(struct bt_conn *conn) in bt_conn_get_pkts()
272 static void tx_notify_process(struct bt_conn *conn) in tx_notify_process()
320 void bt_conn_tx_notify(struct bt_conn *conn, bool wait_for_completion) in bt_conn_tx_notify()
345 struct bt_conn *conn = NULL; in bt_conn_new() local
371 void bt_conn_reset_rx_state(struct bt_conn *conn) in bt_conn_reset_rx_state()
381 static void bt_acl_recv(struct bt_conn *conn, struct net_buf *buf, uint8_t flags) in bt_acl_recv()
480 void bt_conn_recv(struct bt_conn *conn, struct net_buf *buf, uint8_t flags) in bt_conn_recv()
502 static bool dont_have_tx_context(struct bt_conn *conn) in dont_have_tx_context()
523 static int send_acl(struct bt_conn *conn, struct net_buf *buf, uint8_t flags) in send_acl()
563 static int send_iso(struct bt_conn *conn, struct net_buf *buf, uint8_t flags) in send_iso()
607 static inline uint16_t conn_mtu(struct bt_conn *conn) in conn_mtu()
627 static bool is_classic_conn(struct bt_conn *conn) in is_classic_conn()
633 static bool is_iso_tx_conn(struct bt_conn *conn) in is_iso_tx_conn()
639 static bool is_le_conn(struct bt_conn *conn) in is_le_conn()
644 static bool is_acl_conn(struct bt_conn *conn) in is_acl_conn()
649 static int send_buf(struct bt_conn *conn, struct net_buf *buf, in send_buf()
781 static void conn_destroy(struct bt_conn *conn, void *data) in conn_destroy()
800 static bool acl_has_data(struct bt_conn *conn) in acl_has_data()
815 static bool should_stop_tx(struct bt_conn *conn) in should_stop_tx()
848 void bt_conn_data_ready(struct bt_conn *conn) in bt_conn_data_ready()
879 static bool cannot_send_to_controller(struct bt_conn *conn) in cannot_send_to_controller()
903 __maybe_unused static bool dont_have_methods(struct bt_conn *conn) in dont_have_methods()
912 struct bt_conn *conn, *tmp; in get_conn_ready() local
975 static void acl_get_and_clear_cb(struct bt_conn *conn, struct net_buf *buf, in acl_get_and_clear_cb()
989 static void destroy_and_callback(struct bt_conn *conn, in destroy_and_callback()
1026 struct bt_conn *conn; in bt_conn_tx_processor() local
1125 static void process_unack_tx(struct bt_conn *conn) in process_unack_tx()
1154 struct bt_conn *conn = bt_conn_ref(&conns[i]); in conn_lookup_handle() local
1177 void bt_conn_set_state(struct bt_conn *conn, bt_conn_state_t state) in bt_conn_set_state()
1387 struct bt_conn *conn; in bt_conn_lookup_handle() local
1427 void (*func)(struct bt_conn *conn, void *data), in bt_conn_foreach()
1434 struct bt_conn *conn = bt_conn_ref(&acl_conns[i]); in bt_conn_foreach() local
1451 struct bt_conn *conn = bt_conn_ref(&sco_conns[i]); in bt_conn_foreach() local
1467 struct bt_conn *conn = bt_conn_ref(&iso_conns[i]); in bt_conn_foreach() local
1480 struct bt_conn *bt_conn_ref(struct bt_conn *conn) in bt_conn_ref()
1516 void bt_conn_unref(struct bt_conn *conn) in bt_conn_unref()
1556 uint8_t bt_conn_index(const struct bt_conn *conn) in bt_conn_index()
1660 struct bt_conn *conn = CONTAINER_OF(work, struct bt_conn, tx_complete_work); in tx_complete_work() local
1686 int bt_conn_disconnect(struct bt_conn *conn, uint8_t reason) in bt_conn_disconnect()
1706 static bool uses_symmetric_2mbit_phy(struct bt_conn *conn) in uses_symmetric_2mbit_phy()
1722 static bool can_initiate_feature_exchange(struct bt_conn *conn) in can_initiate_feature_exchange()
1743 static void perform_auto_initiated_procedures(struct bt_conn *conn, void *unused) in perform_auto_initiated_procedures()
1832 static void schedule_auto_initiated_procedures(struct bt_conn *conn) in schedule_auto_initiated_procedures()
1838 void bt_conn_connected(struct bt_conn *conn) in bt_conn_connected()
1845 static int conn_disconnect(struct bt_conn *conn, uint8_t reason) in conn_disconnect()
1861 int bt_conn_disconnect(struct bt_conn *conn, uint8_t reason) in bt_conn_disconnect()
1903 static void notify_connected(struct bt_conn *conn) in notify_connected()
1921 static void notify_disconnected(struct bt_conn *conn) in notify_disconnected()
1939 void notify_remote_info(struct bt_conn *conn) in notify_remote_info()
1966 void notify_le_param_updated(struct bt_conn *conn) in notify_le_param_updated()
1999 void notify_le_data_len_updated(struct bt_conn *conn) in notify_le_data_len_updated()
2018 void notify_le_phy_updated(struct bt_conn *conn) in notify_le_phy_updated()
2036 bool le_param_req(struct bt_conn *conn, struct bt_le_conn_param *param) in le_param_req()
2082 static int send_conn_le_param_update(struct bt_conn *conn, in send_conn_le_param_update()
2122 static struct bt_conn *conn_lookup_iso(struct bt_conn *conn) in conn_lookup_iso()
2145 static struct bt_conn *conn_lookup_sco(struct bt_conn *conn) in conn_lookup_sco()
2170 struct bt_conn *conn = CONTAINER_OF(dwork, struct bt_conn, deferred_work); in deferred_work() local
2315 struct bt_conn *conn; in bt_conn_create_br() local
2367 struct bt_conn *conn = bt_conn_ref(&sco_conns[i]); in bt_conn_lookup_addr_sco() local
2394 struct bt_conn *conn = bt_conn_ref(&acl_conns[i]); in bt_conn_lookup_addr_br() local
2450 struct bt_conn *conn = acl_conn_new(); in bt_conn_add_br() local
2465 static int bt_hci_connect_br_cancel(struct bt_conn *conn) in bt_hci_connect_br_cancel()
2497 bool bt_conn_ltk_present(const struct bt_conn *conn) in bt_conn_ltk_present()
2516 void bt_conn_identity_resolved(struct bt_conn *conn) in bt_conn_identity_resolved()
2542 int bt_conn_le_start_encryption(struct bt_conn *conn, uint8_t rand[8], in bt_conn_le_start_encryption()
2572 uint8_t bt_conn_enc_key_size(const struct bt_conn *conn) in bt_conn_enc_key_size()
2621 static void reset_pairing(struct bt_conn *conn) in reset_pairing()
2637 void bt_conn_security_changed(struct bt_conn *conn, uint8_t hci_err, in bt_conn_security_changed()
2676 static int start_security(struct bt_conn *conn) in start_security()
2689 int bt_conn_set_security(struct bt_conn *conn, bt_security_t sec) in bt_conn_set_security()
2732 bt_security_t bt_conn_get_security(const struct bt_conn *conn) in bt_conn_get_security()
2742 bt_security_t bt_conn_get_security(const struct bt_conn *conn) in bt_conn_get_security()
2774 struct bt_conn *conn = bt_conn_lookup_addr_le(id, peer); in bt_conn_exists_le() local
2795 struct bt_conn *conn = acl_conn_new(); in bt_conn_add_le() local
2817 bool bt_conn_is_peer_addr_le(const struct bt_conn *conn, uint8_t id, in bt_conn_is_peer_addr_le()
2842 struct bt_conn *conn = bt_conn_ref(&acl_conns[i]); in bt_conn_lookup_addr_le() local
2870 struct bt_conn *conn = bt_conn_ref(&acl_conns[i]); in bt_conn_lookup_state_le() local
2897 const bt_addr_le_t *bt_conn_get_dst(const struct bt_conn *conn) in bt_conn_get_dst()
2929 int bt_conn_get_info(const struct bt_conn *conn, struct bt_conn_info *info) in bt_conn_get_info()
2997 bool bt_conn_is_type(const struct bt_conn *conn, enum bt_conn_type type) in bt_conn_is_type()
3006 int bt_conn_get_remote_info(const struct bt_conn *conn, struct bt_conn_remote_info *remote_info) in bt_conn_get_remote_info()
3047 static int bt_conn_get_tx_power_level(struct bt_conn *conn, uint8_t type, in bt_conn_get_tx_power_level()
3078 void notify_tx_power_report(struct bt_conn *conn, in notify_tx_power_report()
3097 int bt_conn_le_enhanced_get_tx_power_level(struct bt_conn *conn, in bt_conn_le_enhanced_get_tx_power_level()
3138 int bt_conn_le_get_remote_tx_power_level(struct bt_conn *conn, in bt_conn_le_get_remote_tx_power_level()
3165 int bt_conn_le_set_tx_power_report_enable(struct bt_conn *conn, in bt_conn_le_set_tx_power_report_enable()
3193 int bt_conn_le_get_tx_power_level(struct bt_conn *conn, in bt_conn_le_get_tx_power_level()
3223 void notify_path_loss_threshold_report(struct bt_conn *conn, in notify_path_loss_threshold_report()
3242 int bt_conn_le_set_path_loss_mon_param(struct bt_conn *conn, in bt_conn_le_set_path_loss_mon_param()
3269 int bt_conn_le_set_path_loss_mon_enable(struct bt_conn *conn, bool reporting_enable) in bt_conn_le_set_path_loss_mon_enable()
3294 void notify_subrate_change(struct bt_conn *conn, in notify_subrate_change()
3369 int bt_conn_le_subrate_request(struct bt_conn *conn, in bt_conn_le_subrate_request()
3402 void notify_remote_cs_capabilities(struct bt_conn *conn, struct bt_conn_le_cs_capabilities params) in notify_remote_cs_capabilities()
3419 void notify_remote_cs_fae_table(struct bt_conn *conn, struct bt_conn_le_cs_fae_table params) in notify_remote_cs_fae_table()
3436 void notify_cs_config_created(struct bt_conn *conn, struct bt_conn_le_cs_config *params) in notify_cs_config_created()
3453 void notify_cs_config_removed(struct bt_conn *conn, uint8_t config_id) in notify_cs_config_removed()
3470 void notify_cs_security_enable_available(struct bt_conn *conn) in notify_cs_security_enable_available()
3487 void notify_cs_procedure_enable_available(struct bt_conn *conn, in notify_cs_procedure_enable_available()
3505 void notify_cs_subevent_result(struct bt_conn *conn, struct bt_conn_le_cs_subevent_result *result) in notify_cs_subevent_result()
3523 int bt_conn_le_param_update(struct bt_conn *conn, in bt_conn_le_param_update()
3557 int bt_conn_le_data_len_update(struct bt_conn *conn, in bt_conn_le_data_len_update()
3575 int bt_conn_le_phy_update(struct bt_conn *conn, in bt_conn_le_phy_update()
3611 static void bt_conn_set_param_le(struct bt_conn *conn, in bt_conn_set_param_le()
3644 struct bt_conn *conn; in bt_conn_le_create_auto() local
3707 struct bt_conn *conn; in bt_conn_create_auto_stop() local
3778 struct bt_conn *conn; in conn_le_create_helper() local
3800 struct bt_conn *conn; in bt_conn_le_create() local
3882 struct bt_conn *conn; in bt_conn_le_create_synced() local
3949 struct bt_conn *conn; in bt_le_set_auto_conn() local
4005 int bt_conn_le_conn_update(struct bt_conn *conn, in bt_conn_le_conn_update()
4057 int bt_conn_auth_cb_overlay(struct bt_conn *conn, const struct bt_conn_auth_cb *cb) in bt_conn_auth_cb_overlay()
4109 int bt_conn_auth_passkey_entry(struct bt_conn *conn, unsigned int passkey) in bt_conn_auth_passkey_entry()
4132 int bt_conn_auth_keypress_notify(struct bt_conn *conn, in bt_conn_auth_keypress_notify()
4149 int bt_conn_auth_passkey_confirm(struct bt_conn *conn) in bt_conn_auth_passkey_confirm()
4171 int bt_conn_auth_cancel(struct bt_conn *conn) in bt_conn_auth_cancel()
4193 int bt_conn_auth_pairing_confirm(struct bt_conn *conn) in bt_conn_auth_pairing_confirm()
4246 struct bt_conn *conn = bt_conn_ref(&acl_conns[i]); in bt_conn_init() local
4273 struct bt_conn *conn; in bt_hci_le_df_connection_iq_report_common() local
4329 struct bt_conn *conn; in bt_hci_le_df_cte_req_failed() local