Searched refs:head (Results 1 - 25 of 88) sorted by relevance

1234

/u-boot/scripts/kconfig/
H A Dlist.h46 * @head: the head for your list.
49 #define list_for_each_entry(pos, head, member) \
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
51 &pos->member != (head); \
58 * @head: the head for your list.
61 #define list_for_each_entry_safe(pos, n, head, member) \
62 for (pos = list_entry((head)->next, typeof(*pos), member), \
64 &pos->member != (head); \
71 list_empty(const struct list_head *head) argument
100 list_add_tail(struct list_head *_new, struct list_head *head) argument
[all...]
/u-boot/include/linux/
H A Dlist.h56 * @head: list head to add it after
58 * Insert a new entry after the specified head.
61 static inline void list_add(struct list_head *new, struct list_head *head) argument
63 __list_add(new, head, head->next);
69 * @head: list head to add it before
71 * Insert a new entry before the specified head.
74 static inline void list_add_tail(struct list_head *new, struct list_head *head) argument
143 list_move(struct list_head *list, struct list_head *head) argument
154 list_move_tail(struct list_head *list, struct list_head *head) argument
166 list_is_last(const struct list_head *list, const struct list_head *head) argument
176 list_empty(const struct list_head *head) argument
194 list_empty_careful(const struct list_head *head) argument
204 list_is_singular(const struct list_head *head) argument
209 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument
235 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) argument
268 list_splice(const struct list_head *list, struct list_head *head) argument
280 list_splice_tail(struct list_head *list, struct list_head *head) argument
294 list_splice_init(struct list_head *list, struct list_head *head) argument
311 list_splice_tail_init(struct list_head *list, struct list_head *head) argument
[all...]
H A Dlist_sort.h8 void list_sort(void *priv, struct list_head *head,
/u-boot/arch/powerpc/
H A DMakefile3 head-y := arch/powerpc/cpu/$(CPU)/start.o
4 head-$(CONFIG_MPC85xx) += arch/powerpc/cpu/mpc85xx/resetvec.o
/u-boot/arch/x86/
H A DMakefile5 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/arch/sh/
H A DMakefile3 head-y := arch/sh/lib/start.o
/u-boot/arch/xtensa/
H A DMakefile3 head-y := arch/xtensa/cpu/start.o
/u-boot/arch/microblaze/
H A DMakefile3 head-y := arch/microblaze/cpu/start.o
/u-boot/arch/nios2/
H A DMakefile3 head-y := arch/nios2/cpu/start.o
/u-boot/scripts/
H A Ddtc-version.sh23 MAJOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 1 | tr -d v)
24 MINOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 2)
25 PATCH=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 3 | cut -d - -f 1)
H A Dbinutils-version.sh17 version_string=$($gas --version | head -1 | \
H A Dsetlocalversion48 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/lib/
H A Dmembuff.c16 /* set mb->head and mb->tail so the buffers look empty */
17 mb->head = mb->start;
26 /* always write to 'mb->head' */
29 *offsetp = mb->head - mb->start;
36 * if head is ahead of tail, we can write from head until the end of
39 if (mb->head >= mb->tail) {
41 len = mb->end - mb->head - 1;
45 /* update the head pointer to mark these bytes as written */
47 mb->head
[all...]
H A Dlist_sort.c20 * sentinel head node, "prev" links not maintained.
27 struct list_head head, *tail = &head; local
41 return head.next;
54 struct list_head *head,
57 struct list_head *tail = head;
87 tail->next = head;
88 head->prev = tail;
94 * @head: the list to sort
105 void list_sort(void *priv, struct list_head *head, argument
51 merge_and_restore_back_links(void *priv, int (*cmp)(void *priv, struct list_head *a, struct list_head *b), struct list_head *head, struct list_head *a, struct list_head *b) argument
[all...]
/u-boot/arch/sandbox/
H A DMakefile3 head-y := arch/sandbox/cpu/start.o arch/sandbox/cpu/os.o
4 head-$(CONFIG_SANDBOX_SDL) += arch/sandbox/cpu/sdl.o
/u-boot/drivers/core/
H A Dutil.c14 int list_count_items(struct list_head *head) argument
19 list_for_each(node, head)
/u-boot/disk/
H A Dpart_dos.h26 unsigned char head; /* starting head */ member in struct:dos_partition
30 unsigned char end_head; /* end head */
/u-boot/arch/mips/
H A DMakefile3 head-y := arch/mips/cpu/start.o
6 head-$(CONFIG_ARCH_JZ47XX) := arch/mips/mach-jz47xx/start.o
7 head-$(CONFIG_SOC_MT7621) := arch/mips/mach-mtmips/mt7621/spl/start.o
11 head-$(CONFIG_SOC_MT7621) := arch/mips/mach-mtmips/mt7621/tpl/start.o
/u-boot/include/dm/
H A Dutil.h22 * @param head: Head of list
25 int list_count_items(struct list_head *head);
/u-boot/lib/zlib/
H A Dinflate.c21 state->head = Z_NULL;
373 if (state->head != Z_NULL)
374 state->head->done = -1;
416 if (state->head != Z_NULL)
417 state->head->text = (int)((hold >> 8) & 1);
423 if (state->head != Z_NULL)
424 state->head->time = hold;
430 if (state->head != Z_NULL) {
431 state->head->xflags = (int)(hold & 0xff);
432 state->head
[all...]
/u-boot/arch/arc/lib/
H A DMakefile6 head-y := start.o
/u-boot/fs/sandbox/
H A Dsandboxfs.c87 struct os_dirent_node *head, *node; local
90 ret = os_dirent_ls(dirname, &head);
94 for (node = head; node; node = node->next) {
99 os_dirent_free(head);
/u-boot/drivers/net/octeontx2/
H A Dnix.c510 u32 head, tail; local
516 head = op_status.s.head;
518 head &= (nix->cq[NIX_CQ_TX].qsize - 1);
521 debug("%s cq tx head %d tail %d\n", __func__, head, tail);
522 while (head != tail) {
523 cqe = cq_tx_base + head * nix->cq[NIX_CQ_TX].entry_sz;
526 head = op_status.s.head;
598 u32 head, tail; local
663 u32 head, tail; local
[all...]
/u-boot/common/
H A Dusb.c382 struct usb_descriptor_header *head; local
392 head = (struct usb_descriptor_header *) &buffer[0];
393 if (head->bDescriptorType != USB_DT_CONFIG) {
395 head->bDescriptorType);
398 if (head->bLength != USB_DT_CONFIG_SIZE) {
399 printf("ERROR: Invalid USB CFG length (%d)\n", head->bLength);
402 memcpy(&dev->config, head, USB_DT_CONFIG_SIZE);
408 head = (struct usb_descriptor_header *) &buffer[index];
409 while (index + 1 < dev->config.desc.wTotalLength && head->bLength) {
410 switch (head
[all...]
/u-boot/board/xilinx/zynq/
H A Dbootimg.c32 static int zynq_islastpartition(struct headerarray *head) argument
37 if (head->fields[ZYNQ_PART_HDR_CHKSUM_WORD_COUNT] != 0xFFFFFFFF)
41 if (head->fields[index] != 0x0)

Completed in 219 milliseconds

1234