/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hci/ |
D | hci_vendor.c | 13 uint8_t hci_vendor_read_static_addr(struct bt_hci_vs_static_addr addrs[], in hci_vendor_read_static_addr() argument 22 sys_put_le32(NRF_FICR->DEVICEADDR[0], &addrs[0].bdaddr.val[0]); in hci_vendor_read_static_addr() 23 sys_put_le16(NRF_FICR->DEVICEADDR[1], &addrs[0].bdaddr.val[4]); in hci_vendor_read_static_addr() 29 BT_ADDR_SET_STATIC(&addrs[0].bdaddr); in hci_vendor_read_static_addr() 39 sys_put_le32(NRF_FICR->IR[0], &addrs[0].ir[0]); in hci_vendor_read_static_addr() 40 sys_put_le32(NRF_FICR->IR[1], &addrs[0].ir[4]); in hci_vendor_read_static_addr() 41 sys_put_le32(NRF_FICR->IR[2], &addrs[0].ir[8]); in hci_vendor_read_static_addr() 42 sys_put_le32(NRF_FICR->IR[3], &addrs[0].ir[12]); in hci_vendor_read_static_addr() 45 (void)memset(addrs[0].ir, 0x00, sizeof(addrs[0].ir)); in hci_vendor_read_static_addr()
|
/Zephyr-latest/tests/net/neighbor/src/ |
D | main.c | 62 struct net_eth_addr *addrs[] = { in ZTEST() local 70 struct net_nbr *nbrs[sizeof(addrs) - 1] = { 0 }; in ZTEST() 80 zassert_true(CONFIG_NET_IPV6_MAX_NEIGHBORS == (ARRAY_SIZE(addrs) - 2), in ZTEST() 96 eth_addr = addrs[i]; in ZTEST() 114 lladdr.addr = addrs[0]->addr; in ZTEST() 119 eth_addr = addrs[i]; in ZTEST() 142 for (i = 0; i < ARRAY_SIZE(addrs); i++) { in ZTEST() 156 eth_addr = addrs[i]; in ZTEST() 168 for (i = 0; i < ARRAY_SIZE(addrs) - 2; i++) { in ZTEST() 169 lladdr.addr = addrs[i]->addr; in ZTEST() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | dfu_blob_common.c | 12 uint16_t addrs[6]; member 18 for (int i = 0; i < ARRAY_SIZE(lost_targets.addrs); i++) { in lost_target_find_and_remove() 19 if (addr == lost_targets.addrs[i]) { in lost_target_find_and_remove() 20 lost_targets.addrs[i] = 0; in lost_target_find_and_remove() 32 if (lost_targets.rem_cnt >= ARRAY_SIZE(lost_targets.addrs)) { in lost_target_add() 37 lost_targets.addrs[lost_targets.rem_cnt] = addr; in lost_target_add()
|
/Zephyr-latest/scripts/profiling/ |
D | stackcollapse.py | 42 addrs = struct.unpack_from(f">{count}Q", buf, 8) 44 func_trace = reversed(list(map(lambda a: addr_to_sym(a, elf), addrs)))
|
/Zephyr-latest/tests/net/ip-addr/src/ |
D | main.c | 706 } addrs[] = { in ZTEST() local 729 for (int i = 0; i < ARRAY_SIZE(addrs); i++) { in ZTEST() 730 ret = net_ipv6_is_private_addr(&addrs[i].addr); in ZTEST() 731 zassert_equal(ret, addrs[i].is_private, "Address %s check failed", in ZTEST() 732 net_sprint_ipv6_addr(&addrs[i].addr)); in ZTEST() 743 } addrs[] = { in ZTEST() local 790 for (int i = 0; i < ARRAY_SIZE(addrs); i++) { in ZTEST() 791 ret = net_ipv4_is_private_addr(&addrs[i].addr); in ZTEST() 792 zassert_equal(ret, addrs[i].is_private, "Address %s check failed", in ZTEST() 793 net_sprint_ipv4_addr(&addrs[i].addr)); in ZTEST()
|
/Zephyr-latest/drivers/counter/ |
D | counter_cmos.c | 59 const uint8_t addrs[] = { 0, 2, 4, 7, 8, 9, 10, 11 }; variable 97 *p++ = read_register(addrs[i]); in read_state()
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci_internal.h | 49 uint8_t hci_vendor_read_static_addr(struct bt_hci_vs_static_addr addrs[],
|
D | hci.c | 5038 uint8_t __weak hci_vendor_read_static_addr(struct bt_hci_vs_static_addr addrs[], argument 5041 ARG_UNUSED(addrs);
|
/Zephyr-latest/drivers/wifi/esp_at/ |
D | esp.c | 491 struct sockaddr_in *addrs = data->dns_addresses; in esp_dns_work() local 497 if (!addrs[i].sin_addr.s_addr) { in esp_dns_work() 500 dns_servers[i] = (struct sockaddr *) &addrs[i]; in esp_dns_work() 519 struct sockaddr_in *addrs = dev->dns_addresses; in MODEM_CMD_DEFINE() local 528 addrs[i].sin_addr.s_addr = 0; in MODEM_CMD_DEFINE() 535 err = net_addr_pton(AF_INET, servers[i], &addrs[i].sin_addr); in MODEM_CMD_DEFINE() 539 addrs[i].sin_addr.s_addr = 0; in MODEM_CMD_DEFINE() 543 addrs[i].sin_family = AF_INET; in MODEM_CMD_DEFINE() 544 addrs[i].sin_port = htons(53); in MODEM_CMD_DEFINE()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | id.c | 1249 void bt_id_get(bt_addr_le_t *addrs, size_t *count) in bt_id_get() argument 1251 if (addrs) { in bt_id_get() 1254 memcpy(addrs, bt_dev.id_addr, to_copy * sizeof(bt_addr_le_t)); in bt_id_get() 1599 static uint8_t vs_read_static_addr(struct bt_hci_vs_static_addr addrs[], uint8_t size) in vs_read_static_addr() argument 1638 memcpy(&addrs[i], &rp->a[i], sizeof(struct bt_hci_vs_static_addr)); in vs_read_static_addr() 1658 struct bt_hci_vs_static_addr addrs[CONFIG_BT_ID_MAX]; in bt_setup_random_id_addr() local 1660 bt_dev.id_count = vs_read_static_addr(addrs, CONFIG_BT_ID_MAX); in bt_setup_random_id_addr() 1670 if (!bt_smp_irk_get(addrs[i].ir, ir_irk)) { in bt_setup_random_id_addr() 1686 bt_addr_copy(&addr.a, &addrs[i].bdaddr); in bt_setup_random_id_addr()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | bluetooth.h | 334 void bt_id_get(bt_addr_le_t *addrs, size_t *count);
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | bt.c | 1555 bt_addr_le_t addrs[CONFIG_BT_ID_MAX]; in cmd_id_show() local 1558 bt_id_get(addrs, &count); in cmd_id_show() 1563 bt_addr_le_to_str(&addrs[i], addr_str, sizeof(addr_str)); in cmd_id_show() 1573 bt_addr_le_t addrs[CONFIG_BT_ID_MAX]; in cmd_id_select() local 1579 bt_id_get(addrs, &count); in cmd_id_select() 1585 bt_addr_le_to_str(&addrs[id], addr_str, sizeof(addr_str)); in cmd_id_select()
|