Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 49) sorted by relevance

12

/hal_espressif-latest/components/esp_netif/lwip/
Desp_netif_br_glue.c20 esp_netif_driver_base_t base; member
35 netif_glue->base.netif = esp_netif; in esp_eth_post_attach_br()
46 static void eth_action_start(void *handler_args, esp_event_base_t base, int32_t event_id, void *eve… in eth_action_start() argument
50 …ESP_LOGD(TAG, "eth_action_start: %p, %p, %d, %p, %p", netif_glue, base, event_id, event_data, *(es… in eth_action_start()
55 …esp_netif_action_start(netif_glue->base.netif, base, event_id, event_data); // basically creates l… in eth_action_start()
57 ESP_LOGD(TAG, "bridge netif %p is started", netif_glue->base.netif); in eth_action_start()
59 esp_netif_bridge_add_port(netif_glue->base.netif, netif_glue->ports_esp_netifs[i]); in eth_action_start()
64 static void eth_action_stop(void *handler_args, esp_event_base_t base, int32_t event_id, void *even… in eth_action_stop() argument
68 …ESP_LOGD(TAG, "eth_action_stop: %p, %p, %d, %p, %p", netif_glue, base, event_id, event_data, *(esp… in eth_action_stop()
75 …esp_netif_action_stop(netif_glue->base.netif, base, event_id, event_data); // basically removes lw… in eth_action_stop()
[all …]
Desp_netif_lwip_ppp.c30 netif_related_data_t base; // Generic portion of netif-related data member
72 assert(obj->base.netif_type == PPP_LWIP_NETIF); in on_ppp_status_changed()
173 assert(obj->base.netif_type == PPP_LWIP_NETIF); in on_ppp_notify_phase()
209 assert(ppp_ctx->base.netif_type == PPP_LWIP_NETIF); in esp_netif_ppp_set_auth()
221 assert(ppp_ctx->base.netif_type == PPP_LWIP_NETIF); in esp_netif_ppp_set_default_netif()
235 ppp_obj->base.is_point2point = true; in esp_netif_new_ppp()
236 ppp_obj->base.netif_type = PPP_LWIP_NETIF; in esp_netif_new_ppp()
258 assert(ppp_ctx->base.netif_type == PPP_LWIP_NETIF); in esp_netif_start_ppp()
286 assert(ppp_ctx->base.netif_type == PPP_LWIP_NETIF); in esp_netif_stop_ppp()
299 assert(ppp_ctx->base.netif_type == PPP_LWIP_NETIF); in esp_netif_destroy_ppp()
[all …]
/hal_espressif-latest/components/driver/gpio/
Dgpio_pin_glitch_filter.c22 gpio_glitch_filter_t base; member
42 gpio_pin_glitch_filter_t *pin_filter = __containerof(filter, gpio_pin_glitch_filter_t, base); in gpio_pin_glitch_filter_del()
49 gpio_pin_glitch_filter_t *pin_filter = __containerof(filter, gpio_pin_glitch_filter_t, base); in gpio_pin_glitch_filter_enable()
64 gpio_pin_glitch_filter_t *pin_filter = __containerof(filter, gpio_pin_glitch_filter_t, base); in gpio_pin_glitch_filter_disable()
103 filter->base.gpio_num = config->gpio_num; in gpio_new_pin_glitch_filter()
104 filter->base.fsm = GLITCH_FILTER_FSM_INIT; in gpio_new_pin_glitch_filter()
105 filter->base.del = gpio_pin_glitch_filter_del; in gpio_new_pin_glitch_filter()
106 filter->base.enable = gpio_pin_glitch_filter_enable; in gpio_new_pin_glitch_filter()
107 filter->base.disable = gpio_pin_glitch_filter_disable; in gpio_new_pin_glitch_filter()
109 *ret_filter = &(filter->base); in gpio_new_pin_glitch_filter()
Dgpio_etm.c42 esp_etm_event_t base; member
48 esp_etm_task_t base; member
139 gpio_etm_event_t *gpio_event = __containerof(event, gpio_etm_event_t, base); in gpio_del_etm_event()
149 gpio_etm_task_t *gpio_task = __containerof(task, gpio_etm_task_t, base); in gpio_del_etm_task()
186 event->base.del = gpio_del_etm_event; in gpio_new_etm_event()
187 event->base.event_id = event_id; in gpio_new_etm_event()
188 event->base.trig_periph = ETM_TRIG_PERIPH_GPIO; in gpio_new_etm_event()
190 *ret_event = &event->base; in gpio_new_etm_event()
230 task->base.del = gpio_del_etm_task; in gpio_new_etm_task()
231 task->base.task_id = task_id; in gpio_new_etm_task()
[all …]
Dgpio_flex_glitch_filter.c28 gpio_glitch_filter_t base; member
86 gpio_flex_glitch_filter_t *flex_filter = __containerof(filter, gpio_flex_glitch_filter_t, base); in gpio_flex_glitch_filter_del()
93 gpio_flex_glitch_filter_t *flex_filter = __containerof(filter, gpio_flex_glitch_filter_t, base); in gpio_flex_glitch_filter_enable()
109 gpio_flex_glitch_filter_t *flex_filter = __containerof(filter, gpio_flex_glitch_filter_t, base); in gpio_flex_glitch_filter_disable()
166 filter->base.gpio_num = config->gpio_num; in gpio_new_flex_glitch_filter()
167 filter->base.fsm = GLITCH_FILTER_FSM_INIT; in gpio_new_flex_glitch_filter()
168 filter->base.del = gpio_flex_glitch_filter_del; in gpio_new_flex_glitch_filter()
169 filter->base.enable = gpio_flex_glitch_filter_enable; in gpio_new_flex_glitch_filter()
170 filter->base.disable = gpio_flex_glitch_filter_disable; in gpio_new_flex_glitch_filter()
172 *ret_filter = &(filter->base); in gpio_new_flex_glitch_filter()
/hal_espressif-latest/components/esp_wifi/src/
Dwifi_default.c36 static void wifi_start(void *esp_netif, esp_event_base_t base, int32_t event_id, void *data) in wifi_start() argument
63 esp_netif_action_start(esp_netif, base, event_id, data); in wifi_start()
70 static void wifi_default_action_sta_start(void *arg, esp_event_base_t base, int32_t event_id, void … in wifi_default_action_sta_start() argument
73 wifi_start(s_wifi_netifs[WIFI_IF_STA], base, event_id, data); in wifi_default_action_sta_start()
77 static void wifi_default_action_sta_stop(void *arg, esp_event_base_t base, int32_t event_id, void *… in wifi_default_action_sta_stop() argument
80 esp_netif_action_stop(s_wifi_netifs[WIFI_IF_STA], base, event_id, data); in wifi_default_action_sta_stop()
84 static void wifi_default_action_sta_connected(void *arg, esp_event_base_t base, int32_t event_id, v… in wifi_default_action_sta_connected() argument
99 esp_netif_action_connected(s_wifi_netifs[WIFI_IF_STA], base, event_id, data); in wifi_default_action_sta_connected()
103 static void wifi_default_action_sta_disconnected(void *arg, esp_event_base_t base, int32_t event_id… in wifi_default_action_sta_disconnected() argument
106 esp_netif_action_disconnected(s_wifi_netifs[WIFI_IF_STA], base, event_id, data); in wifi_default_action_sta_disconnected()
[all …]
Dwifi_netif.c21 esp_netif_driver_base_t base; member
82 driver->base.netif = esp_netif; in wifi_driver_start()
111 driver->base.post_attach = wifi_driver_start; in esp_wifi_create_if_driver()
140 if (ifx->base.netif != arg) { in esp_wifi_register_if_rxcb()
141 … "Invalid argument: supplied netif=%p does not equal to interface netif=%p", arg, ifx->base.netif); in esp_wifi_register_if_rxcb()
178 s_wifi_netifs[wifi_interface] = ifx->base.netif; in esp_wifi_register_if_rxcb()
/hal_espressif-latest/components/esp_netif/
Desp_netif_handlers.c23 void esp_netif_action_start(void *esp_netif, esp_event_base_t base, int32_t event_id, void *data) in esp_netif_action_start() argument
29 void esp_netif_action_stop(void *esp_netif, esp_event_base_t base, int32_t event_id, void *data) in esp_netif_action_stop() argument
35 void esp_netif_action_connected(void *esp_netif, esp_event_base_t base, int32_t event_id, void *dat… in esp_netif_action_connected() argument
82 void esp_netif_action_disconnected(void *esp_netif, esp_event_base_t base, int32_t event_id, void *… in esp_netif_action_disconnected() argument
89 void esp_netif_action_got_ip(void *esp_netif, esp_event_base_t base, int32_t event_id, void *data) in esp_netif_action_got_ip() argument
99 void esp_netif_action_join_ip6_multicast_group(void *esp_netif, esp_event_base_t base, int32_t even… in esp_netif_action_join_ip6_multicast_group() argument
106 void esp_netif_action_leave_ip6_multicast_group(void *esp_netif, esp_event_base_t base, int32_t eve… in esp_netif_action_leave_ip6_multicast_group() argument
113 void esp_netif_action_add_ip6_address(void *esp_netif, esp_event_base_t base, int32_t event_id, voi… in esp_netif_action_add_ip6_address() argument
120 void esp_netif_action_remove_ip6_address(void *esp_netif, esp_event_base_t base, int32_t event_id, … in esp_netif_action_remove_ip6_address() argument
/hal_espressif-latest/components/esp_netif/include/
Desp_netif.h168 void esp_netif_action_start(void *esp_netif, esp_event_base_t base, int32_t event_id, void *data);
180 void esp_netif_action_stop(void *esp_netif, esp_event_base_t base, int32_t event_id, void *data);
192 void esp_netif_action_connected(void *esp_netif, esp_event_base_t base, int32_t event_id, void *dat…
204 void esp_netif_action_disconnected(void *esp_netif, esp_event_base_t base, int32_t event_id, void *…
216 void esp_netif_action_got_ip(void *esp_netif, esp_event_base_t base, int32_t event_id, void *data);
228 void esp_netif_action_join_ip6_multicast_group(void *esp_netif, esp_event_base_t base, int32_t even…
240 void esp_netif_action_leave_ip6_multicast_group(void *esp_netif, esp_event_base_t base, int32_t eve…
252 void esp_netif_action_add_ip6_address(void *esp_netif, esp_event_base_t base, int32_t event_id, voi…
264 void esp_netif_action_remove_ip6_address(void *esp_netif, esp_event_base_t base, int32_t event_id, …
Desp_netif_defaults.h128 .base = ESP_NETIF_BASE_DEFAULT_ETH, \
139 .base = ESP_NETIF_BASE_DEFAULT_WIFI_AP, \
151 .base = ESP_NETIF_BASE_DEFAULT_WIFI_NAN, \
162 .base = ESP_NETIF_BASE_DEFAULT_WIFI_STA, \
173 .base = ESP_NETIF_BASE_DEFAULT_PPP, \
/hal_espressif-latest/components/esp_hw_support/dma/
Dgdma_etm.c27 esp_etm_task_t base; member
39 gdma_etm_task_t *gdma_task = __containerof(task, gdma_etm_task_t, base); in gdma_del_etm_task()
113 task->base.task_id = task_id; in gdma_new_etm_task()
114 task->base.trig_periph = ETM_TRIG_PERIPH_GDMA; in gdma_new_etm_task()
115 task->base.del = gdma_del_etm_task; in gdma_new_etm_task()
116 *out_task = &(task->base); in gdma_new_etm_task()
121 gdma_del_etm_task(&task->base); in gdma_new_etm_task()
Dgdma.c128 alloc_tx_channel->base.pair = pair; in gdma_new_channel()
129 alloc_tx_channel->base.direction = GDMA_CHANNEL_DIRECTION_TX; in gdma_new_channel()
130 alloc_tx_channel->base.periph_id = GDMA_INVALID_PERIPH_TRIG; in gdma_new_channel()
131 alloc_tx_channel->base.del = gdma_del_tx_channel; // set channel deletion function in gdma_new_channel()
132 *ret_chan = &alloc_tx_channel->base; // return the installed channel in gdma_new_channel()
138 alloc_rx_channel->base.pair = pair; in gdma_new_channel()
139 alloc_rx_channel->base.direction = GDMA_CHANNEL_DIRECTION_RX; in gdma_new_channel()
140 alloc_rx_channel->base.periph_id = GDMA_INVALID_PERIPH_TRIG; in gdma_new_channel()
141 alloc_rx_channel->base.del = gdma_del_rx_channel; // set channel deletion function in gdma_new_channel()
142 *ret_chan = &alloc_rx_channel->base; // return the installed channel in gdma_new_channel()
[all …]
Dgdma_priv.h76 gdma_channel_t base; // GDMA channel, base class member
82 gdma_channel_t base; // GDMA channel, base class member
/hal_espressif-latest/components/xtensa/include/xtensa/
Dhal.h158 extern void xthal_save_extra(void *base);
159 extern void xthal_restore_extra(void *base);
161 extern void xthal_save_cpregs(void *base, int);
162 extern void xthal_restore_cpregs(void *base, int);
164 extern void xthal_save_cp0(void *base);
165 extern void xthal_save_cp1(void *base);
166 extern void xthal_save_cp2(void *base);
167 extern void xthal_save_cp3(void *base);
168 extern void xthal_save_cp4(void *base);
169 extern void xthal_save_cp5(void *base);
[all …]
/hal_espressif-latest/components/log/
Dlog_freertos.c104 static uint32_t base = 0; in esp_log_timestamp() local
105 if (base == 0 && xPortGetCoreID() == 0) { in esp_log_timestamp()
106 base = esp_log_early_timestamp(); in esp_log_timestamp()
109 return base + tick_count * (1000 / configTICK_RATE_HZ); in esp_log_timestamp()
/hal_espressif-latest/components/esp_netif/loopback/
Desp_netif_loopback.c113 if (cfg == NULL || cfg->base == NULL || cfg->stack == NULL) { in esp_netif_init_configuration()
118 memcpy(esp_netif->mac, cfg->base->mac, NETIF_MAX_HWADDR_LEN); in esp_netif_init_configuration()
119 if (cfg->base->ip_info == NULL) { in esp_netif_init_configuration()
124 memcpy(esp_netif->ip_info, cfg->base->ip_info, sizeof(esp_netif_ip_info_t)); in esp_netif_init_configuration()
129 esp_netif->flags = cfg->base->flags; in esp_netif_init_configuration()
131 if (cfg->base->if_key) { in esp_netif_init_configuration()
132 esp_netif->if_key = strdup(cfg->base->if_key); in esp_netif_init_configuration()
134 if (cfg->base->if_desc) { in esp_netif_init_configuration()
135 esp_netif->if_desc = strdup(cfg->base->if_desc); in esp_netif_init_configuration()
137 if (cfg->base->route_prio) { in esp_netif_init_configuration()
[all …]
/hal_espressif-latest/components/esp_event/
Desp_event.c119 …ESP_LOGD(TAG, "running post %s:%"PRIu32" with handler %p and context %p on loop %p", post.base, po… in handler_execute()
137 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, data_ptr); in handler_execute()
139 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, post.data); in handler_execute()
268 esp_event_base_t base, in loop_node_add_handler() argument
275 if (base == esp_event_any_base && id == ESP_EVENT_ANY_ID) { in loop_node_add_handler()
283 if (it->base == base) { in loop_node_add_handler()
292 …(last_base_node && last_base_node->base != base && !SLIST_EMPTY(&(last_base_node->id_nodes)) && id… in loop_node_add_handler()
300 base_node->base = base; in loop_node_add_handler()
376 static esp_err_t loop_node_remove_handler(esp_event_loop_node_t* loop_node, esp_event_base_t base, … in loop_node_remove_handler() argument
378 if (base == esp_event_any_base && id == ESP_EVENT_ANY_ID) { in loop_node_remove_handler()
[all …]
/hal_espressif-latest/components/esp_hw_support/port/esp32s2/
DKconfig.mac7 single base MAC address.
10 to the final octet of the base MAC address. If the number of universal MAC addresses is one,
12 It's generated by adding 0 to the base MAC address.
14 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
/hal_espressif-latest/components/esp_hw_support/port/esp32s3/
DKconfig.mac7 single base MAC address.
10 … sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address.
13 …and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethern…
16 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
/hal_espressif-latest/components/esp_hw_support/port/esp32/
DKconfig.mac7 single base MAC address.
10 … sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address.
13 …and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethern…
16 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
/hal_espressif-latest/components/esp_hw_support/port/esp32c6/
DKconfig.mac8 single base MAC address.
12 … sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address.
16 …and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethern…
20 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
/hal_espressif-latest/components/esp_hw_support/port/esp32c2/
DKconfig.mac8 single base MAC address.
12 … sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address.
16 …and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethern…
20 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
/hal_espressif-latest/components/esp_hw_support/port/esp32c3/
DKconfig.mac8 single base MAC address.
12 … sequentially by adding 0, 1, 2 and 3 (respectively) to the final octet of the base MAC address.
16 …and 1 (respectively) to the base MAC address. The remaining two interfaces (WiFi softap and Ethern…
20 …When using the default (Espressif-assigned) base MAC address, either setting can be used. When usi…
/hal_espressif-latest/components/esp_hw_support/include/hal/
Dcpu_hal.h140 void cpu_hal_set_vecbase(const void *base) in cpu_hal_set_vecbase() argument
142 esp_cpu_intr_set_ivt_addr(base); in cpu_hal_set_vecbase()
/hal_espressif-latest/components/esp_event/private_include/
Desp_event_internal.h57 …esp_event_base_t base; /**< base identifier of the event … member
109 esp_event_base_t base; /**< the event base */ member

12