Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 58) sorted by relevance

123

/hal_espressif-latest/components/esp_hw_support/dma/
Dgdma.c52 static gdma_pair_t *gdma_acquire_pair_handle(gdma_group_t *group, int pair_id);
53 static void gdma_release_group_handle(gdma_group_t *group);
73 gdma_group_t *group = NULL; in gdma_new_channel() local
93 group = pair->group; in gdma_new_channel()
94 portENTER_CRITICAL(&group->spinlock); in gdma_new_channel()
95 group->pair_ref_counts[pair->pair_id]++; // channel obtains a reference to pair in gdma_new_channel()
96 portEXIT_CRITICAL(&group->spinlock); in gdma_new_channel()
101 group = gdma_acquire_group_handle(i); in gdma_new_channel()
102 ESP_GOTO_ON_FALSE(group, ESP_ERR_NO_MEM, err, TAG, "no mem for group(%d)", i); in gdma_new_channel()
104 pair = gdma_acquire_pair_handle(group, j); in gdma_new_channel()
[all …]
Dgdma_etm.c42 gdma_group_t *group = pair->group; in gdma_del_etm_task() local
44 gdma_ll_rx_enable_etm_task(group->hal.dev, pair->pair_id, false); in gdma_del_etm_task()
46 gdma_ll_tx_enable_etm_task(group->hal.dev, pair->pair_id, false); in gdma_del_etm_task()
63 gdma_group_t *group = pair->group; in gdma_new_etm_event() local
67 event_id = GDMA_LL_RX_ETM_EVENT_TABLE(group->group_id, pair->pair_id, config->event_type); in gdma_new_etm_event()
69 event_id = GDMA_LL_TX_ETM_EVENT_TABLE(group->group_id, pair->pair_id, config->event_type); in gdma_new_etm_event()
97 gdma_group_t *group = pair->group; in gdma_new_etm_task() local
101 task_id = GDMA_LL_RX_ETM_TASK_TABLE(group->group_id, pair->pair_id, config->task_type); in gdma_new_etm_task()
102 gdma_ll_rx_enable_etm_task(group->hal.dev, pair->pair_id, true); in gdma_new_etm_task()
104 task_id = GDMA_LL_TX_ETM_TASK_TABLE(group->group_id, pair->pair_id, config->task_type); in gdma_new_etm_task()
[all …]
/hal_espressif-latest/components/esp_hw_support/
Desp_etm.c57 etm_group_t *group; // which group this channel belongs to member
69 etm_group_t *group = NULL; in etm_acquire_group_handle() local
74 group = heap_caps_calloc(1, sizeof(etm_group_t), ETM_MEM_ALLOC_CAPS); in etm_acquire_group_handle()
75 if (group) { in etm_acquire_group_handle()
77 s_platform.groups[group_id] = group; // register to platform in etm_acquire_group_handle()
79 group->group_id = group_id; in etm_acquire_group_handle()
80 group->spinlock = (portMUX_TYPE)portMUX_INITIALIZER_UNLOCKED; in etm_acquire_group_handle()
86 etm_hal_init(&group->hal); in etm_acquire_group_handle()
89 group = s_platform.groups[group_id]; in etm_acquire_group_handle()
91 if (group) { in etm_acquire_group_handle()
[all …]
/hal_espressif-latest/components/driver/gpio/
Dgpio_etm.c44 gpio_etm_group_t *group; member
50 gpio_etm_group_t *group; member
61 gpio_etm_group_t *group = &s_gpio_etm_group; in gpio_etm_event_register_to_group() local
64 portENTER_CRITICAL(&group->spinlock); in gpio_etm_event_register_to_group()
66 if (!group->events[j]) { in gpio_etm_event_register_to_group()
68 group->events[j] = event; in gpio_etm_event_register_to_group()
72 portEXIT_CRITICAL(&group->spinlock); in gpio_etm_event_register_to_group()
75 event->group = group; in gpio_etm_event_register_to_group()
82 gpio_etm_group_t *group = &s_gpio_etm_group; in gpio_etm_task_register_to_group() local
85 portENTER_CRITICAL(&group->spinlock); in gpio_etm_task_register_to_group()
[all …]
Dgpio_flex_glitch_filter.c29 gpio_flex_glitch_filter_group_t *group; member
44 gpio_flex_glitch_filter_group_t *group = &s_gpio_glitch_filter_group; in gpio_filter_register_to_group() local
47 portENTER_CRITICAL(&group->spinlock); in gpio_filter_register_to_group()
49 if (!group->filters[j]) { in gpio_filter_register_to_group()
51 group->filters[j] = filter; in gpio_filter_register_to_group()
55 portEXIT_CRITICAL(&group->spinlock); in gpio_filter_register_to_group()
59 filter->group = group; in gpio_filter_register_to_group()
65 gpio_flex_glitch_filter_group_t *group = &s_gpio_glitch_filter_group; in gpio_filter_destroy() local
69 if (filter->group) { in gpio_filter_destroy()
70 portENTER_CRITICAL(&group->spinlock); in gpio_filter_destroy()
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/common/
Ddragonfly.c18 int dragonfly_suitable_group(int group, int ecc_only) in dragonfly_suitable_group() argument
28 return group == 19 || group == 20 || group == 21 || in dragonfly_suitable_group()
30 (group == 15 || group == 16 || group == 17 || group == 18)); in dragonfly_suitable_group()
34 unsigned int dragonfly_min_pwe_loop_iter(int group) in dragonfly_min_pwe_loop_iter() argument
36 if (group == 22 || group == 23 || group == 24) { in dragonfly_min_pwe_loop_iter()
42 if (group == 1 || group == 2 || group == 5 || group == 14 || in dragonfly_min_pwe_loop_iter()
43 group == 15 || group == 16 || group == 17 || group == 18) { in dragonfly_min_pwe_loop_iter()
Dsae.h40 int group; member
87 int group; member
117 int group; member
125 int sae_set_group(struct sae_data *sae, int group);
143 u16 sae_group_allowed(struct sae_data *sae, int *allowed_groups, u16 group);
Ddragonfly.h18 int dragonfly_suitable_group(int group, int ecc_only);
19 unsigned int dragonfly_min_pwe_loop_iter(int group);
Dsae.c24 int sae_set_group(struct sae_data *sae, int group) in sae_set_group() argument
34 tmp->ec = crypto_ec_init(group); in sae_set_group()
37 group); in sae_set_group()
38 sae->group = group; in sae_set_group()
47 tmp->dh = dh_groups_get(group); in sae_set_group()
50 group); in sae_set_group()
51 sae->group = group; in sae_set_group()
80 "SAE: Group %d not supported by the crypto library", group); in sae_set_group()
335 k = dragonfly_min_pwe_loop_iter(sae->group); in sae_derive_pwe_ecc()
478 k = dragonfly_min_pwe_loop_iter(sae->group); in sae_derive_pwe_ffc()
[all …]
Dsae_pk.c447 static size_t sae_group_2_hash_len(int group) in sae_group_2_hash_len() argument
449 switch (group) { in sae_group_2_hash_len()
542 const u8 *k_ap, size_t k_ap_len, int group) in sae_pk_valid_fingerprint() argument
559 hash_len = sae_group_2_hash_len(group); in sae_pk_valid_fingerprint()
620 int group; in sae_check_confirm_pk() local
691 group = crypto_ec_key_group(key); in sae_check_confirm_pk()
693 group)) { in sae_check_confirm_pk()
701 hash_len = sae_group_2_hash_len(group); in sae_check_confirm_pk()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwpa_auth.c49 struct wpa_group *group);
52 struct wpa_group *group);
54 struct wpa_group *group);
242 struct wpa_group *group; in wpa_rekey_gtk() local
244 for (group = wpa_auth->group; group; group = group->next) { in wpa_rekey_gtk()
245 group->GTKReKey = TRUE; in wpa_rekey_gtk()
247 group->changed = FALSE; in wpa_rekey_gtk()
248 wpa_group_sm_step(wpa_auth, group); in wpa_rekey_gtk()
249 } while (group->changed); in wpa_rekey_gtk()
285 struct wpa_group *group) in wpa_group_init_gmk_and_counter() argument
[all …]
Dcomeback_token.c75 int group, const u8 *addr, int h2e) in auth_build_token_req() argument
105 if (group) in auth_build_token_req()
106 wpabuf_put_le16(buf, group); /* Finite Cyclic Group */ in auth_build_token_req()
Dieee802_11.c405 static int sae_is_group_enabled(struct hostapd_data *hapd, int group) in sae_is_group_enabled() argument
416 if (groups[i] == group) in sae_is_group_enabled()
449 u16 group; in check_sae_rejected_groups() local
451 group = WPA_GET_LE16(pos); in check_sae_rejected_groups()
453 enabled = sae_is_group_enabled(hapd, group); in check_sae_rejected_groups()
455 group, enabled ? "enabled" : "disabled"); in check_sae_rejected_groups()
582 sta->sae->group, in handle_auth_sae()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls-ec.c40 mbedtls_ecp_group group; member
48 struct crypto_ec *crypto_ec_init(int group) in crypto_ec_init() argument
55 switch (group) { in crypto_ec_init()
71 mbedtls_ecp_group_init(&e->group); in crypto_ec_init()
73 if (mbedtls_ecp_group_load(&e->group, grp_id)) { in crypto_ec_init()
88 mbedtls_ecp_group_free(&e->group); in crypto_ec_deinit()
114 return mbedtls_mpi_size(&e->group.P); in crypto_ec_prime_len()
119 return mbedtls_mpi_size(&e->group.N); in crypto_ec_order_len()
125 return mbedtls_mpi_bitlen(&e->group.P); in crypto_ec_prime_len_bits()
137 mbedtls_ecp_group_init( &e->group ); in crypto_ec_get_group_byname()
[all …]
/hal_espressif-latest/west/
Dtools.py142 group = parser.add_argument_group('monitor optional arguments')
143 group.add_argument('-b', '--baud', default=baud_rate, help='Serial port baud rate')
144 group.add_argument('-p', '--port', help='Serial port address')
145 group.add_argument('-e', '--elf', help='ELF file')
146 group.add_argument('-n', '--eol', default='CRLF', help='EOL to use')
147 group.add_argument('-d', '--enable-address-decoding', action='store_true',
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dline_matcher.py62 lev = self.level[m.group(1)]
63 if m.group(2) in self._dict:
64 return self._dict[m.group(2)] >= lev
Dansi_color_converter.py109 color = ANSI_TO_WINDOWS_COLOR[int(m.group(2))]
110 if m.group(1) == b'1':
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/diag/
Ddownload_procedure_chart.diag36 // group
37 group{transmit_finish, fincon_fin};
38 group{erase_data, succ_fin};
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_owe.c12 uint8_t *owe_build_dhie(uint16_t group) in owe_build_dhie() argument
16 return (uint8_t *)(owe_build_assoc_req(sm, group)); in owe_build_dhie()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dgdma_ll.h47 #define GDMA_LL_TX_ETM_EVENT_TABLE(group, chan, event) \ argument
56 }}}[group][chan][event]
58 #define GDMA_LL_RX_ETM_EVENT_TABLE(group, chan, event) \ argument
67 }}}[group][chan][event]
69 #define GDMA_LL_TX_ETM_TASK_TABLE(group, chan, task) \ argument
78 }}}[group][chan][task]
80 #define GDMA_LL_RX_ETM_TASK_TABLE(group, chan, task) \ argument
89 }}}[group][chan][task]
Dtimer_ll.h27 #define TIMER_LL_ETM_TASK_TABLE(group, timer, task) \ argument
42 }[group][timer][task]
44 #define TIMER_LL_ETM_EVENT_TABLE(group, timer, event) \ argument
51 }[group][timer][event]
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dgdma_ll.h47 #define GDMA_LL_TX_ETM_EVENT_TABLE(group, chan, event) \ argument
56 }}}[group][chan][event]
58 #define GDMA_LL_RX_ETM_EVENT_TABLE(group, chan, event) \ argument
67 }}}[group][chan][event]
69 #define GDMA_LL_TX_ETM_TASK_TABLE(group, chan, task) \ argument
78 }}}[group][chan][task]
80 #define GDMA_LL_RX_ETM_TASK_TABLE(group, chan, task) \ argument
89 }}}[group][chan][task]
Dtimer_ll.h27 #define TIMER_LL_ETM_TASK_TABLE(group, timer, task) \ argument
42 }[group][timer][task]
44 #define TIMER_LL_ETM_EVENT_TABLE(group, timer, event) \ argument
51 }[group][timer][event]
/hal_espressif-latest/components/efuse/
Defuse_table_gen.py62 raise InputError("unknown variable '%s'" % (m.group(1)))
107 p.group = str(i_count)
128 field_name = p.field_name + p.group
343 index = str(0) if str(p.group) == '' else str(p.group)
354 self.group = ''
444 return result.group(1).split()
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/
Dcache.h120 uint16_t group; /*!< manual lock group, 0 or 1*/ member
642 void Cache_Disable_ICache_PreLock(uint16_t group);
691 void Cache_Disable_DCache_PreLock(uint16_t group);

123