Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 45) sorted by relevance

12

/rk3399_rockchip-uboot/include/linux/
H A Dlist.h23 struct list_head *next, *prev; member
34 list->prev = list; in INIT_LIST_HEAD()
44 struct list_head *prev, in __list_add() argument
47 next->prev = new; in __list_add()
49 new->prev = prev; in __list_add()
50 prev->next = new; in __list_add()
76 __list_add(new, head->prev, head); in list_add_tail()
86 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument
88 next->prev = prev; in __list_del()
89 prev->next = next; in __list_del()
[all …]
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dlist.h24 struct list_head *next, *prev; member
82 struct list_head *prev, in __list_add() argument
85 next->prev = _new; in __list_add()
87 _new->prev = prev; in __list_add()
88 prev->next = _new; in __list_add()
101 __list_add(_new, head->prev, head); in list_add_tail()
111 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument
113 next->prev = prev; in __list_del()
114 prev->next = next; in __list_del()
127 __list_del(entry->prev, entry->next); in list_del()
[all …]
/rk3399_rockchip-uboot/test/
H A Dtime_ut.c47 ulong prev, next, min = 1000000; in test_timer_get_us() local
52 prev = timer_get_us(); in test_timer_get_us()
55 if (next != prev) { in test_timer_get_us()
56 delta = next - prev; in test_timer_get_us()
59 __func__, prev, next); in test_timer_get_us()
64 prev = next; in test_timer_get_us()
/rk3399_rockchip-uboot/common/
H A Dcli_simple.c63 char c, prev; in cli_simple_process_macros() local
77 prev = '\0'; /* previous character */ in cli_simple_process_macros()
85 if ((c == '\\') && (prev != '\\')) { in cli_simple_process_macros()
88 prev = c; in cli_simple_process_macros()
95 if ((c == '\'') && (prev != '\\')) { in cli_simple_process_macros()
99 if ((c == '$') && (prev != '\\')) { in cli_simple_process_macros()
147 if ((c == '\'') && (prev != '\\')) { in cli_simple_process_macros()
155 prev = c; in cli_simple_process_macros()
H A Dmain.c31 int prev = disable_ctrlc(1); /* disable Control C checking */ in run_preboot_environment_command() local
37 disable_ctrlc(prev); /* restore Control C checking */ in run_preboot_environment_command()
H A Dbootstage.c220 static uint32_t print_time_record(struct bootstage_record *rec, uint32_t prev) in print_time_record() argument
224 if (prev == -1U) { in print_time_record()
229 print_grouped_ull(rec->time_us - prev, BOOTSTAGE_DIGITS); in print_time_record()
312 uint32_t prev; in bootstage_report() local
319 prev = print_time_record(rec, 0); in bootstage_report()
326 prev = print_time_record(rec, prev); in bootstage_report()
336 prev = print_time_record(rec, -1); in bootstage_report()
H A Dautoboot.c356 int prev = disable_ctrlc(1); /* disable Control C checking */ local
363 disable_ctrlc(prev); /* restore Control C checking */
H A Ddlmalloc.c1664 mchunkptr prev; /* previous contiguous chunk before oldp */ local
1760 prev = prev_chunk(oldp);
1761 prevsize = chunksize(prev);
1772 unlink(prev, bck, fwd);
1773 newp = prev;
1788 unlink(prev, bck, fwd);
1789 newp = prev;
1798 if (prev != NULL && (long)(prevsize + newsize) >= (long)nb)
1800 unlink(prev, bck, fwd);
1801 newp = prev;
/rk3399_rockchip-uboot/test/dm/
H A Dtest-uclass.c68 struct udevice *prev = list_entry(dev->uclass_node.prev, in test_post_probe() local
81 if (&prev->uclass_node != &uc->dev_head) { in test_post_probe()
83 = dev_get_uclass_priv(prev); in test_post_probe()
84 struct dm_test_pdata *pdata = prev->platdata; in test_post_probe()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dcore.c433 ul->prev = ul->next = ul; in urb_link_init()
447 ul->next->prev = ul->prev; in urb_detach()
448 ul->prev->next = ul->next; in urb_detach()
514 urb_link *pul = hd->prev; in urb_append()
515 new->prev->next = hd; in urb_append()
516 hd->prev = new->prev; in urb_append()
517 new->prev = pul; in urb_append()
/rk3399_rockchip-uboot/cmd/
H A Defi.c71 struct efi_mem_desc *desc, *end, *base, *dest, *prev; in efi_build_mem_table() local
84 prev = NULL; in efi_build_mem_table()
97 if (!skip_bs || !prev) in efi_build_mem_table()
103 else if (prev->type != EFI_CONVENTIONAL_MEMORY) in efi_build_mem_table()
107 prev->num_pages += desc->num_pages; in efi_build_mem_table()
109 prev = dest; in efi_build_mem_table()
/rk3399_rockchip-uboot/arch/microblaze/include/asm/
H A Dsystem.h35 #define switch_to(prev,next,last) do { \ argument
36 if (prev != next) { \
37 (last) = switch_thread (&prev->thread, &next->thread); \
/rk3399_rockchip-uboot/arch/sh/include/asm/
H A Dsystem.h18 #define switch_to(prev, next, last) do { \ argument
20 register unsigned long *__ts1 __asm__ ("r1") = &prev->thread.sp; \
21 register unsigned long *__ts2 __asm__ ("r2") = &prev->thread.pc; \
22 register unsigned long *__ts4 __asm__ ("r4") = (unsigned long *)prev; \
/rk3399_rockchip-uboot/lib/
H A Dlist_sort.c61 a->prev = tail; in merge_and_restore_back_links()
65 b->prev = tail; in merge_and_restore_back_links()
81 tail->next->prev = tail; in merge_and_restore_back_links()
86 head->prev = tail; in merge_and_restore_back_links()
118 head->prev->next = NULL; in list_sort()
252 if (cur->next->prev != cur) { in list_sort_test()
H A Dslre.c288 quantifier(struct slre *r, int prev, int op) in quantifier() argument
290 if (r->code[prev] == EXACT && r->code[prev + 2] > 1) { in quantifier()
291 r->code[prev + 2]--; in quantifier()
293 emit(r, r->code[prev + 1] + r->code[prev + 2]); in quantifier()
295 prev = r->code_size - 3; in quantifier()
297 relocate(r, prev, 2); in quantifier()
298 r->code[prev] = op; in quantifier()
299 set_jump_offset(r, prev + 1, prev); in quantifier()
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dxhci-mem.c215 static void xhci_link_segments(struct xhci_segment *prev, in xhci_link_segments() argument
221 if (!prev || !next) in xhci_link_segments()
223 prev->next = next; in xhci_link_segments()
226 prev->trbs[TRBS_PER_SEGMENT-1].link.segment_ptr = val_64; in xhci_link_segments()
232 val = le32_to_cpu(prev->trbs[TRBS_PER_SEGMENT-1].link.control); in xhci_link_segments()
236 prev->trbs[TRBS_PER_SEGMENT-1].link.control = cpu_to_le32(val); in xhci_link_segments()
306 struct xhci_segment *prev; in xhci_ring_alloc() local
319 prev = ring->first_seg; in xhci_ring_alloc()
326 xhci_link_segments(prev, next, link_trbs); in xhci_ring_alloc()
328 prev = next; in xhci_ring_alloc()
[all …]
/rk3399_rockchip-uboot/lib/zlib/
H A Ddeflate.c185 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
282 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
293 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
914 TRY_FREE(strm, strm->state->prev);
955 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
960 if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL ||
967 zmemcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos));
1076 Posf *prev = s->prev; local
1197 } while ((cur_match = prev[cur_match & wmask]) > limit
1352 p = &s->prev[n];
[all …]
/rk3399_rockchip-uboot/drivers/core/
H A Dof_access.c144 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes() argument
148 if (!prev) { in of_find_all_nodes()
150 } else if (prev->child) { in of_find_all_nodes()
151 np = prev->child; in of_find_all_nodes()
157 np = prev; in of_find_all_nodes()
295 struct device_node *prev) in __of_get_next_child() argument
302 next = prev ? prev->sibling : node->child; in __of_get_next_child()
312 of_node_put(prev); in __of_get_next_child()
H A Droot.c51 new_gd->uclass_root.next->prev = &new_gd->uclass_root; in dm_fixup_for_gd_move()
52 new_gd->uclass_root.prev->next = &new_gd->uclass_root; in dm_fixup_for_gd_move()
/rk3399_rockchip-uboot/arch/mips/include/asm/
H A Dsystem.h199 #define switch_to(prev,next,last) \ argument
201 (last) = resume(prev, next); \
/rk3399_rockchip-uboot/fs/jffs2/
H A Djffs2_nand_1pass.c97 struct b_node *b, *prev; in insert_node() local
100 prev = list->listTail; in insert_node()
102 prev = list->listLast; in insert_node()
104 prev = NULL; in insert_node()
106 for (b = (prev ? prev->next : list->listHead); in insert_node()
108 prev = b, b = b->next) { in insert_node()
112 list->listLast = prev; in insert_node()
116 if (prev != NULL) in insert_node()
117 prev->next = new; in insert_node()
/rk3399_rockchip-uboot/arch/nds32/cpu/n1213/
H A Dstart.S38 #define EIT_PREV_ITYPE $ir7 ! prev intr type
43 #define EIT_PREV_P0 $ir12 ! prev $P0
44 #define EIT_PREV_P1 $ir13 ! prev $p1
433 mfsr $r28, EIT_PREV_IPSW ! $ir6 prev $IPSW
435 mfsr $r28, EIT_PREV_EVA ! $ir7 prev $EVA
437 mfsr $r28, EIT_PREV_ITYPE ! $ir8 prev $ITYPE
441 mfsr $r28, EIT_PREV_IPC ! $ir10 prev INTR_PC
/rk3399_rockchip-uboot/scripts/dtc/
H A Dsrcpos.c154 srcfile->prev = current_srcfile; in srcfile_push()
168 current_srcfile = srcfile->prev; in srcfile_pop()
H A Dsrcpos.h32 struct srcfile_state *prev; member
/rk3399_rockchip-uboot/include/dm/
H A Dof_access.h31 struct device_node *of_find_all_nodes(struct device_node *prev);

12