Home
last modified time | relevance | path

Searched refs:list_entry (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.5.0/tools/kconfig/
Dlist.h39 #define list_entry(ptr, type, member) \ macro
49 for (pos = list_entry((head)->next, typeof(*pos), member); \
51 pos = list_entry(pos->member.next, typeof(*pos), member))
61 for (pos = list_entry((head)->next, typeof(*pos), member), \
62 n = list_entry(pos->member.next, typeof(*pos), member); \
64 pos = n, n = list_entry(n->member.next, typeof(*n), member))
Dmenu.c579 jump->index = list_entry(head->prev, struct jump_key, in get_prompt_str()
/hal_espressif-3.5.0/components/esp_timer/src/
Desp_timer.c80 LIST_ENTRY(esp_timer) list_entry;
243 LIST_INSERT_HEAD(&s_timers[dispatch_method], timer, list_entry); in timer_insert()
245 LIST_FOREACH(it, &s_timers[dispatch_method], list_entry) { in timer_insert()
247 LIST_INSERT_BEFORE(it, timer, list_entry); in timer_insert()
254 LIST_INSERT_AFTER(last, timer, list_entry); in timer_insert()
268 LIST_REMOVE(timer, list_entry); in timer_remove()
296 LIST_INSERT_HEAD(&s_inactive_timers[dispatch_method], timer, list_entry); in timer_insert_inactive()
301 LIST_INSERT_BEFORE(head, timer, list_entry); in timer_insert_inactive()
307 LIST_REMOVE(timer, list_entry); in timer_remove_inactive()
343 LIST_REMOVE(it, list_entry); in timer_process_alarm()
[all …]
/hal_espressif-3.5.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/
Dcdc_acm_host.c138 SLIST_ENTRY(cdc_dev_s) list_entry;
284 SLIST_INSERT_HEAD(&p_cdc_acm_obj->cdc_devices_list, cdc_dev, list_entry); in cdc_acm_start()
342 SLIST_FOREACH(cdc_dev, &p_cdc_acm_obj->cdc_devices_list, list_entry) { in cdc_acm_find_and_open_usb_device()
839 SLIST_REMOVE(&p_cdc_acm_obj->cdc_devices_list, cdc_dev, cdc_dev_s, list_entry); in cdc_acm_host_close()
1005 SLIST_FOREACH_SAFE(cdc_dev, &p_cdc_acm_obj->cdc_devices_list, list_entry, tcdc_dev) { in usb_event_cb()