/kernel/linux/linux-5.10/drivers/bluetooth/ |
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()
|
D | hci_ll.c | 647 if (!bacmp(&lldev->bdaddr, BDADDR_NONE)) { in ll_setup() 652 } else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) { in ll_setup()
|
D | btintel.c | 54 if (!bacmp(&bda->bdaddr, BDADDR_INTEL)) { in btintel_check_bdaddr()
|
D | hci_intel.c | 661 if (!bacmp(¶ms.otp_bdaddr, BDADDR_ANY)) { in intel_setup()
|
D | btusb.c | 2493 if (!bacmp(¶ms->otp_bdaddr, BDADDR_ANY)) { in btusb_intel_download_firmware()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | hci_core.c | 1132 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup() 1148 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup_unknown() 1165 if (!bacmp(bdaddr, BDADDR_ANY) && e->name_state == state) in hci_inquiry_cache_lookup_resolve() 1167 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup_resolve() 1426 if (ret < 0 || !bacmp(&ba, BDADDR_ANY)) in hci_dev_get_bd_addr_from_property() 1469 !bacmp(&hdev->bdaddr, BDADDR_ANY) && in hci_dev_do_open() 1470 !bacmp(&hdev->static_addr, BDADDR_ANY)) { in hci_dev_do_open() 1512 if (!bacmp(&hdev->public_addr, BDADDR_ANY)) in hci_dev_do_open() 1515 if (bacmp(&hdev->public_addr, BDADDR_ANY) && in hci_dev_do_open() 1563 if (bacmp(&hdev->public_addr, BDADDR_ANY) && in hci_dev_do_open() [all …]
|
D | sco.c | 338 if (!bacmp(&sco_pi(sk)->src, ba)) in __sco_get_sock_listen_by_addr() 359 if (!bacmp(&sco_pi(sk)->src, src)) in sco_get_sock_listen() 363 if (!bacmp(&sco_pi(sk)->src, BDADDR_ANY)) in sco_get_sock_listen() 1175 if (!bacmp(&sco_pi(sk)->src, &hdev->bdaddr) || in sco_connect_ind() 1176 !bacmp(&sco_pi(sk)->src, BDADDR_ANY)) { in sco_connect_ind()
|
D | hci_conn.c | 652 int use_src = bacmp(src, BDADDR_ANY); in hci_get_route() 693 if (!bacmp(&id_addr, src) && id_addr_type == src_type) { in hci_get_route() 697 if (bacmp(&d->bdaddr, dst)) { in hci_get_route() 813 if (bacmp(&req->hdev->random_addr, direct_rpa)) in hci_req_add_le_create_conn() 939 bacmp(&random_addr, BDADDR_ANY) && in hci_req_directed_advertising() 940 bacmp(&random_addr, &hdev->random_addr)) { in hci_req_directed_advertising() 1045 if (irk && bacmp(&irk->rpa, BDADDR_ANY)) { in hci_connect_le()
|
D | hci_request.c | 1911 !bacmp(&adv_instance->random_addr, &hdev->rpa)) in hci_get_random_address() 1917 !bacmp(&hdev->random_addr, &hdev->rpa)) in hci_get_random_address() 1958 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_get_random_address() 2065 bacmp(&random_addr, BDADDR_ANY)) { in __hci_req_setup_ext_adv_instance() 2070 if (!bacmp(&random_addr, &adv_instance->random_addr)) in __hci_req_setup_ext_adv_instance() 2073 if (!bacmp(&random_addr, &hdev->random_addr)) in __hci_req_setup_ext_adv_instance() 2378 !bacmp(&hdev->random_addr, &hdev->rpa)) in hci_update_random_address() 2413 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_update_random_address() 2432 !bacmp(&hdev->bdaddr, BDADDR_ANY) || in hci_update_random_address() 2434 bacmp(&hdev->static_addr, BDADDR_ANY))) { in hci_update_random_address() [all …]
|
D | mgmt.c | 585 !bacmp(&hdev->public_addr, BDADDR_ANY)) in is_configured() 601 !bacmp(&hdev->public_addr, BDADDR_ANY)) in get_missing_options() 884 !bacmp(&hdev->bdaddr, BDADDR_ANY)) { in get_current_settings() 885 if (bacmp(&hdev->static_addr, BDADDR_ANY)) in get_current_settings() 3060 if (bacmp(&addr->bdaddr, &conn->dst) != 0) { in cancel_pair_device() 4591 if (!bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { in remove_remote_oob_data() 5288 if (bacmp(&cp->bdaddr, BDADDR_ANY)) { in set_static_address() 5289 if (!bacmp(&cp->bdaddr, BDADDR_NONE)) in set_static_address() 5572 (bacmp(&hdev->static_addr, BDADDR_ANY) || in set_bredr() 6356 if (bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { in get_clock_info() [all …]
|
D | l2cap_core.c | 184 if (c->sport == psm && !bacmp(&c->src, src)) in __l2cap_global_chan_by_addr() 1964 src_match = !bacmp(&c->src, src); in l2cap_global_chan_by_psm() 1965 dst_match = !bacmp(&c->dst, dst); in l2cap_global_chan_by_psm() 1973 src_any = !bacmp(&c->src, BDADDR_ANY); in l2cap_global_chan_by_psm() 1974 dst_any = !bacmp(&c->dst, BDADDR_ANY); in l2cap_global_chan_by_psm() 5275 bacmp(&conn->hcon->src, &conn->hcon->dst) > 0) { in l2cap_move_channel_req() 8095 if (!bacmp(&c->src, &hdev->bdaddr)) { in l2cap_connect_ind() 8100 } else if (!bacmp(&c->src, BDADDR_ANY)) { in l2cap_connect_ind() 8132 if (bacmp(&c->src, &hcon->src) && bacmp(&c->src, BDADDR_ANY)) in l2cap_global_fixed_chan()
|
D | hci_event.c | 1324 return bacmp(&d->last_adv_addr, BDADDR_ANY); in has_pending_adv_report() 5084 if (local_rpa && bacmp(local_rpa, BDADDR_ANY)) { in le_conn_update_addr() 5099 if (local_rpa && bacmp(local_rpa, BDADDR_ANY)) { in le_conn_update_addr() 5323 bacmp(&conn->resp_addr, BDADDR_ANY)) in hci_le_ext_adv_term_evt() 5608 match = (!bacmp(bdaddr, &d->last_adv_addr) && in process_adv_report()
|
D | hci_debugfs.c | 1142 if (bacmp(&hdev->bdaddr, BDADDR_ANY)) in hci_debugfs_create_le()
|
D | 6lowpan.c | 120 if (bacmp(&peer->chan->dst, ba)) in peer_lookup_ba()
|
D | l2cap_sock.c | 231 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect()
|
D | smp.c | 2607 if (!bacmp(&info->bdaddr, BDADDR_ANY) || in smp_cmd_ident_addr_info() 2619 (bacmp(&info->bdaddr, &hcon->dst) || in smp_cmd_ident_addr_info()
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
D | sock.c | 114 if (bacmp(&rfcomm_pi(sk)->src, src)) in __rfcomm_get_listen_sock_by_addr() 139 if (!bacmp(&rfcomm_pi(sk)->src, src)) in rfcomm_get_sock_by_channel() 143 if (!bacmp(&rfcomm_pi(sk)->src, BDADDR_ANY)) in rfcomm_get_sock_by_channel()
|
D | core.c | 697 if ((!bacmp(src, BDADDR_ANY) || !bacmp(&chan->src, src)) && in rfcomm_session_get() 698 !bacmp(&chan->dst, dst)) in rfcomm_session_get()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | bluetooth.h | 274 static inline int bacmp(const bdaddr_t *ba1, const bdaddr_t *ba2) in bacmp() function
|
D | hci_core.h | 964 if (c->type == type && !bacmp(&c->dst, ba)) { in hci_conn_hash_lookup_ba() 988 if (ba_type == c->dst_type && !bacmp(&c->dst, ba)) { in hci_conn_hash_lookup_le()
|
/kernel/linux/linux-5.10/net/bluetooth/hidp/ |
D | core.c | 1011 if (!bacmp(bdaddr, &session->bdaddr)) in __hidp_session_find() 1325 if (bacmp(&ctrl_chan->src, &intr_chan->src) || in hidp_verify_sockets() 1326 bacmp(&ctrl_chan->dst, &intr_chan->dst)) in hidp_verify_sockets()
|
/kernel/linux/linux-5.10/net/bluetooth/cmtp/ |
D | core.c | 60 if (!bacmp(bdaddr, &session->bdaddr)) in __cmtp_get_session()
|