/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci_core.h | 693 struct hci_conn { struct 781 struct hci_conn *parent; 786 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); 787 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); 788 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); 790 void (*cleanup)(struct hci_conn *conn); 795 struct hci_conn *conn; 801 struct hci_conn *conn; 829 struct hci_conn *conn; 866 int l2cap_disconn_ind(struct hci_conn *hco [all...] |
H A D | hci_sync.h | 124 struct hci_conn; 126 int hci_abort_conn_sync(struct hci_dev *hdev, struct hci_conn *conn, u8 reason); 128 int hci_le_create_conn_sync(struct hci_dev *hdev, struct hci_conn *conn);
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | hci_conn.c | 48 struct hci_conn *conn; 71 static void hci_connect_le_scan_cleanup(struct hci_conn *conn, u8 status) in hci_connect_le_scan_cleanup() 141 static void hci_conn_cleanup(struct hci_conn *conn) in hci_conn_cleanup() 181 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection() 239 int hci_disconnect(struct hci_conn *conn, __u8 reason) in hci_disconnect() 261 static void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco() 279 static bool find_next_esco_param(struct hci_conn *conn, in find_next_esco_param() 338 struct hci_conn *conn = conn_handle->conn; in hci_enhanced_setup_sync() 459 static bool hci_setup_sync_conn(struct hci_conn *conn, __u16 handle) in hci_setup_sync_conn() 511 bool hci_setup_sync(struct hci_conn *con [all...] |
H A D | hci_sysfs.c | 15 struct hci_conn *conn = to_hci_conn(dev); in bt_link_release() 34 void hci_conn_init_sysfs(struct hci_conn *conn) in hci_conn_init_sysfs() 47 void hci_conn_add_sysfs(struct hci_conn *conn) in hci_conn_add_sysfs() 62 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
|
H A D | hci_debugfs.h | 28 void hci_debugfs_create_conn(struct hci_conn *conn); 45 static inline void hci_debugfs_create_conn(struct hci_conn *conn) in hci_debugfs_create_conn()
|
H A D | smp.h | 186 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level, 188 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level); 189 int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey);
|
H A D | hci_event.c | 172 struct hci_conn *conn; in hci_cc_role_discovery() 194 struct hci_conn *conn; in hci_cc_read_link_policy() 216 struct hci_conn *conn; in hci_cc_write_link_policy() 724 struct hci_conn *conn; in hci_cc_read_enc_key_size() 796 struct hci_conn *conn; in hci_cc_read_auth_payload_timeout() 818 struct hci_conn *conn; in hci_cc_write_auth_payload_timeout() 1102 struct hci_conn *conn; in hci_cc_read_clock() 1210 struct hci_conn *conn; in hci_cc_pin_code_reply() 1611 struct hci_conn *conn; in hci_cc_le_set_adv_enable() 1654 struct hci_conn *con in hci_cc_le_set_ext_adv_enable() [all...] |
H A D | smp.c | 654 struct hci_conn *hcon = conn->hcon; in build_pairing_cmd() 747 struct hci_conn *hcon = conn->hcon; in smp_chan_destroy() 799 struct hci_conn *hcon = conn->hcon; in smp_failure() 854 struct hci_conn *hcon = conn->hcon; in tk_request() 979 struct hci_conn *hcon = conn->hcon; in smp_random() 1041 struct hci_conn *hcon = conn->hcon; in smp_notify_keys() 1142 struct hci_conn *hcon = smp->conn->hcon; in sc_add_ltk() 1214 struct hci_conn *hcon = smp->conn->hcon; in sc_generate_ltk() 1251 struct hci_conn *hcon = conn->hcon; in smp_distribute_keys() 1331 /* The hci_conn contain in smp_distribute_keys() [all...] |
H A D | sco.c | 46 struct hci_conn *hcon; 123 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add() 181 static void sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del() 243 struct hci_conn *hcon; in sco_connect() 751 static void sco_conn_defer_accept(struct hci_conn *conn, u16 setting) in sco_conn_defer_accept() 1347 static void sco_connect_cfm(struct hci_conn *hcon, __u8 status) in sco_connect_cfm() 1364 static void sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) in sco_disconn_cfm() 1374 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) in sco_recv_scodata()
|
H A D | iso.c | 26 struct hci_conn *hcon; 137 static struct iso_conn *iso_conn_add(struct hci_conn *hcon) in iso_conn_add() 199 struct hci_conn *hcon = data; in iso_match_conn_sync_handle() 207 static void iso_conn_del(struct hci_conn *hcon, int err) in iso_conn_del() 304 struct hci_conn *hcon; in iso_connect_bis() 395 struct hci_conn *hcon; in iso_connect_cis() 1187 static void iso_conn_defer_accept(struct hci_conn *conn) in iso_conn_defer_accept() 1594 struct hci_conn *hcon; 1617 struct hci_conn *hcon; in iso_conn_ready() 1854 static void iso_connect_cfm(struct hci_conn *hco [all...] |
H A D | Makefile | 15 bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
|
H A D | hci_core.c | 1159 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key() 1303 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key() 3205 struct hci_conn *conn = chan->conn; in hci_queue_acl() 3276 void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb) in hci_send_sco() 3309 static void hci_queue_iso(struct hci_conn *conn, struct sk_buff_head *queue, in hci_queue_iso() 3354 void hci_send_iso(struct hci_conn *conn, struct sk_buff *skb) in hci_send_iso() 3368 static inline void hci_quote_sent(struct hci_conn *conn, int num, int *quote) in hci_quote_sent() 3407 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent() 3411 struct hci_conn *conn = NULL, *c; in hci_low_sent() 3448 struct hci_conn * in hci_link_tx_to() [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | amp.h | 26 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, 29 int phylink_gen_key(struct hci_conn *hcon, u8 *data, u8 *len, u8 *type); 35 struct hci_conn *hcon); 37 struct hci_conn *hcon); 39 struct hci_conn *hcon); 56 void amp_physical_cfm(struct hci_conn *bredr_hcon, struct hci_conn *hs_hcon);
|
H A D | hci_conn.c | 63 static void hci_connect_le_scan_cleanup(struct hci_conn *conn) in hci_connect_le_scan_cleanup() 114 static void hci_conn_cleanup(struct hci_conn *conn) in hci_conn_cleanup() 147 struct hci_conn *conn = container_of(work, struct hci_conn, in le_scan_cleanup() 150 struct hci_conn *c = NULL; in le_scan_cleanup() 156 /* Check that the hci_conn is still around */ in le_scan_cleanup() 174 static void hci_connect_le_scan_remove(struct hci_conn *conn) in hci_connect_le_scan_remove() 182 * hci_conn and perform the necessary cleanup in a separate work in hci_connect_le_scan_remove() 196 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection() 237 int hci_disconnect(struct hci_conn *con [all...] |
H A D | amp.c | 105 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, in phylink_add() 109 struct hci_conn *hcon; in phylink_add() 167 int phylink_gen_key(struct hci_conn *conn, u8 *data, u8 *len, u8 *type) in phylink_gen_key() 293 struct hci_conn *hcon) in amp_read_loc_assoc_final_data() 333 struct hci_conn *hcon) in amp_write_rem_assoc_frag() 387 struct hci_conn *hcon; in amp_write_rem_assoc_continue() 402 struct hci_conn *hcon; in amp_write_remote_assoc() 429 struct hci_conn *hcon; in create_phylink_complete() 442 struct hci_conn *hcon) in amp_create_phylink() 481 struct hci_conn *hco in amp_accept_phylink() [all...] |
H A D | hci_sysfs.c | 13 struct hci_conn *conn = to_hci_conn(dev); in bt_link_release() 32 void hci_conn_init_sysfs(struct hci_conn *conn) in hci_conn_init_sysfs() 45 void hci_conn_add_sysfs(struct hci_conn *conn) in hci_conn_add_sysfs() 60 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
|
H A D | hci_event.c | 122 struct hci_conn *conn; in hci_cc_role_discovery() 141 struct hci_conn *conn; in hci_cc_read_link_policy() 160 struct hci_conn *conn; in hci_cc_write_link_policy() 604 struct hci_conn *conn; in hci_cc_read_auth_payload_timeout() 624 struct hci_conn *conn; in hci_cc_write_auth_payload_timeout() 873 struct hci_conn *conn; in hci_cc_read_clock() 974 struct hci_conn *conn; in hci_cc_pin_code_reply() 1226 struct hci_conn *conn; in hci_cc_le_set_adv_enable() 1260 struct hci_conn *conn; in hci_cc_le_set_ext_adv_enable() 1763 struct hci_conn *con in hci_cc_read_rssi() [all...] |
H A D | hci_debugfs.h | 28 void hci_debugfs_create_conn(struct hci_conn *conn); 44 static inline void hci_debugfs_create_conn(struct hci_conn *conn) in hci_debugfs_create_conn()
|
H A D | smp.h | 186 bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level, 188 int smp_conn_security(struct hci_conn *hcon, __u8 sec_level); 189 int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey);
|
H A D | smp.c | 653 struct hci_conn *hcon = conn->hcon; in build_pairing_cmd() 746 struct hci_conn *hcon = conn->hcon; in smp_chan_destroy() 798 struct hci_conn *hcon = conn->hcon; in smp_failure() 853 struct hci_conn *hcon = conn->hcon; in tk_request() 978 struct hci_conn *hcon = conn->hcon; in smp_random() 1040 struct hci_conn *hcon = conn->hcon; in smp_notify_keys() 1136 struct hci_conn *hcon = smp->conn->hcon; in sc_add_ltk() 1208 struct hci_conn *hcon = smp->conn->hcon; in sc_generate_ltk() 1245 struct hci_conn *hcon = conn->hcon; in smp_distribute_keys() 1325 /* The hci_conn contain in smp_distribute_keys() [all...] |
H A D | hci_request.h | 112 int hci_abort_conn(struct hci_conn *conn, u8 reason); 113 void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn,
|
H A D | Makefile | 15 bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
|
H A D | sco.c | 46 struct hci_conn *hcon; 128 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add() 183 static void sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del() 244 struct hci_conn *hcon; in sco_connect() 757 static void sco_conn_defer_accept(struct hci_conn *conn, u16 setting) in sco_conn_defer_accept() 1185 static void sco_connect_cfm(struct hci_conn *hcon, __u8 status) in sco_connect_cfm() 1202 static void sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) in sco_disconn_cfm() 1212 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) in sco_recv_scodata()
|
H A D | a2mp.c | 418 struct hci_conn *hcon; in a2mp_getampassoc_rsp() 478 struct hci_conn *hcon; in a2mp_createphyslink_req() 560 struct hci_conn *hcon; in a2mp_discphyslink_req() 1009 struct hci_conn *hs_hcon; in a2mp_send_create_phy_link_rsp()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | hci_core.h | 595 struct hci_conn { 676 struct hci_conn *link; 678 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); 679 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); 680 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); 686 struct hci_conn *conn; 714 struct hci_conn *conn; 742 int l2cap_disconn_ind(struct hci_conn *hcon); 743 void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags); 747 void sco_recv_scodata(struct hci_conn *hco [all...] |