/u-boot/include/linux/ |
A D | list.h | 63 __list_add(new, head, head->next); in list_add() 76 __list_add(new, head->prev, head); in list_add_tail() 178 return head->next == head; in list_empty() 197 return (next == head) && (next == head->prev); in list_empty_careful() 206 return !list_empty(head) && (head->next == head->prev); in list_is_singular() 241 (head->next != entry && head != entry)) in list_cut_position() 272 __list_splice(list, head, head->next); in list_splice() 284 __list_splice(list, head->prev, head); in list_splice_tail() 298 __list_splice(list, head, head->next); in list_splice_init() 315 __list_splice(list, head->prev, head); in list_splice_tail_init() [all …]
|
A D | list_sort.h | 8 void list_sort(void *priv, struct list_head *head,
|
/u-boot/scripts/kconfig/ |
A D | list.h | 49 #define list_for_each_entry(pos, head, member) \ argument 50 for (pos = list_entry((head)->next, typeof(*pos), member); \ 51 &pos->member != (head); \ 61 #define list_for_each_entry_safe(pos, n, head, member) \ argument 62 for (pos = list_entry((head)->next, typeof(*pos), member), \ 64 &pos->member != (head); \ 71 static inline int list_empty(const struct list_head *head) in list_empty() argument 73 return head->next == head; in list_empty() 100 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument 102 __list_add(_new, head->prev, head); in list_add_tail()
|
/u-boot/lib/ |
A D | membuff.c | 18 mb->head = mb->start; in membuff_purge() 40 if (mb->head >= mb->tail) { in membuff_putrawflex() 42 len = mb->end - mb->head - 1; in membuff_putrawflex() 48 mb->head += len; in membuff_putrawflex() 57 mb->head = mb->start; in membuff_putrawflex() 69 mb->head += len; in membuff_putrawflex() 110 if (mb->head > mb->tail) { in membuff_getraw() 113 len = mb->head - mb->tail; in membuff_getraw() 246 if (mb->tail > mb->head) { in membuff_makecontig() 298 end = mb->head >= mb->tail ? mb->head : mb->end; in membuff_readline() [all …]
|
A D | list_sort.c | 27 struct list_head head, *tail = &head; in merge() local 41 return head.next; in merge() 54 struct list_head *head, in merge_and_restore_back_links() argument 57 struct list_head *tail = head; in merge_and_restore_back_links() 87 tail->next = head; in merge_and_restore_back_links() 88 head->prev = tail; in merge_and_restore_back_links() 115 if (list_empty(head)) in list_sort() 120 head->prev->next = NULL; in list_sort() 121 list = head->next; in list_sort() 221 LIST_HEAD(head); in list_sort_test() [all …]
|
/u-boot/arch/x86/ |
A D | Makefile | 5 head-y := arch/x86/cpu/start64.o 8 head-y := arch/x86/cpu/start.o 11 head-y := arch/x86/cpu/start.o 14 head-y = arch/x86/cpu/start_from_tpl.o 16 head-y = arch/x86/cpu/start_from_spl.o 23 head-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o 24 head-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o
|
/u-boot/drivers/crypto/fsl/ |
A D | jr.c | 25 #define CIRC_CNT(head, tail, size) (((head) - (tail)) & (size - 1)) argument 26 #define CIRC_SPACE(head, tail, size) CIRC_CNT((tail), (head) + 1, (size)) argument 146 jr->head = 0; in jr_sw_cleanup() 193 int head = jr->head; in jr_enqueue() local 214 jr->info[head].callback = (void *)callback; in jr_enqueue() 215 jr->info[head].arg = arg; in jr_enqueue() 216 jr->info[head].op_done = 0; in jr_enqueue() 230 addr_lo = (uint32_t *)(&jr->input_ring[head]); in jr_enqueue() 233 addr_hi = (uint32_t *)(&jr->input_ring[head]); in jr_enqueue() 250 jr->head = (head + 1) & (jr->size - 1); in jr_enqueue() [all …]
|
/u-boot/lib/zlib/ |
A D | inflate.c | 21 state->head = Z_NULL; in inflateReset() 376 if (state->head != Z_NULL) in inflate() 377 state->head->done = -1; in inflate() 419 if (state->head != Z_NULL) in inflate() 426 if (state->head != Z_NULL) in inflate() 427 state->head->time = hold; in inflate() 433 if (state->head != Z_NULL) { in inflate() 444 if (state->head != Z_NULL) in inflate() 449 else if (state->head != Z_NULL) in inflate() 525 if (state->head != Z_NULL) { in inflate() [all …]
|
/u-boot/common/ |
A D | usb.c | 385 struct usb_descriptor_header *head; in usb_parse_config() local 398 head->bDescriptorType); in usb_parse_config() 413 switch (head->bDescriptorType) { in usb_parse_config() 417 head->bLength); in usb_parse_config() 436 memcpy(if_desc, head, in usb_parse_config() 454 head->bLength); in usb_parse_config() 457 if (index + head->bLength > in usb_parse_config() 491 head->bLength); in usb_parse_config() 508 if (head->bLength == 0) in usb_parse_config() 512 head->bDescriptorType); in usb_parse_config() [all …]
|
/u-boot/drivers/net/octeontx2/ |
A D | nix.c | 510 u32 head, tail; in nix_lf_flush_tx() local 516 head = op_status.s.head; in nix_lf_flush_tx() 522 while (head != tail) { in nix_lf_flush_tx() 526 head = op_status.s.head; in nix_lf_flush_tx() 598 u32 head, tail; in nix_lf_flush_rx() local 604 head = op_status.s.head; in nix_lf_flush_rx() 610 while (head != tail) { in nix_lf_flush_rx() 628 head = op_status.s.head; in nix_lf_flush_rx() 663 u32 head, tail; in nix_lf_recv() local 667 head = op_status.s.head; in nix_lf_recv() [all …]
|
/u-boot/arch/sandbox/ |
A D | Makefile | 3 head-y := arch/sandbox/cpu/start.o arch/sandbox/cpu/os.o 4 head-$(CONFIG_SANDBOX_SDL) += arch/sandbox/cpu/sdl.o
|
/u-boot/arch/powerpc/ |
A D | Makefile | 3 head-y := arch/powerpc/cpu/$(CPU)/start.o 4 head-$(CONFIG_MPC85xx) += arch/powerpc/cpu/mpc85xx/resetvec.o
|
/u-boot/fs/sandbox/ |
A D | sandboxfs.c | 87 struct os_dirent_node *head, *node; in sandbox_fs_ls() local 90 ret = os_dirent_ls(dirname, &head); in sandbox_fs_ls() 94 for (node = head; node; node = node->next) { in sandbox_fs_ls() 99 os_dirent_free(head); in sandbox_fs_ls()
|
/u-boot/drivers/usb/gadget/ |
A D | ci_udc.c | 434 struct ept_queue_head *head; in ci_ep_submit_next_request() local 446 head = ci_get_qh(num, in); in ci_ep_submit_next_request() 452 head->info = 0; in ci_ep_submit_next_request() 674 struct ept_queue_head *head; in handle_setup() local 775 struct ept_queue_head *head; in stop_activity() local 793 head = ci_get_qh(num, in); in stop_activity() 794 head->info = INFO_ACTIVE; in stop_activity() 926 struct ept_queue_head *head; in ci_udc_probe() local 957 head = controller.epts + i; in ci_udc_probe() 964 head->next = TERMINATE; in ci_udc_probe() [all …]
|
/u-boot/drivers/core/ |
A D | util.c | 25 int list_count_items(struct list_head *head) in list_count_items() argument 30 list_for_each(node, head) in list_count_items()
|
/u-boot/drivers/block/ |
A D | blkcache.c | 40 struct list_head *head = &block_cache; in blkcache_init() local 42 head->next = (uintptr_t)head->next + gd->reloc_off; in blkcache_init() 43 head->prev = (uintptr_t)head->prev + gd->reloc_off; in blkcache_init()
|
/u-boot/net/ |
A D | dsa-uclass.c | 118 int head = priv->headroom, tail = priv->tailroom; in dsa_port_send() local 125 if (length + head + tail > PKTSIZE_ALIGN) in dsa_port_send() 128 memset(dsa_packet_tmp, 0, head); in dsa_port_send() 129 memset(dsa_packet_tmp + head + length, 0, tail); in dsa_port_send() 130 memcpy(dsa_packet_tmp + head, packet, length); in dsa_port_send() 131 length += head + tail; in dsa_port_send() 148 int head = priv->headroom, tail = priv->tailroom; in dsa_port_recv() local 166 if (err || port_index != port_pdata->index || (length <= head + tail)) { in dsa_port_recv() 176 *packetp += head; in dsa_port_recv() 178 return length - head - tail; in dsa_port_recv()
|
/u-boot/board/xilinx/zynq/ |
A D | bootimg.c | 32 static int zynq_islastpartition(struct headerarray *head) in zynq_islastpartition() argument 37 if (head->fields[ZYNQ_PART_HDR_CHKSUM_WORD_COUNT] != 0xFFFFFFFF) in zynq_islastpartition() 41 if (head->fields[index] != 0x0) in zynq_islastpartition()
|
/u-boot/scripts/ |
A D | setlocalversion | 48 head=$(git rev-parse --verify --short HEAD 2>/dev/null); then 67 printf '%s%s' -g $head 73 printf -- '-svn%s' "$(git svn find-rev $head)"
|
/u-boot/board/qualcomm/dragonboard820c/ |
A D | Makefile | 6 extra-y += head.o
|
/u-boot/drivers/virtio/ |
A D | virtio_ring.c | 25 int head; in virtqueue_add() local 29 head = vq->free_head; in virtqueue_add() 32 i = head; in virtqueue_add() 84 vq->vring.avail->ring[avail] = cpu_to_virtio16(vq->vdev, head); in virtqueue_add() 137 static void detach_buf(struct virtqueue *vq, unsigned int head) in detach_buf() argument 143 i = head; in detach_buf() 151 vq->free_head = head; in detach_buf()
|
/u-boot/board/qualcomm/dragonboard410c/ |
A D | Makefile | 7 extra-y += head.o
|
/u-boot/arch/mips/ |
A D | Makefile | 3 head-y := arch/mips/cpu/start.o 7 head-y := $(CONFIG_SPL_START_S_PATH:"%"=%)/start.o
|
/u-boot/arch/microblaze/ |
A D | Makefile | 3 head-y := arch/microblaze/cpu/start.o
|
/u-boot/arch/xtensa/ |
A D | Makefile | 3 head-y := arch/xtensa/cpu/start.o
|