Lines Matching refs:bda
84 ** Description This function returns the FIRST acl_db entry for the passed BDA.
86 ** Returns Returns pointer to the ACL DB for the requested BDA if found.
90 tACL_CONN *btm_bda_to_acl (BD_ADDR bda)
94 if (bda)
98 if ((p->in_use) && (!memcmp (p->remote_addr, bda, BD_ADDR_LEN)))
145 void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn,
156 p = btm_bda_to_acl(bda);
165 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]);
199 memcpy (p->remote_addr, bda, BD_ADDR_LEN);
282 void btm_acl_report_role_change (UINT8 hci_status, BD_ADDR bda)
287 && (bda && (0 == memcmp(btm_cb.devcb.switch_role_ref_data.remote_bd_addr, bda, BD_ADDR_LEN))))
308 void btm_acl_removed (BD_ADDR bda)
319 p = btm_bda_to_acl(bda);
325 btm_acl_report_role_change(HCI_ERR_NO_CONNECTION, bda);
337 evt_data.discn.p_bda = bda;
345 (*btm_cb.p_acl_changed_cb) (bda, NULL, NULL, NULL, FALSE);
357 p_dev_rec = btm_find_dev(bda);
558 BTM_TRACE_API6 ("BTM_SwitchRole BDA: %02x-%02x-%02x-%02x-%02x-%02x",
3224 BD_ADDR bda;
3233 STREAM_TO_BDADDR (bda, pp);
3235 p_dev_rec = btm_find_or_alloc_dev (bda);
3284 void btm_acl_paging (BT_HDR *p, BD_ADDR bda)
3288 BTM_TRACE_DEBUG4 ("btm_acl_paging discing:%d, paging:%d BDA: %06x%06x",
3290 (bda[0]<<16) + (bda[1]<<8) + bda[2], (bda[3]<<16) + (bda[4] << 8) + bda[5]);
3298 if (!BTM_ACL_IS_CONNECTED (bda))
3306 memcmp (bda, btm_cb.connecting_bda, BD_ADDR_LEN) != 0)
3312 p_dev_rec = btm_find_or_alloc_dev (bda);
3341 BOOLEAN btm_acl_notif_conn_collision (BD_ADDR bda)
3350 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]);
3353 evt_data.conn.p_bda = bda;