Home
last modified time | relevance | path

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

12

/openbmc/linux/include/net/bluetooth/
H A Dhci.h739 bdaddr_t bdaddr; member
761 bdaddr_t bdaddr; member
766 bdaddr_t bdaddr; member
772 bdaddr_t bdaddr; member
778 bdaddr_t bdaddr; member
784 bdaddr_t bdaddr; member
789 bdaddr_t bdaddr; member
795 bdaddr_t bdaddr; member
800 bdaddr_t bdaddr; member
804 bdaddr_t bdaddr; member
[all …]
H A Dhci_core.h46 bdaddr_t bdaddr; member
137 bdaddr_t bdaddr; member
154 bdaddr_t bdaddr; member
169 bdaddr_t bdaddr; member
189 bdaddr_t bdaddr; member
198 bdaddr_t bdaddr; member
212 bdaddr_t bdaddr; member
220 bdaddr_t bdaddr; member
228 bdaddr_t bdaddr; member
281 bdaddr_t bdaddr; member
[all …]
H A Dhci_sock.h112 bdaddr_t bdaddr; member
133 bdaddr_t bdaddr; member
157 bdaddr_t bdaddr; member
163 bdaddr_t bdaddr; member
H A Dhci_mon.h58 bdaddr_t bdaddr; member
64 bdaddr_t bdaddr; member
/openbmc/linux/net/bluetooth/
H A Dhci_core.c148 bdaddr_t *bdaddr) in hci_inquiry_cache_lookup() argument
153 BT_DBG("cache %p, %pMR", cache, bdaddr); in hci_inquiry_cache_lookup()
156 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup()
164 bdaddr_t *bdaddr) in hci_inquiry_cache_lookup_unknown() argument
169 BT_DBG("cache %p, %pMR", cache, bdaddr); in hci_inquiry_cache_lookup_unknown()
172 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup_unknown()
180 bdaddr_t *bdaddr, in hci_inquiry_cache_lookup_resolve() argument
186 BT_DBG("cache %p bdaddr %pMR state %d", cache, bdaddr, state); in hci_inquiry_cache_lookup_resolve()
189 if (!bacmp(bdaddr, BDADDR_ANY) && e->name_state == state) in hci_inquiry_cache_lookup_resolve()
191 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup_resolve()
[all …]
H A Dmsft.c86 bdaddr_t bdaddr; member
120 bdaddr_t bdaddr; member
221 !bacmp(addr, &entry->bdaddr)) in msft_find_address_data()
230 bdaddr_t *bdaddr, __u8 addr_type, in msft_monitor_device_del() argument
242 (!bdaddr || (!bacmp(bdaddr, &dev->bdaddr) && in msft_monitor_device_del()
246 &dev->bdaddr, in msft_monitor_device_del()
361 &address_filter->bdaddr); in msft_remove_addr_filters_sync()
739 &address_filter->bdaddr); in msft_cancel_address_filter_sync()
746 &address_filter->bdaddr); in msft_cancel_address_filter_sync()
789 static void msft_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, in msft_device_found() argument
[all …]
H A Dhci_event.c959 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr()
962 bacpy(&hdev->setup_addr, &rp->bdaddr); in hci_cc_read_bd_addr()
1155 mgmt_pin_code_reply_complete(hdev, &rp->bdaddr, rp->status); in hci_cc_pin_code_reply()
1164 conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &cp->bdaddr); in hci_cc_pin_code_reply()
1183 mgmt_pin_code_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_pin_code_neg_reply()
1254 mgmt_user_confirm_reply_complete(hdev, &rp->bdaddr, ACL_LINK, 0, in hci_cc_user_confirm_reply()
1272 mgmt_user_confirm_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_user_confirm_neg_reply()
1290 mgmt_user_passkey_reply_complete(hdev, &rp->bdaddr, ACL_LINK, in hci_cc_user_passkey_reply()
1308 mgmt_user_passkey_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_user_passkey_neg_reply()
1415 bacpy(&adv->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr()
[all …]
H A Dmgmt.c916 !bacmp(&hdev->bdaddr, BDADDR_ANY)) { in get_current_settings()
1148 bacpy(&rp.bdaddr, &hdev->bdaddr); in read_controller_info()
1204 bacpy(&rp->bdaddr, &hdev->bdaddr); in read_ext_controller_info()
2861 &key->addr.bdaddr); in load_link_keys()
2868 key->addr.type, &key->addr.bdaddr); in load_link_keys()
2874 key->type, &key->addr.bdaddr); in load_link_keys()
2884 hci_add_link_key(hdev, NULL, &key->addr.bdaddr, key->val, in load_link_keys()
2895 static int device_unpaired(struct hci_dev *hdev, bdaddr_t *bdaddr, in device_unpaired() argument
5068 device_flags_changed(struct sock * sk,struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type,u32 supported_flags,u32 current_flags) device_flags_changed() argument
7581 device_added(struct sock * sk,struct hci_dev * hdev,bdaddr_t * bdaddr,u8 type,u8 action) device_added() argument
7700 device_removed(struct sock * sk,struct hci_dev * hdev,bdaddr_t * bdaddr,u8 type) device_removed() argument
9597 mgmt_new_conn_param(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type,u8 store_hint,u16 min_interval,u16 max_interval,u16 latency,u16 timeout) mgmt_new_conn_param() argument
9695 mgmt_device_disconnected(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 reason,bool mgmt_connected) mgmt_device_disconnected() argument
9722 mgmt_disconnect_failed(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_disconnect_failed() argument
9765 mgmt_pin_code_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 secure) mgmt_pin_code_request() argument
9776 mgmt_pin_code_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 status) mgmt_pin_code_reply_complete() argument
9789 mgmt_pin_code_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 status) mgmt_pin_code_neg_reply_complete() argument
9802 mgmt_user_confirm_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u32 value,u8 confirm_hint) mgmt_user_confirm_request() argument
9819 mgmt_user_passkey_request(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type) mgmt_user_passkey_request() argument
9833 user_pairing_resp_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status,u8 opcode) user_pairing_resp_complete() argument
9849 mgmt_user_confirm_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_confirm_reply_complete() argument
9856 mgmt_user_confirm_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_confirm_neg_reply_complete() argument
9864 mgmt_user_passkey_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_passkey_reply_complete() argument
9871 mgmt_user_passkey_neg_reply_complete(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 status) mgmt_user_passkey_neg_reply_complete() argument
9879 mgmt_user_passkey_notify(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u32 passkey,u8 entered) mgmt_user_passkey_notify() argument
10128 mgmt_adv_monitor_device_lost(struct hci_dev * hdev,u16 handle,bdaddr_t * bdaddr,u8 addr_type) mgmt_adv_monitor_device_lost() argument
10171 mgmt_adv_monitor_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,bool report_device,struct sk_buff * skb,struct sock * skip_sk) mgmt_adv_monitor_device_found() argument
10234 mesh_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 addr_type,s8 rssi,u32 flags,u8 * eir,u16 eir_len,u8 * scan_rsp,u8 scan_rsp_len,u64 instant) mesh_device_found() argument
10300 mgmt_device_found(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,u8 * dev_class,s8 rssi,u32 flags,u8 * eir,u16 eir_len,u8 * scan_rsp,u8 scan_rsp_len,u64 instant) mgmt_device_found() argument
10392 mgmt_remote_name(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 link_type,u8 addr_type,s8 rssi,u8 * name,u8 name_len) mgmt_remote_name() argument
10440 mgmt_resuming(struct hci_dev * hdev,u8 reason,bdaddr_t * bdaddr,u8 addr_type) mgmt_resuming() argument
[all...]
H A Dhci_request.c362 static void del_from_accept_list(struct hci_request *req, bdaddr_t *bdaddr, in del_from_accept_list() argument
368 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
370 bt_dev_dbg(req->hdev, "Remove %pMR (0x%x) from accept list", &cp.bdaddr, in del_from_accept_list()
377 irk = hci_find_irk_by_addr(req->hdev, bdaddr, bdaddr_type); in del_from_accept_list()
382 bacpy(&cp.bdaddr, bdaddr); in del_from_accept_list()
421 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
423 bt_dev_dbg(hdev, "Add %pMR (0x%x) to accept list", &cp.bdaddr, in add_to_accept_list()
436 bacpy(&cp.bdaddr, &params->addr); in add_to_accept_list()
477 &b->bdaddr, in update_accept_list()
480 &b->bdaddr, in update_accept_list()
[all …]
H 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);
H A Dhci_sync.c1127 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_update_random_address_sync()
1146 !bacmp(&hdev->bdaddr, BDADDR_ANY) || in hci_update_random_address_sync()
1221 bacpy(&cp.bdaddr, random_addr); in hci_set_adv_set_random_addr_sync()
2288 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_resolve_list_sync()
2297 entry = hci_bdaddr_list_lookup_with_irk(&hdev->le_resolv_list, bdaddr, in hci_le_del_resolve_list_sync()
2303 bacpy(&cp.bdaddr, bdaddr); in hci_le_del_resolve_list_sync()
2310 bdaddr_t *bdaddr, u8 bdaddr_type) in hci_le_del_accept_list_sync()
2316 if (!hci_bdaddr_list_lookup(&hdev->le_accept_list, bdaddr, bdaddr_type)) in hci_le_del_accept_list_sync()
2320 bacpy(&cp.bdaddr, bdadd in hci_le_del_accept_list_sync()
2287 hci_le_del_resolve_list_sync(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type) hci_le_del_resolve_list_sync() argument
2309 hci_le_del_accept_list_sync(struct hci_dev * hdev,bdaddr_t * bdaddr,u8 bdaddr_type) hci_le_del_accept_list_sync() argument
3742 hci_set_event_filter_sync(struct hci_dev * hdev,u8 flt_type,u8 cond_type,bdaddr_t * bdaddr,u8 auto_accept) hci_set_event_filter_sync() argument
[all...]
H A Dhci_debugfs.c131 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show()
150 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show()
206 &data->bdaddr, data->bdaddr_type, data->present, in remote_oob_show()
372 &data->bdaddr, in inquiry_cache_show()
394 seq_printf(f, "%pMR %u %*phN %u\n", &key->bdaddr, key->type, in link_keys_show()
798 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show()
813 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show()
829 &irk->bdaddr, irk->addr_type, in identity_resolving_keys_show()
847 &ltk->bdaddr, ltk->bdaddr_type, ltk->authenticated, in long_term_keys_show()
1214 if (bacmp(&hdev->bdaddr, BDADDR_ANY)) in hci_debugfs_create_le()
/openbmc/linux/drivers/bluetooth/
H A Dbtbcm.c44 bdaddr_t efi_bdaddr, bdaddr; in btbcm_set_bdaddr_from_efi() local
60 baswap(&bdaddr, &efi_bdaddr); in btbcm_set_bdaddr_from_efi()
62 ret = btbcm_set_bdaddr(hdev, &bdaddr); in btbcm_set_bdaddr_from_efi()
66 bt_dev_info(hdev, "BCM: Using EFI device address (%pMR)", &bdaddr); in btbcm_set_bdaddr_from_efi()
123 if (!bacmp(&bda->bdaddr, BDADDR_BCM20702A0) || in btbcm_check_bdaddr()
124 !bacmp(&bda->bdaddr, BDADDR_BCM20702A1) || in btbcm_check_bdaddr()
125 !bacmp(&bda->bdaddr, BDADDR_BCM2076B1) || in btbcm_check_bdaddr()
126 !bacmp(&bda->bdaddr, BDADDR_BCM4324B3) || in btbcm_check_bdaddr()
127 !bacmp(&bda->bdaddr, BDADDR_BCM4330B1) || in btbcm_check_bdaddr()
128 !bacmp(&bda->bdaddr, BDADDR_BCM4334B0) || in btbcm_check_bdaddr()
[all …]
H A Dhci_ll.c70 bdaddr_t bdaddr; member
590 static int ll_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in ll_set_bdaddr() argument
599 baswap(&bdaddr_swapped, bdaddr); in ll_set_bdaddr()
648 if (!bacmp(&lldev->bdaddr, BDADDR_NONE)) { in ll_setup()
653 } else if (bacmp(&lldev->bdaddr, BDADDR_ANY)) { in ll_setup()
654 err = ll_set_bdaddr(hu->hdev, &lldev->bdaddr); 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()
[all …]
H A Dbtqca.h97 bdaddr_t bdaddr; member
161 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr);
167 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
171 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() argument
191 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() argument
H 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
H 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()
H A Dvirtio_bt.c131 const bdaddr_t *bdaddr) in virtbt_set_bdaddr_zephyr() argument
136 skb = __hci_cmd_sync(hdev, 0xfc06, 6, bdaddr, HCI_INIT_TIMEOUT); in virtbt_set_bdaddr_zephyr()
157 static int virtbt_set_bdaddr_intel(struct hci_dev *hdev, const bdaddr_t *bdaddr) in virtbt_set_bdaddr_intel() argument
162 skb = __hci_cmd_sync(hdev, 0xfc31, 6, bdaddr, HCI_INIT_TIMEOUT); in virtbt_set_bdaddr_intel()
H A Dbtqca.c415 memcpy(&config->bdaddr, tlv_nvm->data, sizeof(bdaddr_t)); in qca_tlv_check_data()
669 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() argument
678 memcpy(cmd + 3, bdaddr, sizeof(bdaddr_t)); in qca_set_bdaddr_rome()
717 if (!bacmp(&bda->bdaddr, &config->bdaddr)) in qca_check_bdaddr()
941 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() argument
947 baswap(&bdaddr_swapped, bdaddr); in qca_set_bdaddr()
H A Dbtmtk.h149 int btmtk_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
166 const bdaddr_t *bdaddr) in btmtk_set_bdaddr() argument
H A Dbtqcomsmd.c125 static int btqcomsmd_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btqcomsmd_set_bdaddr() argument
129 ret = qca_set_bdaddr_rome(hdev, bdaddr); in btqcomsmd_set_bdaddr()
/openbmc/linux/net/bluetooth/cmtp/
H 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()
H A Dcmtp.h45 bdaddr_t bdaddr; member
50 bdaddr_t bdaddr; member
75 bdaddr_t bdaddr; member
/openbmc/linux/net/bluetooth/hidp/
H A Dhidp.h106 bdaddr_t bdaddr; member
111 bdaddr_t bdaddr; member
149 bdaddr_t bdaddr; member
H A Dcore.c76 bacpy(&ci->bdaddr, &session->bdaddr); in hidp_copy_session()
910 static int hidp_session_new(struct hidp_session **out, const bdaddr_t *bdaddr, in hidp_session_new() argument
934 bacpy(&session->bdaddr, bdaddr); in hidp_session_new()
1005 static struct hidp_session *__hidp_session_find(const bdaddr_t *bdaddr) in __hidp_session_find() argument
1010 if (!bacmp(bdaddr, &session->bdaddr)) in __hidp_session_find()
1022 static struct hidp_session *hidp_session_find(const bdaddr_t *bdaddr) in hidp_session_find() argument
1028 session = __hidp_session_find(bdaddr); in hidp_session_find()
1109 s = __hidp_session_find(&session->bdaddr); in hidp_session_probe()
1399 session = hidp_session_find(&req->bdaddr); in hidp_connection_del()
1450 session = hidp_session_find(&ci->bdaddr); in hidp_get_conninfo()

12