Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bluetooth/
Dhci_event.c759 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr()
762 bacpy(&hdev->setup_addr, &rp->bdaddr); in hci_cc_read_bd_addr()
1149 bacpy(&hdev->random_addr, sent); in hci_cc_le_set_random_addr()
1194 bacpy(&hdev->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr()
1199 bacpy(&adv_instance->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr()
1331 bacpy(&d->last_adv_addr, BDADDR_ANY); in clear_pending_adv_report()
1344 bacpy(&d->last_adv_addr, bdaddr); in store_pending_adv_report()
1994 bacpy(&cp.bdaddr, &e->data.bdaddr); in hci_resolve_name()
2324 bacpy(&conn->init_addr, &hdev->random_addr); in cs_le_create_conn()
2326 bacpy(&conn->init_addr, &hdev->bdaddr); in cs_le_create_conn()
[all …]
Dhci_conn.c215 bacpy(&cp.bdaddr, &conn->dst); in hci_acl_create_connection()
531 bacpy(&conn->dst, dst); in hci_conn_add()
532 bacpy(&conn->src, &hdev->bdaddr); in hci_conn_add()
679 bacpy(&id_addr, &d->bdaddr); in hci_get_route()
841 bacpy(&cp->peer_addr, &conn->dst); in hci_req_add_le_create_conn()
880 bacpy(&cp.peer_addr, &conn->dst); in hci_req_add_le_create_conn()
926 bacpy(&cp.peer_addr, &conn->dst); in hci_req_directed_advertising()
948 bacpy(&cp.bdaddr, &random_addr); in hci_req_directed_advertising()
985 bacpy(&cp.direct_addr, &conn->dst); in hci_req_directed_advertising()
1053 bacpy(&conn->dst, dst); in hci_connect_le()
[all …]
Dsco.c266 bacpy(&sco_pi(sk)->src, &hcon->src); in sco_connect()
549 bacpy(&sco_pi(sk)->src, &sa->sco_bdaddr); in sco_sock_bind()
590 bacpy(&sco_pi(sk)->dst, &sa->sco_bdaddr); in sco_sock_connect()
712 bacpy(&sa->sco_bdaddr, &sco_pi(sk)->dst); in sco_sock_getname()
714 bacpy(&sa->sco_bdaddr, &sco_pi(sk)->src); in sco_sock_getname()
764 bacpy(&cp.bdaddr, &conn->dst); in sco_conn_defer_accept()
771 bacpy(&cp.bdaddr, &conn->dst); in sco_conn_defer_accept()
1136 bacpy(&sco_pi(sk)->src, &conn->hcon->src); in sco_conn_ready()
1137 bacpy(&sco_pi(sk)->dst, &conn->hcon->dst); in sco_conn_ready()
Dhci_request.c745 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
760 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
799 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
815 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
1160 bacpy(&f.addr_conn_flt.bdaddr, &b->bdaddr); in hci_req_set_event_filter()
2009 bacpy(rand_addr, BDADDR_ANY); in hci_get_random_address()
2043 bacpy(rand_addr, &hdev->rpa); in hci_get_random_address()
2079 bacpy(rand_addr, &nrpa); in hci_get_random_address()
2196 bacpy(&cp.bdaddr, &random_addr); in __hci_req_setup_ext_adv_instance()
2827 bacpy(&rej.bdaddr, &conn->dst); in __hci_abort_conn()
[all …]
Dhci_core.c597 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_init3_req()
824 bacpy(&cp.bdaddr, BDADDR_ANY); in hci_init4_req()
1268 bacpy(&info->bdaddr, &data->bdaddr); in inquiry_cache_dump()
1429 bacpy(&hdev->public_addr, &ba); in hci_dev_get_bd_addr_from_property()
1840 bacpy(&hdev->random_addr, BDADDR_ANY); in hci_dev_do_close()
2519 bacpy(&irk->rpa, rpa); in hci_find_irk_by_rpa()
2602 bacpy(&key->bdaddr, bdaddr); in hci_add_link_key()
2635 bacpy(&key->bdaddr, bdaddr); in hci_add_ltk()
2658 bacpy(&irk->bdaddr, bdaddr); in hci_add_irk()
2665 bacpy(&irk->rpa, rpa); in hci_add_irk()
[all …]
Dmgmt.c1021 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info()
1077 bacpy(&rp->bdaddr, &hdev->bdaddr); in read_ext_controller_info()
2428 bacpy(&ev.addr.bdaddr, bdaddr); in device_unpaired()
2447 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in unpair_device()
2575 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in disconnect()
2682 bacpy(&rp->addr[i].bdaddr, &c->dst); in get_connections()
2772 bacpy(&reply.bdaddr, &cp->addr.bdaddr); in pin_code_reply()
2832 bacpy(&rp.addr.bdaddr, &conn->dst); in pairing_complete()
2915 bacpy(&rp.addr.bdaddr, &cp->addr.bdaddr); in pair_device()
3146 bacpy(&cp.bdaddr, &addr->bdaddr); in user_pairing_resp()
[all …]
Dsmp.c1067 bacpy(&hcon->dst, &smp->remote_irk->bdaddr); in smp_notify_keys()
1075 bacpy(&smp->csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1081 bacpy(&smp->slave_csrk->bdaddr, &hcon->dst); in smp_notify_keys()
1087 bacpy(&smp->ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1093 bacpy(&smp->slave_ltk->bdaddr, &hcon->dst); in smp_notify_keys()
1321 bacpy(&addrinfo.bdaddr, &hcon->src); in smp_distribute_keys()
2626 bacpy(&smp->id_addr, &info->bdaddr); in smp_cmd_ident_addr_info()
2630 bacpy(&rpa, &hcon->dst); in smp_cmd_ident_addr_info()
2632 bacpy(&rpa, BDADDR_ANY); in smp_cmd_ident_addr_info()
3333 bacpy(&chan->src, &hdev->bdaddr); in smp_add_cid()
Dl2cap_sock.c131 bacpy(&chan->src, &la.l2_bdaddr); in l2cap_sock_bind()
422 bacpy(&la->l2_bdaddr, &chan->dst); in l2cap_sock_getname()
426 bacpy(&la->l2_bdaddr, &chan->src); in l2cap_sock_getname()
1777 bacpy(&la->l2_bdaddr, &bt_cb(skb)->l2cap.bdaddr); in l2cap_skb_msg_name()
Dl2cap_core.c758 bacpy(&chan->dst, &hcon->dst); in l2cap_conn_update_id_addr()
4184 bacpy(&chan->src, &conn->hcon->src); in l2cap_connect()
4185 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_connect()
5881 bacpy(&chan->src, &conn->hcon->src); in l2cap_le_connect_req()
5882 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_le_connect_req()
6091 bacpy(&chan->src, &conn->hcon->src); in l2cap_ecred_conn_req()
6092 bacpy(&chan->dst, &conn->hcon->dst); in l2cap_ecred_conn_req()
7748 bacpy(&bt_cb(skb)->l2cap.bdaddr, &hcon->dst); in l2cap_conless_channel()
8012 bacpy(&chan->dst, dst); in l2cap_chan_connect()
8082 bacpy(&chan->src, &hcon->src); in l2cap_chan_connect()
[all …]
Dhci_sock.c440 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event()
465 bacpy(&ii->bdaddr, &hdev->bdaddr); in create_monitor_event()
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dsock.c369 bacpy(&rfcomm_pi(sk)->src, &sa.rc_bdaddr); in rfcomm_sock_bind()
407 bacpy(&rfcomm_pi(sk)->dst, &sa->rc_bdaddr); in rfcomm_sock_connect()
549 bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->dst); in rfcomm_sock_getname()
551 bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->src); in rfcomm_sock_getname()
966 bacpy(&rfcomm_pi(sk)->src, &src); in rfcomm_connect_ind()
967 bacpy(&rfcomm_pi(sk)->dst, &dst); in rfcomm_connect_ind()
Dtty.c264 bacpy(&dev->src, &req->src); in __rfcomm_dev_add()
265 bacpy(&dev->dst, &req->dst); in __rfcomm_dev_add()
534 bacpy(&(di + n)->src, &dev->src); in rfcomm_get_dev_list()
535 bacpy(&(di + n)->dst, &dev->dst); in rfcomm_get_dev_list()
570 bacpy(&di.src, &dev->src); in rfcomm_get_dev_info()
571 bacpy(&di.dst, &dev->dst); in rfcomm_get_dev_info()
Dcore.c775 bacpy(&addr.l2_bdaddr, src); in rfcomm_session_create()
802 bacpy(&addr.l2_bdaddr, dst); in rfcomm_session_create()
822 bacpy(src, &chan->src); in rfcomm_session_getaddr()
824 bacpy(dst, &chan->dst); in rfcomm_session_getaddr()
2061 bacpy(&addr.l2_bdaddr, ba); in rfcomm_add_listener()
/kernel/linux/linux-5.10/net/bluetooth/cmtp/
Dcore.c80 bacpy(&ci->bdaddr, &session->bdaddr); in __cmtp_copy_session()
356 bacpy(&session->bdaddr, &l2cap_pi(sock->sk)->chan->dst); in cmtp_add_connection()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dbluetooth.h280 static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src) in bacpy() function
/kernel/linux/linux-5.10/net/bluetooth/hidp/
Dcore.c76 bacpy(&ci->bdaddr, &session->bdaddr); in hidp_copy_session()
935 bacpy(&session->bdaddr, bdaddr); in hidp_session_new()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_ll.c732 bacpy(&lldev->bdaddr, BDADDR_NONE); in hci_ti_probe()