/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 | 43 bdaddr_t bdaddr; member 131 bdaddr_t bdaddr; member 137 bdaddr_t bdaddr; member 145 bdaddr_t bdaddr; member 175 bdaddr_t bdaddr; member 184 bdaddr_t bdaddr; member 198 bdaddr_t bdaddr; member 206 bdaddr_t bdaddr; member 214 bdaddr_t bdaddr; member 295 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() 532 bacpy(&conn->src, &hdev->bdaddr); in hci_conn_add() 679 bacpy(&id_addr, &d->bdaddr); in hci_get_route() 699 if (bacmp(&d->bdaddr, dst)) { in hci_get_route() [all …]
|
D | hci_request.c | 739 static void del_from_accept_list(struct hci_request *req, bdaddr_t *bdaddr, in del_from_accept_list() argument 745 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list() 747 bt_dev_dbg(req->hdev, "Remove %pMR (0x%x) from accept list", &cp.bdaddr, in del_from_accept_list() 755 irk = hci_find_irk_by_addr(req->hdev, bdaddr, bdaddr_type); in del_from_accept_list() 760 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list() 799 bacpy(&cp.bdaddr, ¶ms->addr); in add_to_accept_list() 801 bt_dev_dbg(hdev, "Add %pMR (0x%x) to accept list", &cp.bdaddr, in add_to_accept_list() 815 bacpy(&cp.bdaddr, ¶ms->addr); in add_to_accept_list() 857 &b->bdaddr, in update_accept_list() 860 &b->bdaddr, in update_accept_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() 898 bdaddr_t bdaddr; in hci_sock_reject_list_add() local 901 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_sock_reject_list_add() 906 err = hci_bdaddr_list_add(&hdev->reject_list, &bdaddr, BDADDR_BREDR); in hci_sock_reject_list_add() 915 bdaddr_t bdaddr; in hci_sock_reject_list_del() local 918 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_sock_reject_list_del() 923 err = hci_bdaddr_list_del(&hdev->reject_list, &bdaddr, BDADDR_BREDR); in hci_sock_reject_list_del()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | btbcm.c | 41 bdaddr_t efi_bdaddr, bdaddr; in btbcm_set_bdaddr_from_efi() local 57 baswap(&bdaddr, &efi_bdaddr); in btbcm_set_bdaddr_from_efi() 59 ret = btbcm_set_bdaddr(hdev, &bdaddr); in btbcm_set_bdaddr_from_efi() 63 bt_dev_info(hdev, "BCM: Using EFI device address (%pMR)", &bdaddr); in btbcm_set_bdaddr_from_efi() 117 if (!bacmp(&bda->bdaddr, BDADDR_BCM20702A0) || in btbcm_check_bdaddr() 118 !bacmp(&bda->bdaddr, BDADDR_BCM20702A1) || in btbcm_check_bdaddr() 119 !bacmp(&bda->bdaddr, BDADDR_BCM2076B1) || in btbcm_check_bdaddr() 120 !bacmp(&bda->bdaddr, BDADDR_BCM4324B3) || in btbcm_check_bdaddr() 121 !bacmp(&bda->bdaddr, BDADDR_BCM4330B1) || in btbcm_check_bdaddr() 122 !bacmp(&bda->bdaddr, BDADDR_BCM4334B0) || in btbcm_check_bdaddr() [all …]
|
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 | 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 | btqcomsmd.c | 125 static int btqcomsmd_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btqcomsmd_set_bdaddr() argument 129 ret = qca_set_bdaddr_rome(hdev, bdaddr); in btqcomsmd_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()
|