/Zephyr-Core-3.6.0/subsys/bluetooth/controller/hci/nordic/ |
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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/tests/bluetooth/df/common/src/ |
D | hci_vendor_stub.c | 16 uint8_t hci_vendor_read_static_addr(struct bt_hci_vs_static_addr addrs[], uint8_t size) in hci_vendor_read_static_addr() argument 22 (void)memset(addrs[0].ir, 0x01, sizeof(addrs[0].ir)); in hci_vendor_read_static_addr()
|
/Zephyr-Core-3.6.0/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-Core-3.6.0/include/zephyr/drivers/bluetooth/ |
D | hci_driver.h | 126 uint8_t bt_read_static_addr(struct bt_hci_vs_static_addr addrs[], uint8_t size);
|
/Zephyr-Core-3.6.0/drivers/wifi/esp_at/ |
D | esp.c | 345 struct sockaddr_in *addrs = data->dns_addresses; in esp_dns_work() local 351 if (!addrs[i].sin_addr.s_addr) { in esp_dns_work() 354 dns_servers[i] = (struct sockaddr *) &addrs[i]; in esp_dns_work() 373 struct sockaddr_in *addrs = dev->dns_addresses; in MODEM_CMD_DEFINE() local 382 addrs[i].sin_addr.s_addr = 0; in MODEM_CMD_DEFINE() 389 err = net_addr_pton(AF_INET, servers[i], &addrs[i].sin_addr); in MODEM_CMD_DEFINE() 393 addrs[i].sin_addr.s_addr = 0; in MODEM_CMD_DEFINE() 397 addrs[i].sin_family = AF_INET; in MODEM_CMD_DEFINE() 398 addrs[i].sin_port = htons(53); in MODEM_CMD_DEFINE()
|
/Zephyr-Core-3.6.0/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 | 4764 uint8_t bt_read_static_addr(struct bt_hci_vs_static_addr addrs[], uint8_t size) argument 4766 return hci_vendor_read_static_addr(addrs, size); 4829 uint8_t __weak hci_vendor_read_static_addr(struct bt_hci_vs_static_addr addrs[], argument 4832 ARG_UNUSED(addrs);
|
/Zephyr-Core-3.6.0/subsys/bluetooth/host/ |
D | id.c | 1194 void bt_id_get(bt_addr_le_t *addrs, size_t *count) in bt_id_get() argument 1196 if (addrs) { in bt_id_get() 1199 memcpy(addrs, bt_dev.id_addr, to_copy * sizeof(bt_addr_le_t)); in bt_id_get() 1545 uint8_t bt_read_static_addr(struct bt_hci_vs_static_addr addrs[], uint8_t size) in bt_read_static_addr() argument 1583 memcpy(&addrs[i], &rp->a[i], sizeof(struct bt_hci_vs_static_addr)); in bt_read_static_addr() 1602 struct bt_hci_vs_static_addr addrs[CONFIG_BT_ID_MAX]; in bt_setup_random_id_addr() local 1604 bt_dev.id_count = bt_read_static_addr(addrs, CONFIG_BT_ID_MAX); in bt_setup_random_id_addr() 1615 if (!bt_smp_irk_get(addrs[i].ir, ir_irk)) { in bt_setup_random_id_addr() 1632 bt_addr_copy(&addr.a, &addrs[i].bdaddr); in bt_setup_random_id_addr()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/shell/ |
D | bt.c | 1322 bt_addr_le_t addrs[CONFIG_BT_ID_MAX]; in cmd_id_show() local 1325 bt_id_get(addrs, &count); in cmd_id_show() 1330 bt_addr_le_to_str(&addrs[i], addr_str, sizeof(addr_str)); in cmd_id_show() 1341 bt_addr_le_t addrs[CONFIG_BT_ID_MAX]; in cmd_id_select() local 1347 bt_id_get(addrs, &count); in cmd_id_select() 1353 bt_addr_le_to_str(&addrs[id], addr_str, sizeof(addr_str)); in cmd_id_select()
|
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/ |
D | bluetooth.h | 317 void bt_id_get(bt_addr_le_t *addrs, size_t *count);
|