Home
last modified time | relevance | path

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

/linux-6.1.9/net/bluetooth/
Diso.c520 if (bacmp(dst, BDADDR_ANY) && bacmp(&iso_pi(sk)->dst, dst)) in iso_get_sock_listen()
532 if (!bacmp(&iso_pi(sk)->src, BDADDR_ANY)) in iso_get_sock_listen()
852 if (bacmp(&iso_pi(sk)->dst, BDADDR_ANY)) in iso_sock_connect()
941 if (!bacmp(&iso_pi(sk)->dst, BDADDR_ANY)) in iso_sock_listen()
1450 BDADDR_ANY, NULL, NULL); in iso_conn_ready()
1473 if (!bacmp(&hcon->dst, BDADDR_ANY)) { in iso_conn_ready()
1565 sk = iso_get_sock_listen(&hdev->bdaddr, BDADDR_ANY, NULL, NULL); in iso_connect_ind()
Dhci_sync.c938 !bacmp(&hdev->bdaddr, BDADDR_ANY) || in hci_update_random_address_sync()
940 bacmp(&hdev->static_addr, BDADDR_ANY))) { in hci_update_random_address_sync()
1135 bacmp(&random_addr, BDADDR_ANY)) { in hci_setup_ext_adv_instance_sync()
3120 if (ret < 0 || !bacmp(&ba, BDADDR_ANY)) in hci_dev_get_bd_addr_from_property()
3422 BDADDR_ANY, 0x00); in hci_clear_event_filter_sync()
3740 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_read_stored_link_key_sync()
4183 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_delete_stored_link_key_sync()
4512 if (!bacmp(&hdev->public_addr, BDADDR_ANY)) in hci_dev_setup_sync()
4515 if (bacmp(&hdev->public_addr, BDADDR_ANY) && in hci_dev_setup_sync()
4581 if (bacmp(&hdev->public_addr, BDADDR_ANY) && in hci_dev_init_sync()
[all …]
Dhci_core.c234 if (!bacmp(bdaddr, BDADDR_ANY) && e->name_state == state) in hci_inquiry_cache_lookup_resolve()
999 !bacmp(&hdev->bdaddr, BDADDR_ANY) && in hci_power_on()
1000 !bacmp(&hdev->static_addr, BDADDR_ANY))) { in hci_power_on()
2106 if (!bacmp(bdaddr, BDADDR_ANY)) in hci_bdaddr_list_add()
2129 if (!bacmp(bdaddr, BDADDR_ANY)) in hci_bdaddr_list_add_with_irk()
2158 if (!bacmp(bdaddr, BDADDR_ANY)) in hci_bdaddr_list_add_with_flags()
2181 if (!bacmp(bdaddr, BDADDR_ANY)) { in hci_bdaddr_list_del()
2201 if (!bacmp(bdaddr, BDADDR_ANY)) { in hci_bdaddr_list_del_with_irk()
2221 if (!bacmp(bdaddr, BDADDR_ANY)) { in hci_bdaddr_list_del_with_flags()
2380 !bacmp(&hdev->bdaddr, BDADDR_ANY) || in hci_copy_identity_address()
[all …]
Dhci_conn.c776 if (bacmp(&conn->dst, BDADDR_ANY)) in bis_list()
791 if (bacmp(&conn->dst, BDADDR_ANY)) in find_bis()
929 if (!bacmp(&conn->dst, BDADDR_ANY)) in find_cis()
1006 if (!bacmp(dst, BDADDR_ANY)) in hci_conn_add()
1114 int use_src = bacmp(src, BDADDR_ANY); in hci_get_route()
1309 if (irk && bacmp(&irk->rpa, BDADDR_ANY)) { in hci_connect_le()
1652 if (!bacmp(&conn->dst, BDADDR_ANY)) in cis_list()
Dhci_request.c725 !bacmp(&hdev->bdaddr, BDADDR_ANY) || in hci_update_random_address()
727 bacmp(&hdev->static_addr, BDADDR_ANY))) { in hci_update_random_address()
D6lowpan.c923 bdaddr_t *addr = BDADDR_ANY; in bt_6lowpan_listen()
968 hdev = hci_get_route(addr, BDADDR_ANY, BDADDR_LE_PUBLIC); in get_l2cap_conn()
Dsco.c357 if (!bacmp(&sco_pi(sk)->src, BDADDR_ANY)) in sco_get_sock_listen()
1342 !bacmp(&sco_pi(sk)->src, BDADDR_ANY)) { in sco_connect_ind()
Dmgmt.c633 !bacmp(&hdev->public_addr, BDADDR_ANY)) in is_configured()
649 !bacmp(&hdev->public_addr, BDADDR_ANY)) in get_missing_options()
927 !bacmp(&hdev->bdaddr, BDADDR_ANY)) { in get_current_settings()
928 if (bacmp(&hdev->static_addr, BDADDR_ANY)) in get_current_settings()
5802 if (!bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { in remove_remote_oob_data()
6520 if (bacmp(&cp->bdaddr, BDADDR_ANY)) { in set_static_address()
6793 (bacmp(&hdev->static_addr, BDADDR_ANY) || in set_bredr()
7137 BDADDR_ANY); in load_irks()
7505 if (bacmp(&cp->addr.bdaddr, BDADDR_ANY)) { in get_clock_info()
7632 !bacmp(&cp->addr.bdaddr, BDADDR_ANY)) in add_device()
[all …]
Dhci_event.c1722 return bacmp(&d->last_adv_addr, BDADDR_ANY); in has_pending_adv_report()
1729 bacpy(&d->last_adv_addr, BDADDR_ANY); in clear_pending_adv_report()
2474 e = hci_inquiry_cache_lookup_resolve(hdev, BDADDR_ANY, NAME_NEEDED); in hci_resolve_next_name()
3060 e = hci_inquiry_cache_lookup_resolve(hdev, BDADDR_ANY, NAME_NEEDED); in hci_inquiry_complete_evt()
5752 if (local_rpa && bacmp(local_rpa, BDADDR_ANY)) { in le_conn_update_addr()
5767 if (local_rpa && bacmp(local_rpa, BDADDR_ANY)) { in le_conn_update_addr()
6049 bacmp(&conn->resp_addr, BDADDR_ANY)) in hci_le_ext_adv_term_evt()
6973 bis = hci_conn_add(hdev, ISO_LINK, BDADDR_ANY, in hci_le_big_sync_established_evt()
7005 mask |= hci_proto_connect_ind(hdev, BDADDR_ANY, ISO_LINK, &flags); in hci_le_big_info_adv_report_evt()
Dhci_debugfs.c1193 if (bacmp(&hdev->bdaddr, BDADDR_ANY)) in hci_debugfs_create_le()
Dl2cap_sock.c232 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect()
Dsmp.c2614 if (!bacmp(&info->bdaddr, BDADDR_ANY) || in smp_cmd_ident_addr_info()
2639 bacpy(&rpa, BDADDR_ANY); in smp_cmd_ident_addr_info()
Dl2cap_core.c2009 src_any = !bacmp(&c->src, BDADDR_ANY); in l2cap_global_chan_by_psm()
2010 dst_any = !bacmp(&c->dst, BDADDR_ANY); in l2cap_global_chan_by_psm()
8157 } else if (!bacmp(&c->src, BDADDR_ANY)) { in l2cap_connect_ind()
8189 if (bacmp(&c->src, &hcon->src) && bacmp(&c->src, BDADDR_ANY)) in l2cap_global_fixed_chan()
/linux-6.1.9/include/net/bluetooth/
Dbluetooth.h341 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}}) macro
Dhci_core.h1221 if (bacmp(&c->dst, BDADDR_ANY) || c->type != ISO_LINK) in hci_conn_hash_lookup_big()
1660 #define rpa_valid(dev) (bacmp(&dev->rpa, BDADDR_ANY) && \
1662 #define adv_rpa_valid(adv) (bacmp(&adv->random_addr, BDADDR_ANY) && \
/linux-6.1.9/drivers/bluetooth/
Dhci_ll.c653 } else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) { in ll_setup()
Dbtintel.c1870 if (!bacmp(&params->otp_bdaddr, BDADDR_ANY)) { in btintel_download_fw()
2091 if (!bacmp(&ver->otp_bd_addr, BDADDR_ANY)) { in btintel_prepare_fw_download_tlv()
Dhci_intel.c661 if (!bacmp(&params.otp_bdaddr, BDADDR_ANY)) { in intel_setup()
/linux-6.1.9/net/bluetooth/rfcomm/
Dsock.c143 if (!bacmp(&rfcomm_pi(sk)->src, BDADDR_ANY)) in rfcomm_get_sock_by_channel()
Dcore.c733 if ((!bacmp(src, BDADDR_ANY) || !bacmp(&chan->src, src)) && in rfcomm_session_get()
2116 rfcomm_add_listener(BDADDR_ANY); in rfcomm_run()