Lines Matching refs:id_addr

739 		     bt_dev.id_addr[adv->id].type == BT_ADDR_LE_RANDOM) ||  in bt_id_scan_random_addr_check()
784 bt_dev.id_addr[param->id].type == BT_ADDR_LE_RANDOM) || in bt_id_adv_random_addr_check()
790 bt_dev.id_addr[BT_ID_DEFAULT].type == BT_ADDR_LE_RANDOM) { in bt_id_adv_random_addr_check()
802 } else if (bt_dev.id_addr[param->id].type == in bt_id_adv_random_addr_check()
840 bt_addr_le_copy(&cp.id_addr, addr); in le_set_privacy_mode()
1254 memcpy(addrs, bt_dev.id_addr, to_copy * sizeof(bt_addr_le_t)); in bt_id_get()
1266 if (bt_addr_le_eq(addr, &bt_dev.id_addr[id])) { in id_find()
1277 bt_addr_le_copy(&bt_dev.id_addr[id], addr); in id_create()
1291 bt_addr_le_copy(&bt_dev.id_addr[id], &new_addr); in id_create()
1294 bt_addr_le_copy(addr, &bt_dev.id_addr[id]); in id_create()
1353 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], addr); in bt_id_create()
1362 if (bt_dev.id_count == ARRAY_SIZE(bt_dev.id_addr)) { in bt_id_create()
1427 !bt_addr_le_eq(&bt_dev.id_addr[id], BT_ADDR_LE_ANY)) { in bt_id_reset()
1448 if (bt_addr_le_eq(&bt_dev.id_addr[id], BT_ADDR_LE_ANY)) { in bt_id_delete()
1476 bt_addr_le_copy(&bt_dev.id_addr[id], BT_ADDR_LE_ANY); in bt_id_delete()
1747 const bt_addr_le_t *addr = &bt_dev.id_addr[BT_ID_DEFAULT]; in bt_id_set_create_conn_own_addr()
1836 if (bt_dev.id_addr[BT_ID_DEFAULT].type == BT_ADDR_LE_RANDOM) { in bt_id_set_scan_own_addr()
1842 err = set_random_address(&bt_dev.id_addr[BT_ID_DEFAULT].a); in bt_id_set_scan_own_addr()
1848 } else if (bt_dev.id_addr[BT_ID_DEFAULT].type == BT_ADDR_LE_PUBLIC) { in bt_id_set_scan_own_addr()
1861 const bt_addr_le_t *id_addr; in bt_id_set_adv_own_addr() local
1869 id_addr = &bt_dev.id_addr[adv->id]; in bt_id_set_adv_own_addr()
1913 if (id_addr->type == BT_ADDR_LE_RANDOM) { in bt_id_set_adv_own_addr()
1914 err = bt_id_set_adv_random_addr(adv, &id_addr->a); in bt_id_set_adv_own_addr()
1920 } else if (id_addr->type == BT_ADDR_LE_PUBLIC) { in bt_id_set_adv_own_addr()
1930 if (id_addr->type == BT_ADDR_LE_RANDOM) { in bt_id_set_adv_own_addr()
1931 err = bt_id_set_adv_random_addr(adv, &id_addr->a); in bt_id_set_adv_own_addr()
1937 } else if (id_addr->type == BT_ADDR_LE_PUBLIC) { in bt_id_set_adv_own_addr()
1989 bt_addr_copy(&oob->addr, &bt_dev.id_addr[0].a); in bt_br_oob_get_local()
2020 bt_dev.id_addr[id].type == BT_ADDR_LE_RANDOM)) { in bt_le_oob_get_local()
2039 (bt_dev.id_addr[id].type == BT_ADDR_LE_RANDOM)) { in bt_le_oob_get_local()
2060 bt_addr_le_copy(&oob->addr, &bt_dev.id_addr[id]); in bt_le_oob_get_local()
2118 bt_addr_le_copy(&oob->addr, &bt_dev.id_addr[adv->id]); in bt_le_ext_adv_oob_get_local()
2214 err = set_random_address(&bt_dev.id_addr[0].a); in bt_id_init()