Home
last modified time | relevance | path

Searched refs:BDADDR_ANY (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/net/bluetooth/
Dhci_core.c597 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 …]
Dhci_request.c1880 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()
D6lowpan.c961 bdaddr_t *addr = BDADDR_ANY; in bt_6lowpan_listen()
1006 hdev = hci_get_route(addr, BDADDR_ANY, BDADDR_LE_PUBLIC); in get_l2cap_conn()
Dhci_conn.c652 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()
Dmgmt.c582 !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 …]
Dsco.c359 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()
Dhci_debugfs.c1142 if (bacmp(&hdev->bdaddr, BDADDR_ANY)) in hci_debugfs_create_le()
Dhci_event.c1324 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()
Dl2cap_sock.c204 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect()
Dsmp.c2607 if (!bacmp(&info->bdaddr, BDADDR_ANY) || in smp_cmd_ident_addr_info()
2632 bacpy(&rpa, BDADDR_ANY); in smp_cmd_ident_addr_info()
Dl2cap_core.c1969 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/
Dbluetooth.h270 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}}) macro
/Linux-v5.10/drivers/bluetooth/
Dhci_ll.c652 } else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) { in ll_setup()
Dhci_intel.c661 if (!bacmp(&params.otp_bdaddr, BDADDR_ANY)) { in intel_setup()
Dbtusb.c2454 if (!bacmp(&params->otp_bdaddr, BDADDR_ANY)) { in btusb_intel_download_firmware()
/Linux-v5.10/net/bluetooth/rfcomm/
Dsock.c143 if (!bacmp(&rfcomm_pi(sk)->src, BDADDR_ANY)) in rfcomm_get_sock_by_channel()
Dcore.c697 if ((!bacmp(src, BDADDR_ANY) || !bacmp(&chan->src, src)) && in rfcomm_session_get()
2080 rfcomm_add_listener(BDADDR_ANY); in rfcomm_run()