Home
last modified time | relevance | path

Searched refs:bdaddr (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.1.9/include/net/bluetooth/ !
Dhci.h691 bdaddr_t bdaddr; member
713 bdaddr_t bdaddr; member
718 bdaddr_t bdaddr; member
724 bdaddr_t bdaddr; member
730 bdaddr_t bdaddr; member
736 bdaddr_t bdaddr; member
741 bdaddr_t bdaddr; member
747 bdaddr_t bdaddr; member
752 bdaddr_t bdaddr; member
756 bdaddr_t bdaddr; member
[all …]
Dhci_core.h44 bdaddr_t bdaddr; member
136 bdaddr_t bdaddr; member
153 bdaddr_t bdaddr; member
168 bdaddr_t bdaddr; member
188 bdaddr_t bdaddr; member
197 bdaddr_t bdaddr; member
211 bdaddr_t bdaddr; member
219 bdaddr_t bdaddr; member
227 bdaddr_t bdaddr; member
280 bdaddr_t bdaddr; member
[all …]
Dhci_sock.h112 bdaddr_t bdaddr; member
133 bdaddr_t bdaddr; member
157 bdaddr_t bdaddr; member
163 bdaddr_t bdaddr; member
Dhci_mon.h58 bdaddr_t bdaddr; member
64 bdaddr_t bdaddr; member
/linux-6.1.9/net/bluetooth/ !
Dhci_core.c193 bdaddr_t *bdaddr) in hci_inquiry_cache_lookup() argument
198 BT_DBG("cache %p, %pMR", cache, bdaddr); in hci_inquiry_cache_lookup()
201 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup()
209 bdaddr_t *bdaddr) in hci_inquiry_cache_lookup_unknown() argument
214 BT_DBG("cache %p, %pMR", cache, bdaddr); in hci_inquiry_cache_lookup_unknown()
217 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup_unknown()
225 bdaddr_t *bdaddr, in hci_inquiry_cache_lookup_resolve() argument
231 BT_DBG("cache %p bdaddr %pMR state %d", cache, bdaddr, state); in hci_inquiry_cache_lookup_resolve()
234 if (!bacmp(bdaddr, BDADDR_ANY) && e->name_state == state) in hci_inquiry_cache_lookup_resolve()
236 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup_resolve()
[all …]
Dmsft.c86 bdaddr_t bdaddr; member
185 bdaddr_t *bdaddr, __u8 addr_type, in msft_monitor_device_del() argument
197 (!bdaddr || (!bacmp(bdaddr, &dev->bdaddr) && in msft_monitor_device_del()
201 &dev->bdaddr, in msft_monitor_device_del()
603 static void msft_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, in msft_device_found() argument
615 bacpy(&dev->bdaddr, bdaddr); in msft_device_found()
626 static void msft_device_lost(struct hci_dev *hdev, bdaddr_t *bdaddr, in msft_device_lost() argument
629 if (!msft_monitor_device_del(hdev, mgmt_handle, bdaddr, addr_type, in msft_device_lost()
632 MSFT_EV_LE_MONITOR_DEVICE, bdaddr); in msft_device_lost()
662 ev->monitor_state, &ev->bdaddr); in msft_monitor_device_evt()
[all …]
Dhci_event.c948 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr()
951 bacpy(&hdev->setup_addr, &rp->bdaddr); in hci_cc_read_bd_addr()
1190 mgmt_pin_code_reply_complete(hdev, &rp->bdaddr, rp->status); in hci_cc_pin_code_reply()
1199 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); in hci_cc_pin_code_reply()
1218 mgmt_pin_code_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_pin_code_neg_reply()
1286 mgmt_user_confirm_reply_complete(hdev, &rp->bdaddr, ACL_LINK, 0, in hci_cc_user_confirm_reply()
1304 mgmt_user_confirm_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_user_confirm_neg_reply()
1322 mgmt_user_passkey_reply_complete(hdev, &rp->bdaddr, ACL_LINK, in hci_cc_user_passkey_reply()
1340 mgmt_user_passkey_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_user_passkey_neg_reply()
1447 bacpy(&adv->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr()
[all …]
Dmgmt.c927 !bacmp(&hdev->bdaddr, BDADDR_ANY)) { in get_current_settings()
1145 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info()
1201 bacpy(&rp->bdaddr, &hdev->bdaddr); in read_ext_controller_info()
2900 &key->addr.bdaddr); in load_link_keys()
2910 hci_add_link_key(hdev, NULL, &key->addr.bdaddr, key->val, in load_link_keys()
2921 static int device_unpaired(struct hci_dev *hdev, bdaddr_t *bdaddr, in device_unpaired() argument
2926 bacpy(&ev.addr.bdaddr, bdaddr); in device_unpaired()
2939 device_unpaired(hdev, &cp->addr.bdaddr, cp->addr.type, cmd->sk); in unpair_device_complete()
2953 &cp->addr.bdaddr); in unpair_device_sync()
2955 conn = hci_conn_hash_lookup_le(hdev, &cp->addr.bdaddr, in unpair_device_sync()
[all …]
Dhci_request.c360 static void del_from_accept_list(struct hci_request *req, bdaddr_t *bdaddr, in del_from_accept_list() argument
366 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
368 bt_dev_dbg(req->hdev, "Remove %pMR (0x%x) from accept list", &cp.bdaddr, in del_from_accept_list()
375 irk = hci_find_irk_by_addr(req->hdev, bdaddr, bdaddr_type); in del_from_accept_list()
380 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
419 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
421 bt_dev_dbg(hdev, "Add %pMR (0x%x) to accept list", &cp.bdaddr, in add_to_accept_list()
434 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
475 &b->bdaddr, in update_accept_list()
478 &b->bdaddr, in update_accept_list()
[all …]
Dsmp.h96 bdaddr_t bdaddr; member
184 int smp_cancel_and_remove_pairing(struct hci_dev *hdev, bdaddr_t *bdaddr,
192 const bdaddr_t *bdaddr);
Dhci_sync.c919 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_update_random_address_sync()
938 !bacmp(&hdev->bdaddr, BDADDR_ANY) || in hci_update_random_address_sync()
1013 bacpy(&cp.bdaddr, random_addr); in hci_set_adv_set_random_addr_sync()
2079 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_resolve_list_sync() argument
2088 entry = hci_bdaddr_list_lookup_with_irk(&hdev->le_resolv_list, bdaddr, in hci_le_del_resolve_list_sync()
2094 bacpy(&cp.bdaddr, bdaddr); in hci_le_del_resolve_list_sync()
2101 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_accept_list_sync() argument
2107 if (!hci_bdaddr_list_lookup(&hdev->le_accept_list, bdaddr, bdaddr_type)) in hci_le_del_accept_list_sync()
2111 bacpy(&cp.bdaddr, bdaddr); in hci_le_del_accept_list_sync()
2116 hci_le_del_resolve_list_sync(hdev, &cp.bdaddr, cp.bdaddr_type); in hci_le_del_accept_list_sync()
[all …]
Dhci_debugfs.c130 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show()
149 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show()
205 &data->bdaddr, data->bdaddr_type, data->present, in remote_oob_show()
367 &data->bdaddr, in inquiry_cache_show()
389 seq_printf(f, "%pMR %u %*phN %u\n", &key->bdaddr, key->type, in link_keys_show()
789 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show()
804 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show()
820 &irk->bdaddr, irk->addr_type, in identity_resolving_keys_show()
838 &ltk->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show()
1193 if (bacmp(&hdev->bdaddr, BDADDR_ANY)) in hci_debugfs_create_le()
Dhci_conn.c76 bdaddr_t *bdaddr; in hci_connect_le_scan_cleanup() local
79 bdaddr = &conn->dst; in hci_connect_le_scan_cleanup()
83 irk = hci_get_irk(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup()
85 bdaddr = &irk->bdaddr; in hci_connect_le_scan_cleanup()
89 params = hci_pend_le_action_lookup(&hdev->pend_le_conns, bdaddr, in hci_connect_le_scan_cleanup()
105 hci_conn_params_del(hdev, bdaddr, bdaddr_type); in hci_connect_le_scan_cleanup()
246 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_create_connection()
969 bacpy(&conn->src, &hdev->bdaddr); in hci_conn_add()
1139 bacpy(&id_addr, &d->bdaddr); in hci_get_route()
1159 if (bacmp(&d->bdaddr, dst)) { in hci_get_route()
[all …]
Dhci_sock.c441 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event()
466 bacpy(&ii->bdaddr, &hdev->bdaddr); in create_monitor_event()
905 bdaddr_t bdaddr; in hci_sock_reject_list_add() local
908 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_sock_reject_list_add()
913 err = hci_bdaddr_list_add(&hdev->reject_list, &bdaddr, BDADDR_BREDR); in hci_sock_reject_list_add()
922 bdaddr_t bdaddr; in hci_sock_reject_list_del() local
925 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_sock_reject_list_del()
930 err = hci_bdaddr_list_del(&hdev->reject_list, &bdaddr, BDADDR_BREDR); in hci_sock_reject_list_del()
/linux-6.1.9/drivers/bluetooth/ !
Dhci_ll.c70 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()
648 if (!bacmp(&lldev->bdaddr, BDADDR_NONE)) { in ll_setup()
653 } else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) { in ll_setup()
654 err = ll_set_bdaddr(hu->hdev, &lldev->bdaddr); in ll_setup()
733 bacpy(&lldev->bdaddr, BDADDR_NONE); in hci_ti_probe()
736 bdaddr_t *bdaddr; in hci_ti_probe() local
739 bdaddr = nvmem_cell_read(bdaddr_cell, &len); in hci_ti_probe()
741 if (IS_ERR(bdaddr)) { in hci_ti_probe()
[all …]
Dbtbcm.c81 if (!bacmp(&bda->bdaddr, BDADDR_BCM20702A0) || in btbcm_check_bdaddr()
82 !bacmp(&bda->bdaddr, BDADDR_BCM20702A1) || in btbcm_check_bdaddr()
83 !bacmp(&bda->bdaddr, BDADDR_BCM2076B1) || in btbcm_check_bdaddr()
84 !bacmp(&bda->bdaddr, BDADDR_BCM4324B3) || in btbcm_check_bdaddr()
85 !bacmp(&bda->bdaddr, BDADDR_BCM4330B1) || in btbcm_check_bdaddr()
86 !bacmp(&bda->bdaddr, BDADDR_BCM4334B0) || in btbcm_check_bdaddr()
87 !bacmp(&bda->bdaddr, BDADDR_BCM4345C5) || in btbcm_check_bdaddr()
88 !bacmp(&bda->bdaddr, BDADDR_BCM43430A0) || in btbcm_check_bdaddr()
89 !bacmp(&bda->bdaddr, BDADDR_BCM43341B)) { in btbcm_check_bdaddr()
91 &bda->bdaddr); in btbcm_check_bdaddr()
[all …]
Dbtqca.h154 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr);
160 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
174 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() argument
194 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() argument
Dbtbcm.h55 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
Dhci_ath.c169 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()
Dvirtio_bt.c123 const bdaddr_t *bdaddr) in virtbt_set_bdaddr_zephyr() argument
128 skb = __hci_cmd_sync(hdev, 0xfc06, 6, bdaddr, HCI_INIT_TIMEOUT); in virtbt_set_bdaddr_zephyr()
149 static int virtbt_set_bdaddr_intel(struct hci_dev *hdev, const bdaddr_t *bdaddr) in virtbt_set_bdaddr_intel() argument
154 skb = __hci_cmd_sync(hdev, 0xfc31, 6, bdaddr, HCI_INIT_TIMEOUT); in virtbt_set_bdaddr_intel()
Dbtmtk.h127 int btmtk_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
137 const bdaddr_t *bdaddr) in btmtk_set_bdaddr() argument
/linux-6.1.9/net/bluetooth/cmtp/ !
Dcore.c53 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()
Dcmtp.h45 bdaddr_t bdaddr; member
50 bdaddr_t bdaddr; member
75 bdaddr_t bdaddr; member
/linux-6.1.9/net/bluetooth/hidp/ !
Dhidp.h106 bdaddr_t bdaddr; member
111 bdaddr_t bdaddr; member
149 bdaddr_t bdaddr; member
Dcore.c76 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()

12