Searched refs:last (Results 1 - 25 of 78) sorted by relevance

1234

/u-boot/arch/arm/mach-omap2/
H A Dtimer.c64 unsigned long now, last = readl(&timer_base->tcrr); local
68 if (last > now) /* count up timer overflow */
69 tmo -= TIMER_OVERFLOW_VAL - last + now + 1;
71 tmo -= now - last;
72 last = now;
/u-boot/arch/powerpc/lib/
H A Dextable.c34 const struct exception_table_entry *last,
38 while (first <= last) {
33 search_one_table(const struct exception_table_entry *first, const struct exception_table_entry *last, unsigned long value) argument
/u-boot/arch/arm/mach-sunxi/
H A Dtimer.c89 ulong now, last = read_timer(); local
93 if (now > last) /* normal (non rollover) */
94 tmo -= now - last;
96 tmo -= TIMER_LOAD_VAL - last + now;
97 last = now;
/u-boot/drivers/pinctrl/meson/
H A Dpinctrl-meson-axg.h15 unsigned int last; member in struct:meson_pmx_bank
29 .last = l, \
H A Dpinctrl-meson.h89 * @last: last pin of the bank
100 unsigned int last; member in struct:meson_bank
118 .last = l, \
/u-boot/drivers/rtc/
H A Darmada38x.c65 int i, j, last; local
67 for (i = 0, last = 0; i < SAMPLE_NR; ++i) {
71 for (j = 0; j < last; ++j) {
76 if (j < last) {
81 samples[last] = sample;
82 counts[last] = 1;
83 ++last;
91 for (i = 0; i < last; ++i) {
/u-boot/post/
H A Dpost.c182 int last; local
192 last = 0;
194 while (!last) {
203 last = 1;
309 unsigned int last; local
314 if (post_bootmode_get(&last) & POST_POWERTEST) {
315 if (last & POST_FAIL_SAVE) {
316 last &= ~POST_FAIL_SAVE;
319 if (last < post_list_size &&
320 (flags & test_flags[last]
[all...]
/u-boot/arch/microblaze/include/asm/
H A Dsystem.h35 extern void *switch_thread (struct thread_struct *last,
37 #define switch_to(prev,next,last) do { \
39 (last) = switch_thread (&prev->thread, &next->thread); \
/u-boot/lib/efi_loader/
H A Defi_var_mem.c85 struct efi_var_entry *var, *last; local
87 last = (struct efi_var_entry *)
93 if (*next >= last)
100 if (next && *next >= last)
106 if (var < last) {
112 if (pos >= last)
130 struct efi_var_entry *next, *last; local
135 last = (struct efi_var_entry *)
148 efi_memcpy_runtime(var, next, (uintptr_t)last - (uintptr_t)next);
259 struct efi_var_entry *last, *va local
[all...]
/u-boot/lib/zlib/
H A Dinffast.c56 z_const unsigned char FAR *last; /* have enough input while in < last */ local
83 last = in + (strm->avail_in - 5);
84 if (in > last && strm->avail_in > 5) {
87 * max. possible size and recalculate last
90 last = in + (strm->avail_in - 5);
277 } while (in < last && out < end);
288 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last));
[all...]
H A Dinflate.h32 TYPE, /* i: waiting for type bits, including last-flag bit */
79 int last; /* true if processing last block */ member in struct:inflate_state
H A Dinflate.c18 state->last = 0;
84 Update the window with the last wsize (normally 32K) bytes written before
92 advantage, since only the last 32K of output is copied to the sliding window
310 When there is a window, goto inf_leave will update the window with the last
337 code last; /* parent table entry */ local
547 if (state->last) {
553 state->last = BITS(1);
558 state->last ? " (last)" : ""));
564 state->last
[all...]
/u-boot/examples/api/
H A Dglue.h50 const char * ub_env_enum(const char *last);
/u-boot/drivers/power/pmic/
H A Dda9063.c31 u16 last; member in struct:da9063_reg_hole
56 if (reg >= hole->first && reg <= hole->last)
/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dsrio.c79 int idx, first, last; local
143 last = first;
145 last = first + 3;
150 for (idx = first; idx <= last; idx++)
157 for (idx = first; idx <= last; idx++)
167 for (idx = first; idx <= last; idx++)
174 for (idx = first; idx <= last; idx++)
/u-boot/scripts/kconfig/
H A Dqconf.cc420 ConfigItem* last = 0; local
444 last = item;
448 item = last ? last->nextSibling() : firstChild();
450 item = new ConfigItem(this, last, rootEntry, true);
581 ConfigItem* last; local
594 last = parent->firstChild();
595 if (last && !last->goParent)
596 last
646 ConfigItem* last; local
[all...]
/u-boot/scripts/
H A Dcleanpatch118 last;
183 last;
189 last;
/u-boot/arch/mips/include/asm/
H A Dsystem.h195 extern asmlinkage void *resume(void *last, void *next);
200 #define switch_to(prev,next,last) \
202 (last) = resume(prev, next); \
/u-boot/drivers/mtd/nand/
H A Dcore.c170 struct nand_pos pos, last; local
174 nanddev_offs_to_pos(nand, einfo->addr + einfo->len - 1, &last);
175 while (nanddev_pos_cmp(&pos, &last) <= 0) {
/u-boot/drivers/crypto/aspeed/
H A Daspeed_hace.c213 uint32_t last, padn; local
227 last = hace_ctx->total[0] & (hace_ctx->blk_size - 1);
232 padn = (last < 56) ? (56 - last) : (120 - last);
249 padn = (last < 112) ? (112 - last) : (240 - last);
/u-boot/boot/
H A Dcedit.c677 int ret, i, count, first, last; local
698 last = -1;
709 last = max(last, i);
714 last);
778 int ret, i, count, first, last; local
800 last = -1;
806 last = max(last, i);
811 last);
[all...]
/u-boot/drivers/i2c/
H A Dmeson_i2c.c57 bool last; /* Whether the message is the last */ member in struct:meson_i2c
148 if (i2c->last && i2c->pos + i2c->count >= i2c->msg->len)
168 int last)
177 i2c->last = last;
167 meson_i2c_xfer_msg(struct meson_i2c *i2c, struct i2c_msg *msg, int last) argument
/u-boot/drivers/dma/
H A Dapbh_dma.c375 * CHAIN bit and the NEXTCMD_ADDR fields in the last descriptor's DMA command so
401 * bit set only in the last one. Then, setting the DMA channel's hardware
413 struct mxs_dma_desc *last; local
426 last = list_entry(pchan->active.prev, struct mxs_dma_desc,
430 last->flags &= ~MXS_DMA_DESC_LAST;
432 last->cmd.next = mxs_dma_cmd_address(pdesc);
433 last->cmd.data |= MXS_DMA_DESC_CHAIN;
435 mxs_dma_flush_desc(last);
/u-boot/cmd/
H A Dflash.c37 * sector to erase, and SL is the last sector to erase (defaults to SF).
52 int bank, first, last; local
79 last = dectoul(p, &ep);
81 last < first || last >= fp->sector_count)
84 last = first;
89 *psl = last;
205 s_last[bank] = -1; /* last sector to erase */
219 s_end = info->sector_count - 1; /* last sector */
222 ulong end; /* last addres
[all...]
/u-boot/arch/sh/include/asm/
H A Dsystem.h18 #define switch_to(prev, next, last) do { \
60 last = __last; \

Completed in 204 milliseconds

1234