| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| 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() 149 struct hci_conn *conn = container_of(work, struct hci_conn, in le_scan_cleanup() 152 struct hci_conn *c = NULL; in le_scan_cleanup() 176 static void hci_connect_le_scan_remove(struct hci_conn *conn) in hci_connect_le_scan_remove() 198 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 bool hci_setup_sync(struct hci_conn *conn, __u16 handle) in hci_setup_sync() 329 u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency, in hci_le_conn_update() [all …]
|
| 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 | 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 *hcon) 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() 64 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
|
| H A D | hci_event.c | 120 struct hci_conn *conn; in hci_cc_role_discovery() 139 struct hci_conn *conn; in hci_cc_read_link_policy() 158 struct hci_conn *conn; in hci_cc_write_link_policy() 602 struct hci_conn *conn; in hci_cc_read_auth_payload_timeout() 622 struct hci_conn *conn; in hci_cc_write_auth_payload_timeout() 871 struct hci_conn *conn; in hci_cc_read_clock() 972 struct hci_conn *conn; in hci_cc_pin_code_reply() 1224 struct hci_conn *conn; in hci_cc_le_set_adv_enable() 1258 struct hci_conn *conn; in hci_cc_le_set_ext_adv_enable() 1761 struct hci_conn *conn; 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() 977 struct hci_conn *hcon = conn->hcon; in smp_random() 1038 struct hci_conn *hcon = conn->hcon; in smp_notify_keys() 1127 struct hci_conn *hcon = smp->conn->hcon; in sc_add_ltk() 1199 struct hci_conn *hcon = smp->conn->hcon; in sc_generate_ltk() 1236 struct hci_conn *hcon = conn->hcon; in smp_distribute_keys() 1416 struct hci_conn *hcon = smp->conn->hcon; in sc_mackey_and_ltk() [all …]
|
| H A D | sco.c | 46 struct hci_conn *hcon; 124 static struct sco_conn *sco_conn_add(struct hci_conn *hcon) in sco_conn_add() 179 static void sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del() 240 struct hci_conn *hcon; in sco_connect() 753 static void sco_conn_defer_accept(struct hci_conn *conn, u16 setting) in sco_conn_defer_accept() 1184 static void sco_connect_cfm(struct hci_conn *hcon, __u8 status) in sco_connect_cfm() 1201 static void sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) in sco_disconn_cfm() 1211 void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) in sco_recv_scodata()
|
| 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 | 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()
|
| H A D | l2cap_core.c | 80 static inline u8 bdaddr_src_type(struct hci_conn *hcon) in bdaddr_src_type() 85 static inline u8 bdaddr_dst_type(struct hci_conn *hcon) in bdaddr_dst_type() 740 struct hci_conn *hcon = conn->hcon; in l2cap_conn_update_id_addr() 993 struct hci_conn *hcon = chan->conn->hcon; in l2cap_do_send() 1541 static bool l2cap_check_enc_key_size(struct hci_conn *hcon) in l2cap_check_enc_key_size() 1709 struct hci_conn *hcon = conn->hcon; in l2cap_le_conn_ready() 1743 struct hci_conn *hcon = conn->hcon; in l2cap_conn_ready() 1888 static void l2cap_conn_del(struct hci_conn *hcon, int err) in l2cap_conn_del() 3418 struct hci_conn *conn = chan->conn->hcon; in l2cap_mtu_auto() 4257 struct hci_conn *hcon = conn->hcon; in l2cap_connect_req() [all …]
|
| H A D | hci_core.c | 2426 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key() 2570 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key() 4170 struct hci_conn *conn = chan->conn; in hci_queue_acl() 4241 void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb) in hci_send_sco() 4264 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent() 4268 struct hci_conn *conn = NULL, *c; in hci_low_sent() 4327 struct hci_conn *c; in hci_link_tx_to() 4351 struct hci_conn *conn; in hci_chan_sent() 4430 struct hci_conn *conn; in hci_prio_recalculate() 4509 struct hci_conn *conn; in hci_sched_sco() [all …]
|
| H A D | mgmt.c | 1168 struct hci_conn *conn; in clean_up_hci_state() 2442 struct hci_conn *conn; in unpair_device() 2569 struct hci_conn *conn; in disconnect() 2652 struct hci_conn *c; in get_connections() 2726 struct hci_conn *conn; in pin_code_reply() 2808 static struct mgmt_pending_cmd *find_pairing(struct hci_conn *conn) in find_pairing() 2829 struct hci_conn *conn = cmd->user_data; in pairing_complete() 2855 void mgmt_smp_complete(struct hci_conn *conn, bool complete) in mgmt_smp_complete() 2867 static void pairing_complete_cb(struct hci_conn *conn, u8 status) in pairing_complete_cb() 2883 static void le_pairing_complete_cb(struct hci_conn *conn, u8 status) in le_pairing_complete_cb() [all …]
|
| H A D | hci_request.c | 972 struct hci_conn *c; in hci_is_le_conn_scanning() 1191 struct hci_conn *conn; in hci_req_prepare_suspend() 2452 struct hci_conn *conn; in disconnected_whitelist_entries() 2667 void __hci_abort_conn(struct hci_request *req, struct hci_conn *conn, in __hci_abort_conn() 2742 int hci_abort_conn(struct hci_conn *conn, u8 reason) in hci_abort_conn() 2772 struct hci_conn *conn; in bg_scan_update()
|
| H A D | 6lowpan.c | 634 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan() 993 struct hci_conn *hcon; in get_l2cap_conn()
|
| H A D | hci_debugfs.c | 1192 void hci_debugfs_create_conn(struct hci_conn *conn) in hci_debugfs_create_conn()
|
| /OK3568_Linux_fs/kernel/include/net/bluetooth/ |
| H A D | hci_core.h | 586 struct hci_conn { struct 667 struct hci_conn *link; argument 669 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); argument 670 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); argument 671 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); argument 682 struct hci_conn *conn; 712 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 *hcon, struct sk_buff *skb); [all …]
|
| H A D | l2cap.h | 541 struct hci_conn *hs_hcon; 680 struct hci_conn *hcon;
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_usb_driver/ |
| H A D | rtk_coex.c | 615 rtk_conn_prof *hci_conn = NULL; in rtk_notify_profileinfo_to_fw() local 623 hci_conn = list_entry(iter, rtk_conn_prof, list); in rtk_notify_profileinfo_to_fw() 624 if (hci_conn && hci_conn->profile_bitmap) in rtk_notify_profileinfo_to_fw() 643 hci_conn = list_entry(iter, rtk_conn_prof, list); in rtk_notify_profileinfo_to_fw() 644 if (hci_conn && hci_conn->profile_bitmap) { in rtk_notify_profileinfo_to_fw() 645 UINT16_TO_STREAM(p, hci_conn->handle); in rtk_notify_profileinfo_to_fw() 647 hci_conn->handle); in rtk_notify_profileinfo_to_fw() 648 *p++ = hci_conn->profile_bitmap; in rtk_notify_profileinfo_to_fw() 650 hci_conn->profile_bitmap); in rtk_notify_profileinfo_to_fw() 972 rtk_conn_prof *hci_conn = in packets_count() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/ |
| H A D | rtk_coex.c | 615 rtk_conn_prof *hci_conn = NULL; in rtk_notify_profileinfo_to_fw() local 623 hci_conn = list_entry(iter, rtk_conn_prof, list); in rtk_notify_profileinfo_to_fw() 624 if (hci_conn && hci_conn->profile_bitmap) in rtk_notify_profileinfo_to_fw() 643 hci_conn = list_entry(iter, rtk_conn_prof, list); in rtk_notify_profileinfo_to_fw() 644 if (hci_conn && hci_conn->profile_bitmap) { in rtk_notify_profileinfo_to_fw() 645 UINT16_TO_STREAM(p, hci_conn->handle); in rtk_notify_profileinfo_to_fw() 647 hci_conn->handle); in rtk_notify_profileinfo_to_fw() 648 *p++ = hci_conn->profile_bitmap; in rtk_notify_profileinfo_to_fw() 650 hci_conn->profile_bitmap); in rtk_notify_profileinfo_to_fw() 972 rtk_conn_prof *hci_conn = in packets_count() local [all …]
|
| H A D | hci_ldisc.c | 688 struct hci_conn *conn; in rtkbt_simulate_disconnect_event()
|
| /OK3568_Linux_fs/kernel/net/bluetooth/rfcomm/ |
| H A D | tty.c | 179 struct hci_conn *conn; in rfcomm_reparent_device()
|
| H A D | core.c | 2133 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt) in rfcomm_security_cfm()
|