/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | settings_uid.c | 47 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in get_core_settings_handle() 61 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in settings_uid_init() 116 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in settings_uid_deinit() 130 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in settings_uid_erase() 193 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in settings_index_get() 204 if (i == ARRAY_SIZE(user_ids)) { in settings_index_get() 228 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in settings_open() 290 if (index >= ARRAY_SIZE(user_ids)) { in bt_mesh_provisioner_open_settings_with_index() 311 if (idx >= ARRAY_SIZE(user_ids)) { in bt_mesh_provisioner_open_settings_with_uid() 312 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in bt_mesh_provisioner_open_settings_with_uid() [all …]
|
D | test.c | 63 for (i = 0; i < ARRAY_SIZE(bt_mesh.app_keys); i++) { in bt_mesh_device_auto_enter_network() 69 if (i == ARRAY_SIZE(bt_mesh.app_keys)) { in bt_mesh_device_auto_enter_network() 100 for (k = 0; k < ARRAY_SIZE(model->keys); k++) { in bt_mesh_device_auto_enter_network() 106 for (k = 0; k < ARRAY_SIZE(model->groups); k++) { in bt_mesh_device_auto_enter_network() 115 for (k = 0; k < ARRAY_SIZE(model->keys); k++) { in bt_mesh_device_auto_enter_network() 121 for (k = 0; k < ARRAY_SIZE(model->groups); k++) { in bt_mesh_device_auto_enter_network()
|
D | provisioner_main.c | 160 for (i = 0; i < ARRAY_SIZE(bt_mesh.p_sub); i++) { in bt_mesh_provisioner_main_reset() 220 for (i = 0; i < ARRAY_SIZE(mesh_nodes); i++) { in bt_mesh_provisioner_check_is_addr_dup() 263 for (i = 0; i < ARRAY_SIZE(mesh_nodes); i++) { in provisioner_store_node() 271 for (i = 0; i < ARRAY_SIZE(mesh_nodes); i++) { in provisioner_store_node() 404 for (i = 0; i < ARRAY_SIZE(mesh_nodes); i++) { in provisioner_find_node_with_uuid() 425 for (i = 0; i < ARRAY_SIZE(mesh_nodes); i++) { in bt_mesh_provisioner_remove_node() 457 for (i = 0; i < ARRAY_SIZE(mesh_nodes); i++) { in provisioner_find_node_with_addr() 533 for (i = 0; i < ARRAY_SIZE(mesh_nodes); i++) { in bt_mesh_provisioner_delete_node_with_dev_addr() 555 for (i = 0; i < ARRAY_SIZE(mesh_nodes); i++) { in provisioner_find_node_with_name() 573 if (index >= ARRAY_SIZE(mesh_nodes)) { in bt_mesh_provisioner_set_node_name() [all …]
|
D | proxy_server.c | 133 for (i = 0; i < ARRAY_SIZE(clients); i++) { in find_client() 222 for (i = 0; i < ARRAY_SIZE(client->filter); i++) { in filter_add() 228 for (i = 0; i < ARRAY_SIZE(client->filter); i++) { in filter_add() 249 for (i = 0; i < ARRAY_SIZE(client->filter); i++) { in filter_remove() 284 for (filter_size = 0U, i = 0; i < ARRAY_SIZE(client->filter); i++) { in send_filter_status() 390 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in proxy_send_beacons() 405 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_proxy_server_beacon_send() 414 for (i = 0; i < ARRAY_SIZE(clients); i++) { in bt_mesh_proxy_server_beacon_send() 446 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_proxy_identity_enable() 606 for (client = NULL, i = 0; i < ARRAY_SIZE(clients); i++) { in proxy_connected() [all …]
|
D | fast_prov.c | 44 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_fast_prov_subnet_get() 51 for (i = 0; i < ARRAY_SIZE(bt_mesh.p_sub); i++) { in bt_mesh_fast_prov_subnet_get() 66 for (i = 0; i < ARRAY_SIZE(bt_mesh.app_keys); i++) { in bt_mesh_fast_prov_app_key_find() 74 for (i = 0; i < ARRAY_SIZE(bt_mesh.p_app_keys); i++) { in bt_mesh_fast_prov_app_key_find()
|
D | local_operation.c | 65 for (i = 0; i < ARRAY_SIZE(model->groups); i++) { in bt_mesh_model_subscribe_group_addr() 183 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_node_local_net_key_add() 195 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_node_local_net_key_add() 259 for (int i = 0; i < ARRAY_SIZE(bt_mesh.app_keys); i++) { in bt_mesh_node_local_app_key_add() 320 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in bt_mesh_node_bind_app_key_to_model() 327 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in bt_mesh_node_bind_app_key_to_model()
|
D | access.c | 344 for (i = 0; i < ARRAY_SIZE(mod->keys); i++) { in mod_init() 405 for (i = 0; i < ARRAY_SIZE(mod->keys); i++) { in mod_deinit() 472 for (i = 0; i < ARRAY_SIZE(mod->groups); i++) { in bt_mesh_model_find_group() 542 for (i = 0; i < ARRAY_SIZE(mod->keys); i++) { in model_has_key() 997 size = ARRAY_SIZE(bt_mesh.sub); in bt_mesh_rx_netkey_size() 1003 size = ARRAY_SIZE(bt_mesh.p_sub); in bt_mesh_rx_netkey_size() 1008 size = ARRAY_SIZE(bt_mesh.sub); in bt_mesh_rx_netkey_size() 1010 size += ARRAY_SIZE(bt_mesh.p_sub); in bt_mesh_rx_netkey_size() 1034 if (index < ARRAY_SIZE(bt_mesh.sub)) { in bt_mesh_rx_netkey_get() 1037 sub = bt_mesh.p_sub[index - ARRAY_SIZE(bt_mesh.sub)]; in bt_mesh_rx_netkey_get() [all …]
|
D | health_srv.c | 45 for (i = 0U; i < ARRAY_SIZE(srv->test.curr_faults); i++) { in health_get_curr_fault_count() 62 array_size = current ? ARRAY_SIZE(srv->test.curr_faults) : ARRAY_SIZE(srv->test.reg_faults); in health_get_fault_value() 97 msg = bt_mesh_alloc_buf(4 + ARRAY_SIZE(srv->test.reg_faults) + 4); in health_send_fault_status() 166 memset(srv->test.reg_faults, HEALTH_NO_FAULT, ARRAY_SIZE(srv->test.reg_faults)); in health_fault_clear() 462 memset(srv->test.curr_faults, HEALTH_NO_FAULT, ARRAY_SIZE(srv->test.curr_faults)); in health_srv_init() 463 memset(srv->test.reg_faults, HEALTH_NO_FAULT, ARRAY_SIZE(srv->test.reg_faults)); in health_srv_init()
|
D | friend.c | 106 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_find() 188 for (i = 0; i < ARRAY_SIZE(frnd->seg); i++) { in friend_clear() 210 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_clear_net_idx() 229 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_sec_update() 316 for (i = 0; i < ARRAY_SIZE(frnd->sub_list); i++) { in friend_sub_add() 330 for (i = 0; i < ARRAY_SIZE(frnd->sub_list); i++) { in friend_sub_rem() 784 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in find_clear() 920 off->sub_list_size = ARRAY_SIZE(frnd->sub_list), in enqueue_offer() 1029 for (i = 0; i < ARRAY_SIZE(bt_mesh.frnd); i++) { in bt_mesh_friend_req() 1106 for (i = 0; i < ARRAY_SIZE(frnd->seg); i++) { in get_seg() [all …]
|
D | proxy_client.c | 59 for (i = 0; i < ARRAY_SIZE(servers); i++) { in find_server() 500 for (i = 0; i < ARRAY_SIZE(servers); i++) { in bt_mesh_proxy_client_prov_enable() 515 for (i = 0; i < ARRAY_SIZE(servers); i++) { in bt_mesh_proxy_client_prov_disable() 580 for (i = 0; i < ARRAY_SIZE(servers); i++) { in bt_mesh_proxy_client_gatt_enable() 609 for (i = 0; i < ARRAY_SIZE(servers); i++) { in bt_mesh_proxy_client_gatt_disable() 751 for (i = 0; i < ARRAY_SIZE(servers); i++) { in bt_mesh_proxy_client_relay() 797 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_proxy_client_beacon_send() 807 for (i = 0; i < ARRAY_SIZE(bt_mesh.p_sub); i++) { in bt_mesh_proxy_client_beacon_send() 818 for (i = 0; i < ARRAY_SIZE(servers); i++) { in bt_mesh_proxy_client_beacon_send() 972 for (i = 0; i < ARRAY_SIZE(servers); i++) { in bt_mesh_proxy_client_init() [all …]
|
D | lpn.c | 113 for (i = 0; i < ARRAY_SIZE(bt_mesh.lpn.added); i++) { in group_zero() 126 for (i = 0; i < ARRAY_SIZE(bt_mesh.lpn.added); i++) { in group_set() 139 for (i = 0; i < ARRAY_SIZE(bt_mesh.lpn.added); i++) { in group_clear() 607 for (i = 0; i < ARRAY_SIZE(lpn->groups); i++) { in lpn_group_add() 632 for (i = 0; i < ARRAY_SIZE(lpn->groups); i++) { in lpn_group_del() 650 for (i = 0; i < ARRAY_SIZE(bt_mesh.lpn.added); i++) { in group_popcount() 684 for (i = 0U, g = 0U; i < ARRAY_SIZE(lpn->groups); i++) { in sub_update() 707 if (g == ARRAY_SIZE(req.addr_list)) { in sub_update() 921 for (i = 0; i < ARRAY_SIZE(lpn->groups); i++) { in bt_mesh_lpn_friend_sub_cfm()
|
D | net.c | 98 for (i = 0; i < ARRAY_SIZE(dup_cache); i++) { in check_dup() 105 dup_cache_next %= ARRAY_SIZE(dup_cache); in check_dup() 115 for (i = 0; i < ARRAY_SIZE(msg_cache); i++) { in msg_cache_match() 130 msg_cache_next %= ARRAY_SIZE(msg_cache); in msg_cache_add() 138 for (i = 0; i < ARRAY_SIZE(msg_cache); i++) { in bt_mesh_msg_cache_clear() 155 for (i = 0; i < ARRAY_SIZE(bt_mesh.sub); i++) { in bt_mesh_subnet_get() 262 for (i = 0; i < ARRAY_SIZE(friend_cred); i++) { in friend_cred_refresh() 279 for (i = 0; i < ARRAY_SIZE(friend_cred); i++) { in friend_cred_update() 304 for (cred = NULL, i = 0; i < ARRAY_SIZE(friend_cred); i++) { in friend_cred_create() 353 for (i = 0; i < ARRAY_SIZE(friend_cred); i++) { in friend_cred_del() [all …]
|
D | transport.c | 247 for (i = 0; i < ARRAY_SIZE(seg_tx); i++) { in bt_mesh_tx_in_progress() 450 for (tx = NULL, i = 0; i < ARRAY_SIZE(seg_tx); i++) { in send_seg() 585 for (i = 0; i < ARRAY_SIZE(bt_mesh.app_keys); i++) { in bt_mesh_app_key_find() 692 for (i = 0; i < ARRAY_SIZE(bt_mesh.rpl); i++) { in bt_mesh_rpl_check() 877 for (i = 0; i < ARRAY_SIZE(seg_tx); i++) { in seg_tx_lookup() 1185 for (tx_seg = NULL, i = 0; i < ARRAY_SIZE(seg_tx); i++) { in ctl_send_seg() 1418 for (i = 0; i < ARRAY_SIZE(seg_rx); i++) { 1481 for (i = 0; i < ARRAY_SIZE(seg_rx); i++) { 1814 for (i = 0; i < ARRAY_SIZE(seg_rx); i++) { 1831 for (i = 0; i < ARRAY_SIZE(seg_tx); i++) { [all …]
|
D | cfg_srv.c | 188 for (i = 0; i < ARRAY_SIZE(bt_mesh.app_keys); i++) { in app_key_is_valid() 205 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_pub_app_key_bound() 300 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_bind() 307 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_bind() 332 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_unbind() 356 for (i = 0; i < ARRAY_SIZE(bt_mesh.app_keys); i++) { in bt_mesh_app_key_alloc() 645 for (i = 0U; i < ARRAY_SIZE(bt_mesh.app_keys); i++) { in app_key_get() 1135 if (index >= ARRAY_SIZE(labels)) { in get_label() 1161 for (i = 0; i < ARRAY_SIZE(labels); i++) { in va_find() 1237 for (i = 0, clear_count = 0; i < ARRAY_SIZE(mod->groups); i++) { in mod_sub_list_clear() [all …]
|
/hal_espressif-latest/components/esp_hw_support/port/esp32c6/ |
D | pmu_param.c | 21 #ifndef ARRAY_SIZE 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 98 assert(mode < ARRAY_SIZE(hp_power)); in pmu_hp_system_power_param_default() 154 assert(mode < ARRAY_SIZE(hp_clock)); in pmu_hp_system_clock_param_default() 198 assert(mode < ARRAY_SIZE(hp_digital)); in pmu_hp_system_digital_param_default() 273 assert(mode < ARRAY_SIZE(hp_analog)); in pmu_hp_system_analog_param_default() 364 assert(mode < ARRAY_SIZE(hp_retention)); in pmu_hp_system_retention_param_default() 405 assert(mode < ARRAY_SIZE(lp_power)); in pmu_lp_system_power_param_default() 445 assert(mode < ARRAY_SIZE(lp_analog)); in pmu_lp_system_analog_param_default()
|
/hal_espressif-latest/components/esp_hw_support/port/esp32h2/ |
D | pmu_param.c | 21 #ifndef ARRAY_SIZE 22 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 99 assert(mode < ARRAY_SIZE(hp_power)); in pmu_hp_system_power_param_default() 155 assert(mode < ARRAY_SIZE(hp_clock)); in pmu_hp_system_clock_param_default() 199 assert(mode < ARRAY_SIZE(hp_digital)); in pmu_hp_system_digital_param_default() 274 assert(mode < ARRAY_SIZE(hp_analog)); in pmu_hp_system_analog_param_default() 363 assert(mode < ARRAY_SIZE(hp_retention)); in pmu_hp_system_retention_param_default() 404 assert(mode < ARRAY_SIZE(lp_power)); in pmu_lp_system_power_param_default() 443 assert(mode < ARRAY_SIZE(lp_analog)); in pmu_lp_system_analog_param_default()
|
/hal_espressif-latest/components/bt/porting/include/os/ |
D | util.h | 41 #ifndef ARRAY_SIZE 42 #define ARRAY_SIZE(array) \ macro
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/ |
D | mesh_bearer_adapt.c | 181 for (j = i + 1; j < ARRAY_SIZE(bt_mesh_gattc_info); j++) { in ble_on_subscribe() 186 if (j == ARRAY_SIZE(bt_mesh_gattc_info)) { in ble_on_subscribe() 245 for (j = i + 1; j < ARRAY_SIZE(bt_mesh_gattc_info); j++) { in dsc_disced() 250 if (j == ARRAY_SIZE(bt_mesh_gattc_info)) { in dsc_disced() 252 for (j = 0; j < ARRAY_SIZE(bt_mesh_gattc_info); j++) { in dsc_disced() 257 if (j == ARRAY_SIZE(bt_mesh_gattc_info)) { in dsc_disced() 311 for (j = i + 1; j < ARRAY_SIZE(bt_mesh_gattc_info); j++) { in chr_disced() 316 if (j == ARRAY_SIZE(bt_mesh_gattc_info)) { in chr_disced() 317 for (j = 0; j < ARRAY_SIZE(bt_mesh_gattc_info); j++) { in chr_disced() 356 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in svc_disced() [all …]
|
/hal_espressif-latest/components/esp_hw_support/ |
D | sleep_system_peripheral.c | 45 …esp_err_t err = sleep_retention_entries_create(intr_matrix_regs_retention, ARRAY_SIZE(intr_matrix_… in sleep_sys_periph_intr_matrix_retention_init() 59 …esp_err_t err = sleep_retention_entries_create(hp_system_regs_retention, ARRAY_SIZE(hp_system_regs… in sleep_sys_periph_hp_system_retention_init() 75 …esp_err_t err = sleep_retention_entries_create(tee_apm_regs_retention, ARRAY_SIZE(tee_apm_regs_ret… in sleep_sys_periph_tee_apm_retention_init() 80 …err = sleep_retention_entries_create(regs_highpri_retention, ARRAY_SIZE(regs_highpri_retention), R… in sleep_sys_periph_tee_apm_retention_init() 98 …esp_err_t err = sleep_retention_entries_create(uart_regs_retention, ARRAY_SIZE(uart_regs_retention… in sleep_sys_periph_uart0_retention_init() 120 …esp_err_t err = sleep_retention_entries_create(tg_regs_retention, ARRAY_SIZE(tg_regs_retention), S… in sleep_sys_periph_tg0_retention_init() 146 …esp_err_t err = sleep_retention_entries_create(iomux_regs_retention, ARRAY_SIZE(iomux_regs_retenti… in sleep_sys_periph_iomux_retention_init() 178 …esp_err_t err = sleep_retention_entries_create(spimem_regs_retention, ARRAY_SIZE(spimem_regs_reten… in sleep_sys_periph_spimem_retention_init() 217 …esp_err_t err = sleep_retention_entries_create(systimer_regs_retention, ARRAY_SIZE(systimer_regs_r… in sleep_sys_periph_systimer_retention_init()
|
D | sleep_clock.c | 48 …esp_err_t err = sleep_retention_entries_create(pcr_regs_retention, ARRAY_SIZE(pcr_regs_retention),… in sleep_clock_system_retention_init() 81 …esp_err_t err = sleep_retention_entries_create(modem_regs_retention, ARRAY_SIZE(modem_regs_retenti… in sleep_clock_modem_retention_init() 84 …err = sleep_retention_entries_create(modem_retention_clock, ARRAY_SIZE(modem_retention_clock), REG… in sleep_clock_modem_retention_init()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_util.h | 60 #ifndef ARRAY_SIZE 61 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) macro 69 ((ptr) && ((ptr) >= &array[0] && (ptr) < &array[ARRAY_SIZE(array)]))
|
/hal_espressif-latest/components/esp_hw_support/port/esp32c6/private_include/ |
D | sleep_gdma_retention_context.inc | 76 [0] = {gdma_g0p0_regs_retention, ARRAY_SIZE(gdma_g0p0_regs_retention)}, 77 [1] = {gdma_g0p1_regs_retention, ARRAY_SIZE(gdma_g0p1_regs_retention)}, 78 [2] = {gdma_g0p2_regs_retention, ARRAY_SIZE(gdma_g0p2_regs_retention)}
|
/hal_espressif-latest/components/esp_hw_support/port/esp32h2/private_include/ |
D | sleep_gdma_retention_context.inc | 76 [0] = {gdma_g0p0_regs_retention, ARRAY_SIZE(gdma_g0p0_regs_retention)}, 77 [1] = {gdma_g0p1_regs_retention, ARRAY_SIZE(gdma_g0p1_regs_retention)}, 78 [2] = {gdma_g0p2_regs_retention, ARRAY_SIZE(gdma_g0p2_regs_retention)}
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/ |
D | mesh_bearer_adapt.c | 1142 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_gattc_get_free_conn_count() 1156 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_gattc_get_service_uuid() 1195 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_gattc_conn_create() 1204 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_gattc_conn_create() 1215 if (i == ARRAY_SIZE(bt_mesh_gattc_info)) { in bt_mesh_gattc_conn_create() 1261 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_gattc_get_mtu_info() 1277 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_gattc_write_no_rsp() 1304 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_gattc_disconnect() 1350 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_bta_gattc_cb() 1371 for (i = 0; i < ARRAY_SIZE(bt_mesh_gattc_info); i++) { in bt_mesh_bta_gattc_cb() [all …]
|
/hal_espressif-latest/components/hal/esp32s3/include/hal/ |
D | mspi_timing_tuning_ll.h | 28 #undef ARRAY_SIZE 29 #define ARRAY_SIZE(arr) (sizeof((arr))/sizeof(*(arr))) macro 67 for (int i = 0; i < ARRAY_SIZE(regs); i++) { in mspi_timing_ll_set_all_pin_drive()
|