Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 87) sorted by relevance

1234

/rk3399_rockchip-uboot/include/linux/
H A Dlist.h61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
63 __list_add(new, head, head->next); in list_add()
74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
76 __list_add(new, head->prev, head); in list_add_tail()
143 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
146 list_add(list, head); in list_move()
155 struct list_head *head) in list_move_tail() argument
158 list_add_tail(list, head); in list_move_tail()
167 const struct list_head *head) in list_is_last() argument
169 return list->next == head; in list_is_last()
[all …]
H A Dlist_sort.h8 void list_sort(void *priv, struct list_head *head,
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dlist.h48 #define list_for_each_entry(pos, head, member) \ argument
49 for (pos = list_entry((head)->next, typeof(*pos), member); \
50 &pos->member != (head); \
60 #define list_for_each_entry_safe(pos, n, head, member) \ argument
61 for (pos = list_entry((head)->next, typeof(*pos), member), \
63 &pos->member != (head); \
70 static inline int list_empty(const struct list_head *head) in list_empty() argument
72 return head->next == head; in list_empty()
99 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument
101 __list_add(_new, head->prev, head); in list_add_tail()
/rk3399_rockchip-uboot/lib/
H A Dmembuff.c18 mb->head = mb->start; in membuff_purge()
30 *offsetp = mb->head - mb->start; in membuff_putrawflex()
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()
63 len = mb->tail - mb->head - 1; 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()
[all …]
H A Dlist_sort.c25 struct list_head head, *tail = &head; in merge() local
39 return head.next; in merge()
52 struct list_head *head, in merge_and_restore_back_links() argument
55 struct list_head *tail = head; in merge_and_restore_back_links()
85 tail->next = head; in merge_and_restore_back_links()
86 head->prev = tail; in merge_and_restore_back_links()
103 void list_sort(void *priv, struct list_head *head, in list_sort() argument
113 if (list_empty(head)) in list_sort()
118 head->prev->next = NULL; in list_sort()
119 list = head->next; in list_sort()
[all …]
/rk3399_rockchip-uboot/drivers/crypto/fsl/
H A Djr.c19 #define CIRC_CNT(head, tail, size) (((head) - (tail)) & (size - 1)) argument
20 #define CIRC_SPACE(head, tail, size) CIRC_CNT((tail), (head) + 1, (size)) argument
140 jr->head = 0; in jr_sw_cleanup()
187 int head = jr->head; in jr_enqueue() local
207 jr->info[head].desc_phys_addr = desc_phys_addr; in jr_enqueue()
208 jr->info[head].callback = (void *)callback; in jr_enqueue()
209 jr->info[head].arg = arg; in jr_enqueue()
210 jr->info[head].op_done = 0; in jr_enqueue()
212 unsigned long start = (unsigned long)&jr->info[head] & in jr_enqueue()
214 unsigned long end = ALIGN((unsigned long)&jr->info[head] + in jr_enqueue()
[all …]
/rk3399_rockchip-uboot/arch/x86/
H A DMakefile7 head-y := arch/x86/cpu/start64.o
9 head-y := arch/x86/cpu/start.o
13 head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/start16.o
14 head-$(CONFIG_$(SPL_)X86_16BIT_INIT) += arch/x86/cpu/resetvec.o
/rk3399_rockchip-uboot/scripts/
H A Ddtc-version.sh17 MAJOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 1)
18 MINOR=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 2)
19 PATCH=$($dtc -v | head -1 | awk '{print $NF}' | cut -d . -f 3 | cut -d - -f 1)
H A Dfit-sign.sh224 NEW_DDR=`find ${UNPACK_LOADER}/ -name '*ddr*bin' | head -n 1`
232 NEW_USBPLUG=`find ${UNPACK_LOADER}/ -name '*usbplug*bin' | head -n 1`
240 NEW_FlashData=`find ${UNPACK_LOADER}/ -name '*FlashData*bin' | head -n 1`
248 NEW_FlashBoot=`find ${UNPACK_LOADER}/ -name '*FlashBoot*bin' | head -n 1`
256 NEW_FlashBoot=`find ${UNPACK_LOADER}/ -name '*FlashBoost*bin' | head -n 1`
298 FlashBoot=`find ${UNPACK_LOADER}/ -name '*FlashBoot*bin' | head -n 1`
300 …OFFSET=`fdtdump -s ${FlashBoot} | head -1 | awk -F ":" '{ print $2 }' | sed "s/ found fdt at offse…
520 FlashBoot=`find ${UNPACK_LOADER}/ -name '*FlashBoot*bin' | head -n 1`
576 INI_PATH=`find ${SIGN_CFG_DIR} -name 'MINIALL.ini' | head -n 1`
581 LOADER_NAME=`find ${ARG_SRC_DIR} -name '*loader*bin' | head -n 1`
[all …]
H A Dsetlocalversion47 head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
66 printf '%s%s' -g $head
72 printf -- '-svn%s' "`git svn find-rev $head`"
/rk3399_rockchip-uboot/lib/zlib/
H A Dinflate.c21 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()
420 state->head->text = (int)((hold >> 8) & 1); 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()
434 state->head->xflags = (int)(hold & 0xff); in inflate()
435 state->head->os = (int)(hold >> 8); in inflate()
[all …]
/rk3399_rockchip-uboot/common/
H A Dusb.c380 struct usb_descriptor_header *head; in usb_parse_config() local
390 head = (struct usb_descriptor_header *) &buffer[0]; in usb_parse_config()
391 if (head->bDescriptorType != USB_DT_CONFIG) { in usb_parse_config()
393 head->bDescriptorType); in usb_parse_config()
396 if (head->bLength != USB_DT_CONFIG_SIZE) { in usb_parse_config()
397 printf("ERROR: Invalid USB CFG length (%d)\n", head->bLength); in usb_parse_config()
400 memcpy(&dev->config, head, USB_DT_CONFIG_SIZE); in usb_parse_config()
406 head = (struct usb_descriptor_header *) &buffer[index]; in usb_parse_config()
407 while (index + 1 < dev->config.desc.wTotalLength && head->bLength) { in usb_parse_config()
408 switch (head->bDescriptorType) { in usb_parse_config()
[all …]
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dci_udc.c181 struct ept_queue_head *head = ci_get_qh(ep_num, 0); in ci_flush_qh() local
182 const unsigned long start = (unsigned long)head; in ci_flush_qh()
183 const unsigned long end = start + 2 * sizeof(*head); in ci_flush_qh()
196 struct ept_queue_head *head = ci_get_qh(ep_num, 0); in ci_invalidate_qh() local
197 unsigned long start = (unsigned long)head; in ci_invalidate_qh()
198 unsigned long end = start + 2 * sizeof(*head); in ci_invalidate_qh()
316 struct ept_queue_head *head = ci_get_qh(num, in); in ep_enable() local
318 head->config = CONFIG_MAX_PKT(maxpacket) | CONFIG_ZLT; in ep_enable()
425 struct ept_queue_head *head; in ci_ep_submit_next_request() local
437 head = ci_get_qh(num, in); in ci_ep_submit_next_request()
[all …]
/rk3399_rockchip-uboot/arch/powerpc/
H A DMakefile5 head-y := arch/powerpc/cpu/$(CPU)/start.o
6 head-$(CONFIG_MPC85xx) += arch/powerpc/cpu/mpc85xx/resetvec.o
/rk3399_rockchip-uboot/fs/sandbox/
H A Dsandboxfs.c86 struct os_dirent_node *head, *node; in sandbox_fs_ls() local
89 ret = os_dirent_ls(dirname, &head); in sandbox_fs_ls()
93 for (node = head; node; node = node->next) { in sandbox_fs_ls()
98 os_dirent_free(head); in sandbox_fs_ls()
/rk3399_rockchip-uboot/drivers/core/
H A Dutil.c23 int list_count_items(struct list_head *head) in list_count_items() argument
28 list_for_each(node, head) in list_count_items()
/rk3399_rockchip-uboot/cmd/
H A Dfdc.c127 unsigned int head; /* nr of heads */ member
252 unsigned long head,track,sect,timeout; in fdc_issue_cmd() local
253 track = pCMD->blnr / (pFG->sect * pFG->head); /* track nr */ in fdc_issue_cmd()
254 sect = pCMD->blnr % (pFG->sect * pFG->head); /* remaining blocks */ in fdc_issue_cmd()
255 head = sect / pFG->sect; /* head nr */ in fdc_issue_cmd()
259 pCMD->cmd[0],track,head,sect,pCMD->drive,pCMD->blnr); in fdc_issue_cmd()
261 if(head|=0) { /* max heads = 2 */ in fdc_issue_cmd()
263 pCMD->cmd[HEAD]=(unsigned char) head; /* head register */ in fdc_issue_cmd()
267 pCMD->cmd[HEAD]=(unsigned char) head; /* head register */ in fdc_issue_cmd()
/rk3399_rockchip-uboot/arch/mips/
H A DMakefile5 head-y := arch/mips/cpu/start.o
9 head-y := $(CONFIG_SPL_START_S_PATH:"%"=%)/start.o
/rk3399_rockchip-uboot/board/qualcomm/dragonboard410c/
H A DMakefile8 extra-y += head.o
/rk3399_rockchip-uboot/arch/sandbox/
H A DMakefile5 head-y := arch/sandbox/cpu/start.o
/rk3399_rockchip-uboot/arch/nios2/
H A DMakefile5 head-y := arch/nios2/cpu/start.o
/rk3399_rockchip-uboot/arch/xtensa/
H A DMakefile5 head-y := arch/xtensa/cpu/start.o
/rk3399_rockchip-uboot/arch/microblaze/
H A DMakefile5 head-y := arch/microblaze/cpu/start.o
/rk3399_rockchip-uboot/fs/ubifs/
H A Dscan.c363 struct list_head *head; in ubifs_scan_destroy() local
365 head = &sleb->nodes; in ubifs_scan_destroy()
366 while (!list_empty(head)) { in ubifs_scan_destroy()
367 node = list_entry(head->next, struct ubifs_scan_node, list); in ubifs_scan_destroy()
/rk3399_rockchip-uboot/arch/sh/
H A DMakefile5 head-y := arch/sh/lib/start.o

1234