| /bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/sys/ |
| A D | list.h | 61 __list_add(newl, head, head->next); in list_add() 75 __list_add(newl, head->prev, head); in list_add_tail() 181 return head->next == head; in list_empty() 200 return (next == head) && (next == head->prev); in list_empty_careful() 223 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 258 (head->next != entry && head != entry)) in list_cut_position() 289 __list_splice(list, head, head->next); in list_splice() 301 __list_splice(list, head->prev, head); in list_splice_tail() 315 __list_splice(list, head, head->next); in list_splice_init() 332 __list_splice(list, head->prev, head); in list_splice_tail_init() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/ |
| A D | aw_list.h | 67 __list_add(new, head, head->next); in list_add() 81 __list_add(new, head->prev, head); in list_add_tail() 193 return head->next == head; in list_empty() 212 return (next == head) && (next == head->prev); in list_empty_careful() 235 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 270 (head->next != entry && head != entry)) in list_cut_position() 301 __list_splice(list, head, head->next); in list_splice() 313 __list_splice(list, head->prev, head); in list_splice_tail() 327 __list_splice(list, head, head->next); in list_splice_init() 344 __list_splice(list, head->prev, head); in list_splice_tail_init() [all …]
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/include/ |
| A D | bflb_list.h | 194 #define bflb_dlist_for_each(pos, head) \ argument 195 for (pos = (head)->next; pos != (head); pos = pos->next) 202 #define bflb_dlist_for_each_prev(pos, head) \ argument 203 for (pos = (head)->prev; pos != (head); pos = pos->prev) 211 #define bflb_dlist_for_each_safe(pos, n, head) \ argument 212 for (pos = (head)->next, n = pos->next; pos != (head); \ 215 #define bflb_dlist_for_each_prev_safe(pos, n, head) \ argument 216 for (pos = (head)->prev, n = pos->prev; pos != (head); \ 226 &pos->member != (head); \ 237 &pos->member != (head); \ [all …]
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/utils/src/ |
| A D | utils_list.c | 43 for (it = list->head; it; it = it->next) { in is_list_element() 59 ((struct list_element *)element)->next = list->head; in list_insert_as_head() 60 list->head = (struct list_element *)element; in list_insert_as_head() 77 struct list_element *it = list->head; in list_insert_at_end() 81 if (!list->head) { in list_insert_at_end() 99 if (list->head) { in list_remove_head() 100 struct list_element *tmp = list->head; in list_remove_head() 102 list->head = list->head->next; in list_remove_head() 118 if (list->head == element) { in list_delete_element() 119 list->head = list->head->next; in list_delete_element() [all …]
|
| /bsp/microchip/samc21/bsp/hal/utils/src/ |
| A D | utils_list.c | 43 for (it = list->head; it; it = it->next) { in is_list_element() 59 ((struct list_element *)element)->next = list->head; in list_insert_as_head() 60 list->head = (struct list_element *)element; in list_insert_as_head() 77 struct list_element *it = list->head; in list_insert_at_end() 81 if (!list->head) { in list_insert_at_end() 99 if (list->head) { in list_remove_head() 100 struct list_element *tmp = list->head; in list_remove_head() 102 list->head = list->head->next; in list_remove_head() 118 if (list->head == element) { in list_delete_element() 119 list->head = list->head->next; in list_delete_element() [all …]
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/utils/src/ |
| A D | utils_list.c | 43 for (it = list->head; it; it = it->next) { in is_list_element() 59 ((struct list_element *)element)->next = list->head; in list_insert_as_head() 60 list->head = (struct list_element *)element; in list_insert_as_head() 77 struct list_element *it = list->head; in list_insert_at_end() 81 if (!list->head) { in list_insert_at_end() 99 if (list->head) { in list_remove_head() 100 struct list_element *tmp = list->head; in list_remove_head() 102 list->head = list->head->next; in list_remove_head() 118 if (list->head == element) { in list_delete_element() 119 list->head = list->head->next; in list_delete_element() [all …]
|
| /bsp/microchip/saml10/bsp/hal/utils/src/ |
| A D | utils_list.c | 43 for (it = list->head; it; it = it->next) { in is_list_element() 59 ((struct list_element *)element)->next = list->head; in list_insert_as_head() 60 list->head = (struct list_element *)element; in list_insert_as_head() 77 struct list_element *it = list->head; in list_insert_at_end() 81 if (!list->head) { in list_insert_at_end() 99 if (list->head) { in list_remove_head() 100 struct list_element *tmp = list->head; in list_remove_head() 102 list->head = list->head->next; in list_remove_head() 118 if (list->head == element) { in list_delete_element() 119 list->head = list->head->next; in list_delete_element() [all …]
|
| /bsp/microchip/same70/bsp/hal/utils/src/ |
| A D | utils_list.c | 43 for (it = list->head; it; it = it->next) { in is_list_element() 59 ((struct list_element *)element)->next = list->head; in list_insert_as_head() 60 list->head = (struct list_element *)element; in list_insert_as_head() 77 struct list_element *it = list->head; in list_insert_at_end() 81 if (!list->head) { in list_insert_at_end() 99 if (list->head) { in list_remove_head() 100 struct list_element *tmp = list->head; in list_remove_head() 102 list->head = list->head->next; in list_remove_head() 118 if (list->head == element) { in list_delete_element() 119 list->head = list->head->next; in list_delete_element() [all …]
|
| /bsp/microchip/same54/bsp/hal/utils/src/ |
| A D | utils_list.c | 43 for (it = list->head; it; it = it->next) { in is_list_element() 59 ((struct list_element *)element)->next = list->head; in list_insert_as_head() 60 list->head = (struct list_element *)element; in list_insert_as_head() 77 struct list_element *it = list->head; in list_insert_at_end() 81 if (!list->head) { in list_insert_at_end() 99 if (list->head) { in list_remove_head() 100 struct list_element *tmp = list->head; in list_remove_head() 102 list->head = list->head->next; in list_remove_head() 118 if (list->head == element) { in list_delete_element() 119 list->head = list->head->next; in list_delete_element() [all …]
|
| /bsp/xuantie/libraries/xuantie_libraries/csi/csi2/include/drv/ |
| A D | list.h | 84 return head->next == head; in dlist_empty() 110 #define dlist_for_each(pos, head) \ argument 111 for (pos = (head)->next; pos != (head); pos = pos->next) 121 for (pos = (head)->next, n = pos->next; pos != (head); \ 207 node->next = head->next; in slist_add() 208 head->next = node; in slist_add() 215 while (head->next) { in slist_del() 216 if (head->next == node) { in slist_del() 221 head = head->next; in slist_del() 227 return !head->next; in slist_empty() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/include/ |
| A D | usb_list.h | 81 __usb_list_add(node, head, head->next); in usb_list_add() 87 __usb_list_add(node, head->prev, head); in usb_list_add_tail() 117 static inline int usb_list_empty(const struct usb_list_head *head) in usb_list_empty() argument 119 return head->next == head; in usb_list_empty() 181 static inline void list_head_malloc_and_add(void *data, struct usb_list_head *head) in list_head_malloc_and_add() argument 194 usb_list_add_tail(list, head); in list_head_malloc_and_add() 215 static inline void *list_head_unlink_and_del(struct usb_list_head *head) in list_head_unlink_and_del() argument 220 if (head == NULL) in list_head_unlink_and_del() 228 usb_list_del(head); in list_head_unlink_and_del() 229 ret = head->data; in list_head_unlink_and_del() [all …]
|
| /bsp/rockchip/common/rk_hal/lib/hal/inc/ |
| A D | hal_list.h | 133 #define HAL_LIST_FOR_EACH(pos, head) \ argument 134 for (pos = (head)->next; pos != (head); pos = pos->next) 142 #define HAL_LIST_FOR_EACH_SAFE(pos, n, head) \ argument 143 for (pos = (head)->next, n = pos->next; pos != (head); \ 152 #define HAL_LIST_FOR_EACH_ENTRY(pos, head, member) \ argument 153 for (pos = HAL_LIST_ENTRY((head)->next, __typeof__(*pos), member); \ 154 &pos->member != (head); \ 164 #define HAL_LIST_FOR_EACH_ENTRY_SAFE(pos, n, head, member) \ argument 165 for (pos = HAL_LIST_ENTRY((head)->next, __typeof__(*pos), member), \ 167 &pos->member != (head); \
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/g2d_rcq/ |
| A D | simple_idr.c | 104 if (dir->head) { in id_alloc() 105 dir->head->pre = tmp; in id_alloc() 107 tmp->next = dir->head; in id_alloc() 123 (*cur)->next = dir->head; in id_alloc() 125 dir->head = *cur; in id_alloc() 208 dir->head = lu[0]->next; in id_free() 265 idr->head = NULL; in id_creat() 275 idr->head = idr->top; in id_creat() 289 while(dir->head != NULL) { in id_destroyed() 290 free_id_layer = dir->head; in id_destroyed() [all …]
|
| /bsp/zynqmp-r5-axu4ev/drivers/Zynq_HAL_Driver/xemacpsif/ |
| A D | xpqueue.c | 56 q->head = q->tail = q->len = 0; in pq_create_queue() 67 q->data[q->head] = p; in pq_enqueue() 68 q->head = (q->head + 1)%PQ_QUEUE_SIZE; in pq_enqueue()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/ |
| A D | SConscript | 10 cwd + r'/include/arch/risc-v/t-head', 11 cwd + r'/include/arch/risc-v/t-head/Core/Include', 66 include/arch/risc-v/t-head/rv_hart.c 67 include/arch/risc-v/t-head/rv_pmp.c 106 include/arch/risc-v/t-head/rv_hart.c 107 include/arch/risc-v/t-head/rv_pmp.c 120 include/arch/risc-v/t-head/rv_hart.c 121 include/arch/risc-v/t-head/rv_pmp.c
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/utils/include/ |
| A D | utils_list.h | 60 struct list_element *head; member 70 list->head = NULL; in list_reset() 83 return (void *)list->head; in list_get_head()
|
| /bsp/microchip/samc21/bsp/hal/utils/include/ |
| A D | utils_list.h | 60 struct list_element *head; member 70 list->head = NULL; in list_reset() 83 return (void *)list->head; in list_get_head()
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/utils/include/ |
| A D | utils_list.h | 60 struct list_element *head; member 70 list->head = NULL; in list_reset() 83 return (void *)list->head; in list_get_head()
|
| /bsp/microchip/saml10/bsp/hal/utils/include/ |
| A D | utils_list.h | 60 struct list_element *head; member 70 list->head = NULL; in list_reset() 83 return (void *)list->head; in list_get_head()
|
| /bsp/microchip/same70/bsp/hal/utils/include/ |
| A D | utils_list.h | 60 struct list_element *head; member 70 list->head = NULL; in list_reset() 83 return (void *)list->head; in list_get_head()
|
| /bsp/microchip/same54/bsp/hal/utils/include/ |
| A D | utils_list.h | 60 struct list_element *head; member 70 list->head = NULL; in list_reset() 83 return (void *)list->head; in list_get_head()
|
| /bsp/airm2m/air105/libraries/HAL_Driver/Src/ |
| A D | bsp_common.c | 1136 __llist_add(p, head, head->next); in llist_add() 1149 __llist_add(p, head->prev, head); in llist_add_tail() 1199 llist_add(llist, head); in llist_move() 1208 llist_head *head) in llist_move_tail() argument 1211 llist_add_tail(llist, head); in llist_move_tail() 1216 llist_head *node = head->next; in llist_traversal() 1219 while (!llist_empty(head) && (node != head)) in llist_traversal() 1244 int llist_empty(const llist_head *head) in llist_empty() argument 1246 return head->next == head; in llist_empty() 1251 llist_head *node = head->next; in llist_num() [all …]
|
| /bsp/renesas/ra6m3-hmi-board/board/ports/audio/ |
| A D | pwm_audio.c | 29 uint32_t volatile head; /**< ending pointer */ member 113 rb->head = rb->tail = 0; in rb_create() 128 if (rb->head >= tail) in rb_get_count() 130 return (rb->head - tail); in rb_get_count() 133 return (rb->size - (tail - rb->head)); in rb_get_count() 144 rb->tail = rb->head = 0; in rb_flush() 152 if (tail == rb->head) in rb_read_byte() 175 uint32_t next_head = rb->head + 1; in rb_write_byte() 188 rb->buf[rb->head] = indata; in rb_write_byte() 189 rb->head = next_head; in rb_write_byte()
|
| /bsp/x86/drivers/ |
| A D | floppy.c | 192 void block_to_hts(u32 block, u32 *head, u32 *track, u32 *sector ) in block_to_hts() argument 194 *head = ( block % ( 18 * 2 ) ) /18; in block_to_hts() 216 u32 head; in floppy_read_cmd() local 220 block_to_hts(blk,&head,&track,§or); in floppy_read_cmd() 231 floppy_sendbyte (head*4 + 0); in floppy_read_cmd() 233 floppy_sendbyte (head); /* Head */ in floppy_read_cmd()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/Misc/ |
| A D | usbh_disk_info.c | 319 struct usb_list_head *head = NULL; in usbh_disk_GetDeviceInfo() local 331 head = &(disk_info->device_list); in usbh_disk_GetDeviceInfo() 332 list_now = head->next; in usbh_disk_GetDeviceInfo() 334 while (head != list_now) in usbh_disk_GetDeviceInfo()
|