/Linux-v5.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() 1165 if (!bacmp(bdaddr, BDADDR_ANY) && e->name_state == state) in hci_inquiry_cache_lookup_resolve() 1418 if (ret < 0 || !bacmp(&ba, BDADDR_ANY)) in hci_dev_get_bd_addr_from_property() 1461 !bacmp(&hdev->bdaddr, BDADDR_ANY) && in hci_dev_do_open() 1462 !bacmp(&hdev->static_addr, BDADDR_ANY)) { in hci_dev_do_open() 1504 if (!bacmp(&hdev->public_addr, BDADDR_ANY)) in hci_dev_do_open() 1507 if (bacmp(&hdev->public_addr, BDADDR_ANY) && in hci_dev_do_open() 1555 if (bacmp(&hdev->public_addr, BDADDR_ANY) && in hci_dev_do_open() 1826 bacpy(&hdev->random_addr, BDADDR_ANY); in hci_dev_do_close() [all …]
|
D | hci_request.c | 1880 bacpy(rand_addr, BDADDR_ANY); in hci_get_random_address() 2052 bacmp(&random_addr, BDADDR_ANY)) { in __hci_req_setup_ext_adv_instance() 2419 !bacmp(&hdev->bdaddr, BDADDR_ANY) || in hci_update_random_address() 2421 bacmp(&hdev->static_addr, BDADDR_ANY))) { in hci_update_random_address() 3107 e = hci_inquiry_cache_lookup_resolve(hdev, BDADDR_ANY, in hci_req_stop_discovery()
|
D | 6lowpan.c | 961 bdaddr_t *addr = BDADDR_ANY; in bt_6lowpan_listen() 1006 hdev = hci_get_route(addr, BDADDR_ANY, BDADDR_LE_PUBLIC); in get_l2cap_conn()
|
D | hci_conn.c | 652 int use_src = bacmp(src, BDADDR_ANY); in hci_get_route() 939 bacmp(&random_addr, BDADDR_ANY) && in hci_req_directed_advertising() 1045 if (irk && bacmp(&irk->rpa, BDADDR_ANY)) { in hci_connect_le()
|
D | mgmt.c | 582 !bacmp(&hdev->public_addr, BDADDR_ANY)) in is_configured() 598 !bacmp(&hdev->public_addr, BDADDR_ANY)) in get_missing_options() 881 !bacmp(&hdev->bdaddr, BDADDR_ANY)) { in get_current_settings() 882 if (bacmp(&hdev->static_addr, BDADDR_ANY)) in get_current_settings() 4586 if (!bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { in remove_remote_oob_data() 5283 if (bacmp(&cp->bdaddr, BDADDR_ANY)) { in set_static_address() 5567 (bacmp(&hdev->static_addr, BDADDR_ANY) || in set_bredr() 5923 BDADDR_ANY); in load_irks() 6351 if (bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { in get_clock_info() 6482 !bacmp(&cp->addr.bdaddr, BDADDR_ANY)) in add_device() [all …]
|
D | sco.c | 359 if (!bacmp(&sco_pi(sk)->src, BDADDR_ANY)) in sco_get_sock_listen() 1147 !bacmp(&sco_pi(sk)->src, BDADDR_ANY)) { in sco_connect_ind()
|
D | hci_debugfs.c | 1142 if (bacmp(&hdev->bdaddr, BDADDR_ANY)) in hci_debugfs_create_le()
|
D | hci_event.c | 1324 return bacmp(&d->last_adv_addr, BDADDR_ANY); in has_pending_adv_report() 1331 bacpy(&d->last_adv_addr, BDADDR_ANY); in clear_pending_adv_report() 2010 e = hci_inquiry_cache_lookup_resolve(hdev, BDADDR_ANY, NAME_NEEDED); in hci_resolve_next_name() 2510 e = hci_inquiry_cache_lookup_resolve(hdev, BDADDR_ANY, NAME_NEEDED); in hci_inquiry_complete_evt()
|
D | l2cap_sock.c | 204 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() 2632 bacpy(&rpa, BDADDR_ANY); in smp_cmd_ident_addr_info()
|
D | l2cap_core.c | 1969 src_any = !bacmp(&c->src, BDADDR_ANY); in l2cap_global_chan_by_psm() 1970 dst_any = !bacmp(&c->dst, BDADDR_ANY); in l2cap_global_chan_by_psm() 8035 } else if (!bacmp(&c->src, BDADDR_ANY)) { in l2cap_connect_ind() 8067 if (bacmp(&c->src, &hcon->src) && bacmp(&c->src, BDADDR_ANY)) in l2cap_global_fixed_chan()
|
/Linux-v5.10/include/net/bluetooth/ |
D | bluetooth.h | 270 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}}) macro
|
/Linux-v5.10/drivers/bluetooth/ |
D | hci_ll.c | 652 } else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) { in ll_setup()
|
D | hci_intel.c | 661 if (!bacmp(¶ms.otp_bdaddr, BDADDR_ANY)) { in intel_setup()
|
D | btusb.c | 2454 if (!bacmp(¶ms->otp_bdaddr, BDADDR_ANY)) { in btusb_intel_download_firmware()
|
/Linux-v5.10/net/bluetooth/rfcomm/ |
D | sock.c | 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() 2080 rfcomm_add_listener(BDADDR_ANY); in rfcomm_run()
|