Home
last modified time | relevance | path

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

12

/linux/include/net/bluetooth/
A Dhci.h629 bdaddr_t bdaddr; member
651 bdaddr_t bdaddr; member
656 bdaddr_t bdaddr; member
662 bdaddr_t bdaddr; member
668 bdaddr_t bdaddr; member
674 bdaddr_t bdaddr; member
679 bdaddr_t bdaddr; member
685 bdaddr_t bdaddr; member
690 bdaddr_t bdaddr; member
694 bdaddr_t bdaddr; member
[all …]
A Dhci_core.h40 bdaddr_t bdaddr; member
130 bdaddr_t bdaddr; member
147 bdaddr_t bdaddr; member
155 bdaddr_t bdaddr; member
185 bdaddr_t bdaddr; member
194 bdaddr_t bdaddr; member
208 bdaddr_t bdaddr; member
216 bdaddr_t bdaddr; member
224 bdaddr_t bdaddr; member
326 bdaddr_t bdaddr; member
[all …]
A Dhci_sock.h112 bdaddr_t bdaddr; member
133 bdaddr_t bdaddr; member
157 bdaddr_t bdaddr; member
163 bdaddr_t bdaddr; member
A Dhci_mon.h58 bdaddr_t bdaddr; member
64 bdaddr_t bdaddr; member
A Dmgmt.h62 bdaddr_t bdaddr; member
116 bdaddr_t bdaddr; member
392 bdaddr_t bdaddr; member
504 bdaddr_t bdaddr; member
613 bdaddr_t bdaddr; member
/linux/net/bluetooth/
A Dhci_core.c1018 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup()
2069 di.bdaddr = hdev->bdaddr; in hci_get_dev_info()
2492 bacpy(&key->bdaddr, bdaddr); in hci_add_link_key()
2525 bacpy(&key->bdaddr, bdaddr); in hci_add_ltk()
2548 bacpy(&irk->bdaddr, bdaddr); in hci_add_irk()
2630 bdaddr = &irk->bdaddr; in hci_bdaddr_is_paired()
2741 bacpy(&data->bdaddr, bdaddr); in hci_add_remote_oob_data()
3282 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add()
3305 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add_with_irk()
3334 bacpy(&entry->bdaddr, bdaddr); in hci_bdaddr_list_add_with_flags()
[all …]
A Dhci_event.c785 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr()
2811 bacpy(&cp.bdaddr, bdaddr); in hci_reject_conn()
2882 bacpy(&cp.bdaddr, &ev->bdaddr); in hci_conn_request_evt()
2894 bacpy(&cp.bdaddr, &ev->bdaddr); in hci_conn_request_evt()
4177 bacpy(&cp.bdaddr, &ev->bdaddr); in hci_link_key_request_evt()
4749 bacpy(&cp.bdaddr, &ev->bdaddr); in hci_io_capa_request_evt()
4781 bacpy(&cp.bdaddr, &ev->bdaddr); in hci_io_capa_request_evt()
5037 bacpy(&cp.bdaddr, &ev->bdaddr); in hci_remote_oob_data_request_evt()
5046 bacpy(&cp.bdaddr, &ev->bdaddr); in hci_remote_oob_data_request_evt()
5062 bacpy(&cp.bdaddr, &ev->bdaddr); in hci_remote_oob_data_request_evt()
[all …]
A Dmgmt.c1027 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info()
1083 bacpy(&rp->bdaddr, &hdev->bdaddr); in read_ext_controller_info()
2434 bacpy(&ev.addr.bdaddr, bdaddr); in device_unpaired()
4330 bacpy(&ev.addr.bdaddr, bdaddr); in device_flags_changed()
6924 bacpy(&ev.addr.bdaddr, bdaddr); in device_added()
7034 bacpy(&ev.addr.bdaddr, bdaddr); in device_removed()
8997 bacpy(&ev.addr.bdaddr, bdaddr); in mgmt_new_conn_param()
9111 bacpy(&ev.addr.bdaddr, bdaddr); in mgmt_device_disconnected()
9167 bacpy(&ev.addr.bdaddr, bdaddr); in mgmt_connect_failed()
9178 bacpy(&ev.addr.bdaddr, bdaddr); in mgmt_pin_code_request()
[all …]
A 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);
A Dhci_request.c597 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
612 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
651 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
667 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
709 &b->bdaddr, in update_accept_list()
712 &b->bdaddr, in update_accept_list()
1014 bacpy(&f.addr_conn_flt.bdaddr, &b->bdaddr); in hci_req_set_event_filter()
1897 bacpy(&cp.bdaddr, &random_addr); in __hci_req_setup_ext_adv_instance()
2499 bacpy(&rej.bdaddr, &conn->dst); in __hci_abort_conn()
2507 bacpy(&rej.bdaddr, &conn->dst); in __hci_abort_conn()
[all …]
A Dhci_conn.c68 bdaddr_t *bdaddr; in hci_connect_le_scan_cleanup() local
71 bdaddr = &conn->dst; in hci_connect_le_scan_cleanup()
77 bdaddr = &irk->bdaddr; in hci_connect_le_scan_cleanup()
232 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_create_connection()
691 bacpy(&conn->src, &hdev->bdaddr); in hci_conn_add()
838 bacpy(&id_addr, &d->bdaddr); in hci_get_route()
858 if (bacmp(&d->bdaddr, dst)) { in hci_get_route()
1120 bacpy(&cp.bdaddr, &random_addr); in hci_req_directed_advertising()
1697 bacpy(&cp.bdaddr, &conn->dst); in hci_conn_switch_role()
1815 bacpy(&(ci + n)->bdaddr, &c->dst); in hci_get_conn_list()
[all …]
A 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()
A Dhci_sock.c441 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event()
466 bacpy(&ii->bdaddr, &hdev->bdaddr); in create_monitor_event()
903 bdaddr_t bdaddr; in hci_sock_reject_list_add() local
906 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_sock_reject_list_add()
911 err = hci_bdaddr_list_add(&hdev->reject_list, &bdaddr, BDADDR_BREDR); in hci_sock_reject_list_add()
920 bdaddr_t bdaddr; in hci_sock_reject_list_del() local
923 if (copy_from_user(&bdaddr, arg, sizeof(bdaddr))) in hci_sock_reject_list_del()
928 err = hci_bdaddr_list_del(&hdev->reject_list, &bdaddr, BDADDR_BREDR); in hci_sock_reject_list_del()
A Dsmp.c497 const bdaddr_t *bdaddr) in smp_irk_matches() argument
508 err = smp_ah(irk, &bdaddr->b[3], hash); in smp_irk_matches()
512 return !crypto_memneq(bdaddr->b, hash, 3); in smp_irk_matches()
1076 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1088 bacpy(&smp->ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1323 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys()
2451 hci_remove_irk(hdev, bdaddr, addr_type); in smp_cancel_and_remove_pairing()
2614 if (!bacmp(&info->bdaddr, BDADDR_ANY) || in smp_cmd_ident_addr_info()
2626 (bacmp(&info->bdaddr, &hcon->dst) || in smp_cmd_ident_addr_info()
2633 bacpy(&smp->id_addr, &info->bdaddr); in smp_cmd_ident_addr_info()
[all …]
/linux/drivers/bluetooth/
A Dhci_ll.c70 bdaddr_t bdaddr; member
599 baswap(&bdaddr_swapped, bdaddr); in ll_set_bdaddr()
648 if (!bacmp(&lldev->bdaddr, BDADDR_NONE)) { 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()
743 return PTR_ERR(bdaddr); in hci_ti_probe()
747 kfree(bdaddr); in hci_ti_probe()
755 baswap(&lldev->bdaddr, bdaddr); in hci_ti_probe()
[all …]
A Dbtbcm.c79 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()
89 &bda->bdaddr); in btbcm_check_bdaddr()
[all …]
A Dbtqca.h152 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr);
158 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
172 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() argument
192 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() argument
A 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()
A 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()
A 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
A Dbtqca.c508 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() argument
517 memcpy(cmd + 3, bdaddr, sizeof(bdaddr_t)); in qca_set_bdaddr_rome()
653 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() argument
658 skb = __hci_cmd_sync_ev(hdev, EDL_WRITE_BD_ADDR_OPCODE, 6, bdaddr, in qca_set_bdaddr()
/linux/net/bluetooth/cmtp/
A 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()
A Dcmtp.h45 bdaddr_t bdaddr; member
50 bdaddr_t bdaddr; member
75 bdaddr_t bdaddr; member
/linux/net/bluetooth/hidp/
A Dhidp.h106 bdaddr_t bdaddr; member
111 bdaddr_t bdaddr; member
149 bdaddr_t bdaddr; member
A 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()

Completed in 139 milliseconds

12