/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | hci.h | 625 bdaddr_t bdaddr; member 647 bdaddr_t bdaddr; member 652 bdaddr_t bdaddr; member 658 bdaddr_t bdaddr; member 664 bdaddr_t bdaddr; member 670 bdaddr_t bdaddr; member 675 bdaddr_t bdaddr; member 681 bdaddr_t bdaddr; member 686 bdaddr_t bdaddr; member 690 bdaddr_t bdaddr; member [all …]
|
D | hci_core.h | 40 bdaddr_t bdaddr; member 128 bdaddr_t bdaddr; member 134 bdaddr_t bdaddr; member 142 bdaddr_t bdaddr; member 172 bdaddr_t bdaddr; member 181 bdaddr_t bdaddr; member 195 bdaddr_t bdaddr; member 203 bdaddr_t bdaddr; member 211 bdaddr_t bdaddr; member 292 bdaddr_t bdaddr; member [all …]
|
D | hci_sock.h | 112 bdaddr_t bdaddr; member 133 bdaddr_t bdaddr; member 157 bdaddr_t bdaddr; member 163 bdaddr_t bdaddr; member
|
D | hci_mon.h | 58 bdaddr_t bdaddr; member 64 bdaddr_t bdaddr; member
|
D | mgmt.h | 62 bdaddr_t bdaddr; member 116 bdaddr_t bdaddr; member 392 bdaddr_t bdaddr; member 504 bdaddr_t bdaddr; member 608 bdaddr_t bdaddr; member
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | hci_core.c | 597 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_init3_req() 824 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_init4_req() 1124 bdaddr_t *bdaddr) in hci_inquiry_cache_lookup() argument 1129 BT_DBG("cache %p, %pMR", cache, bdaddr); in hci_inquiry_cache_lookup() 1132 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup() 1140 bdaddr_t *bdaddr) in hci_inquiry_cache_lookup_unknown() argument 1145 BT_DBG("cache %p, %pMR", cache, bdaddr); in hci_inquiry_cache_lookup_unknown() 1148 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup_unknown() 1156 bdaddr_t *bdaddr, in hci_inquiry_cache_lookup_resolve() argument 1162 BT_DBG("cache %p bdaddr %pMR state %d", cache, bdaddr, state); in hci_inquiry_cache_lookup_resolve() [all …]
|
D | hci_event.c | 759 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr() 762 bacpy(&hdev->setup_addr, &rp->bdaddr); in hci_cc_read_bd_addr() 979 mgmt_pin_code_reply_complete(hdev, &rp->bdaddr, rp->status); in hci_cc_pin_code_reply() 988 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); in hci_cc_pin_code_reply() 1005 mgmt_pin_code_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_pin_code_neg_reply() 1064 mgmt_user_confirm_reply_complete(hdev, &rp->bdaddr, ACL_LINK, 0, in hci_cc_user_confirm_reply() 1080 mgmt_user_confirm_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_user_confirm_neg_reply() 1095 mgmt_user_passkey_reply_complete(hdev, &rp->bdaddr, ACL_LINK, in hci_cc_user_passkey_reply() 1111 mgmt_user_passkey_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_user_passkey_neg_reply() 1194 bacpy(&hdev->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr() [all …]
|
D | mgmt.c | 884 !bacmp(&hdev->bdaddr, BDADDR_ANY)) { in get_current_settings() 1021 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info() 1077 bacpy(&rp->bdaddr, &hdev->bdaddr); in read_ext_controller_info() 2402 &key->addr.bdaddr); in load_link_keys() 2412 hci_add_link_key(hdev, NULL, &key->addr.bdaddr, key->val, in load_link_keys() 2423 static int device_unpaired(struct hci_dev *hdev, bdaddr_t *bdaddr, in device_unpaired() argument 2428 bacpy(&ev.addr.bdaddr, bdaddr); in device_unpaired() 2447 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in unpair_device() 2479 &cp->addr.bdaddr); in unpair_device() 2483 err = hci_remove_link_key(hdev, &cp->addr.bdaddr); in unpair_device() [all …]
|
D | smp.h | 96 bdaddr_t bdaddr; member 184 int smp_cancel_and_remove_pairing(struct hci_dev *hdev, bdaddr_t *bdaddr, 192 const bdaddr_t *bdaddr);
|
D | hci_conn.c | 68 bdaddr_t *bdaddr; in hci_connect_le_scan_cleanup() local 71 bdaddr = &conn->dst; in hci_connect_le_scan_cleanup() 75 irk = hci_get_irk(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup() 77 bdaddr = &irk->bdaddr; in hci_connect_le_scan_cleanup() 81 params = hci_pend_le_action_lookup(&hdev->pend_le_conns, bdaddr, in hci_connect_le_scan_cleanup() 97 hci_conn_params_del(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup() 215 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_create_connection() 530 bacpy(&conn->src, &hdev->bdaddr); in hci_conn_add() 677 bacpy(&id_addr, &d->bdaddr); in hci_get_route() 697 if (bacmp(&d->bdaddr, dst)) { in hci_get_route() [all …]
|
D | hci_request.c | 693 static void del_from_white_list(struct hci_request *req, bdaddr_t *bdaddr, in del_from_white_list() argument 699 bacpy(&cp.bdaddr, bdaddr); in del_from_white_list() 701 bt_dev_dbg(req->hdev, "Remove %pMR (0x%x) from whitelist", &cp.bdaddr, in del_from_white_list() 709 irk = hci_find_irk_by_addr(req->hdev, bdaddr, bdaddr_type); in del_from_white_list() 714 bacpy(&cp.bdaddr, bdaddr); in del_from_white_list() 753 bacpy(&cp.bdaddr, ¶ms->addr); in add_to_white_list() 755 bt_dev_dbg(hdev, "Add %pMR (0x%x) to whitelist", &cp.bdaddr, in add_to_white_list() 769 bacpy(&cp.bdaddr, ¶ms->addr); in add_to_white_list() 807 &b->bdaddr, in update_white_list() 810 &b->bdaddr, in update_white_list() [all …]
|
D | hci_debugfs.c | 129 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show() 148 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show() 204 &data->bdaddr, data->bdaddr_type, data->present, in remote_oob_show() 366 &data->bdaddr, in inquiry_cache_show() 388 seq_printf(f, "%pMR %u %*phN %u\n", &key->bdaddr, key->type, in link_keys_show() 738 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show() 753 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show() 769 &irk->bdaddr, irk->addr_type, in identity_resolving_keys_show() 787 <k->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show() 1142 if (bacmp(&hdev->bdaddr, BDADDR_ANY)) in hci_debugfs_create_le()
|
D | hci_sock.c | 440 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event() 465 bacpy(&ii->bdaddr, &hdev->bdaddr); in create_monitor_event() 902 bdaddr_t bdaddr; in hci_sock_blacklist_add() local 905 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_sock_blacklist_add() 910 err = hci_bdaddr_list_add(&hdev->blacklist, &bdaddr, BDADDR_BREDR); in hci_sock_blacklist_add() 919 bdaddr_t bdaddr; in hci_sock_blacklist_del() local 922 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_sock_blacklist_del() 927 err = hci_bdaddr_list_del(&hdev->blacklist, &bdaddr, BDADDR_BREDR); in hci_sock_blacklist_del()
|
D | smp.c | 498 const bdaddr_t *bdaddr) in smp_irk_matches() argument 507 bt_dev_dbg(hdev, "RPA %pMR IRK %*phN", bdaddr, 16, irk); in smp_irk_matches() 509 err = smp_ah(irk, &bdaddr->b[3], hash); in smp_irk_matches() 513 return !crypto_memneq(bdaddr->b, hash, 3); in smp_irk_matches() 1067 bacpy(&hcon->dst, &smp->remote_irk->bdaddr); in smp_notify_keys() 1075 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys() 1081 bacpy(&smp->slave_csrk->bdaddr, &hcon->dst); in smp_notify_keys() 1087 bacpy(&smp->ltk->bdaddr, &hcon->dst); in smp_notify_keys() 1093 bacpy(&smp->slave_ltk->bdaddr, &hcon->dst); in smp_notify_keys() 1321 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys() [all …]
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | hci_ll.c | 70 bdaddr_t bdaddr; member 590 static int ll_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in ll_set_bdaddr() argument 599 baswap(&bdaddr_swapped, bdaddr); in ll_set_bdaddr() 647 if (!bacmp(&lldev->bdaddr, BDADDR_NONE)) { in ll_setup() 652 } else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) { in ll_setup() 653 err = ll_set_bdaddr(hu->hdev, &lldev->bdaddr); in ll_setup() 732 bacpy(&lldev->bdaddr, BDADDR_NONE); in hci_ti_probe() 735 bdaddr_t *bdaddr; in hci_ti_probe() local 738 bdaddr = nvmem_cell_read(bdaddr_cell, &len); in hci_ti_probe() 740 if (IS_ERR(bdaddr)) { in hci_ti_probe() [all …]
|
D | btbcm.c | 79 if (!bacmp(&bda->bdaddr, BDADDR_BCM20702A0) || in btbcm_check_bdaddr() 80 !bacmp(&bda->bdaddr, BDADDR_BCM20702A1) || in btbcm_check_bdaddr() 81 !bacmp(&bda->bdaddr, BDADDR_BCM2076B1) || in btbcm_check_bdaddr() 82 !bacmp(&bda->bdaddr, BDADDR_BCM4324B3) || in btbcm_check_bdaddr() 83 !bacmp(&bda->bdaddr, BDADDR_BCM4330B1) || in btbcm_check_bdaddr() 84 !bacmp(&bda->bdaddr, BDADDR_BCM4334B0) || in btbcm_check_bdaddr() 85 !bacmp(&bda->bdaddr, BDADDR_BCM4345C5) || in btbcm_check_bdaddr() 86 !bacmp(&bda->bdaddr, BDADDR_BCM43430A0) || in btbcm_check_bdaddr() 87 !bacmp(&bda->bdaddr, BDADDR_BCM43341B)) { in btbcm_check_bdaddr() 89 &bda->bdaddr); in btbcm_check_bdaddr() [all …]
|
D | btqca.h | 137 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr); 143 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 152 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() argument 170 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() argument
|
D | btbcm.h | 55 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 75 static inline int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btbcm_set_bdaddr() argument
|
D | hci_ath.c | 169 static int ath_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in ath_set_bdaddr() argument 171 return ath_vendor_cmd(hdev, OP_WRITE_TAG, INDEX_BDADDR, bdaddr, in ath_set_bdaddr() 172 sizeof(*bdaddr)); in ath_set_bdaddr()
|
D | btqca.c | 437 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() argument 446 memcpy(cmd + 3, bdaddr, sizeof(bdaddr_t)); in qca_set_bdaddr_rome() 542 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() argument 547 skb = __hci_cmd_sync_ev(hdev, EDL_WRITE_BD_ADDR_OPCODE, 6, bdaddr, in qca_set_bdaddr()
|
D | btintel.h | 140 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 188 static inline int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btintel_set_bdaddr() argument
|
/kernel/linux/linux-5.10/net/bluetooth/cmtp/ |
D | core.c | 53 static struct cmtp_session *__cmtp_get_session(bdaddr_t *bdaddr) in __cmtp_get_session() argument 60 if (!bacmp(bdaddr, &session->bdaddr)) in __cmtp_get_session() 80 bacpy(&ci->bdaddr, &session->bdaddr); in __cmtp_copy_session() 356 bacpy(&session->bdaddr, &l2cap_pi(sock->sk)->chan->dst); in cmtp_add_connection() 363 sprintf(session->name, "%pMR", &session->bdaddr); in cmtp_add_connection() 432 session = __cmtp_get_session(&req->bdaddr); in cmtp_del_connection() 489 session = __cmtp_get_session(&ci->bdaddr); in cmtp_get_conninfo()
|
D | cmtp.h | 45 bdaddr_t bdaddr; member 50 bdaddr_t bdaddr; member 75 bdaddr_t bdaddr; member
|
/kernel/linux/linux-5.10/net/bluetooth/hidp/ |
D | hidp.h | 106 bdaddr_t bdaddr; member 111 bdaddr_t bdaddr; member 149 bdaddr_t bdaddr; member
|
D | core.c | 76 bacpy(&ci->bdaddr, &session->bdaddr); in hidp_copy_session() 911 static int hidp_session_new(struct hidp_session **out, const bdaddr_t *bdaddr, in hidp_session_new() argument 935 bacpy(&session->bdaddr, bdaddr); in hidp_session_new() 1006 static struct hidp_session *__hidp_session_find(const bdaddr_t *bdaddr) in __hidp_session_find() argument 1011 if (!bacmp(bdaddr, &session->bdaddr)) in __hidp_session_find() 1023 static struct hidp_session *hidp_session_find(const bdaddr_t *bdaddr) in hidp_session_find() argument 1029 session = __hidp_session_find(bdaddr); in hidp_session_find() 1110 s = __hidp_session_find(&session->bdaddr); in hidp_session_probe() 1400 session = hidp_session_find(&req->bdaddr); in hidp_connection_del() 1451 session = hidp_session_find(&ci->bdaddr); in hidp_get_conninfo()
|