| /u-boot/arch/arm/mach-omap2/ |
| A D | timer.c | 64 unsigned long now, last = readl(&timer_base->tcrr); in __udelay() local 68 if (last > now) /* count up timer overflow */ in __udelay() 69 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay() 71 tmo -= now - last; in __udelay() 72 last = now; in __udelay()
|
| /u-boot/drivers/rtc/ |
| A D | armada38x.c | 65 int i, j, last; in armada38x_rtc_read() local 67 for (i = 0, last = 0; i < SAMPLE_NR; ++i) { in armada38x_rtc_read() 71 for (j = 0; j < last; ++j) { in armada38x_rtc_read() 76 if (j < last) { in armada38x_rtc_read() 81 samples[last] = sample; in armada38x_rtc_read() 82 counts[last] = 1; in armada38x_rtc_read() 83 ++last; in armada38x_rtc_read() 91 for (i = 0; i < last; ++i) { in armada38x_rtc_read()
|
| /u-boot/post/ |
| A D | post.c | 182 int last; in post_get_env_flags() local 192 last = 0; in post_get_env_flags() 194 while (!last) { in post_get_env_flags() 203 last = 1; in post_get_env_flags() 309 unsigned int last; in post_run() local 315 if (last & POST_FAIL_SAVE) { in post_run() 316 last &= ~POST_FAIL_SAVE; in post_run() 319 if (last < post_list_size && in post_run() 323 post_run_single(post_list + last, in post_run() 324 test_flags[last], in post_run() [all …]
|
| /u-boot/arch/arm/mach-sunxi/ |
| A D | timer.c | 89 ulong now, last = read_timer(); in __udelay() local 93 if (now > last) /* normal (non rollover) */ in __udelay() 94 tmo -= now - last; in __udelay() 96 tmo -= TIMER_LOAD_VAL - last + now; in __udelay() 97 last = now; in __udelay()
|
| /u-boot/lib/efi_loader/ |
| A D | efi_var_mem.c | 69 struct efi_var_entry *var, *last; in efi_var_mem_find() local 71 last = (struct efi_var_entry *) in efi_var_mem_find() 77 if (*next >= last) in efi_var_mem_find() 84 if (next && *next >= last) in efi_var_mem_find() 90 if (var < last) { in efi_var_mem_find() 96 if (pos >= last) in efi_var_mem_find() 114 struct efi_var_entry *next, *last; in efi_var_mem_del() local 119 last = (struct efi_var_entry *) in efi_var_mem_del() 192 struct efi_var_entry *last; in efi_var_mem_bs_del() local 194 last = (struct efi_var_entry *) in efi_var_mem_bs_del() [all …]
|
| /u-boot/lib/zlib/ |
| A D | inffast.c | 74 unsigned char FAR *last; /* while in < last, enough input available */ in inflate_fast() local 101 last = in + (strm->avail_in - 5); in inflate_fast() 102 if (in > last && strm->avail_in > 5) { in inflate_fast() 108 last = in + (strm->avail_in - 5); in inflate_fast() 323 } while (in < last && out < end); in inflate_fast() 334 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
|
| A D | inflate.c | 18 state->last = 0; in inflateReset() 549 if (state->last) { in inflate() 555 state->last = BITS(1); in inflate() 737 last = this; in inflate() 739 this = state->lencode[last.val + in inflate() 740 (BITS(last.bits + last.op) >> last.bits)]; in inflate() 744 DROPBITS(last.bits); in inflate() 782 last = this; in inflate() 784 this = state->distcode[last.val + in inflate() 785 (BITS(last.bits + last.op) >> last.bits)]; in inflate() [all …]
|
| /u-boot/arch/powerpc/lib/ |
| A D | extable.c | 34 const struct exception_table_entry *last, in search_one_table() argument 38 while (first <= last) { in search_one_table()
|
| /u-boot/drivers/crypto/aspeed/ |
| A D | aspeed_hace.c | 213 uint32_t last, padn; in aspeed_hace_finish() local 227 last = hace_ctx->total[0] & (hace_ctx->blk_size - 1); in aspeed_hace_finish() 232 padn = (last < 56) ? (56 - last) : (120 - last); in aspeed_hace_finish() 249 padn = (last < 112) ? (112 - last) : (240 - last); in aspeed_hace_finish()
|
| /u-boot/drivers/pinctrl/meson/ |
| A D | pinctrl-meson-axg.h | 15 unsigned int last; member 29 .last = l, \
|
| A D | pinctrl-meson.h | 100 unsigned int last; member 118 .last = l, \
|
| /u-boot/arch/microblaze/include/asm/ |
| A D | system.h | 35 extern void *switch_thread (struct thread_struct *last, 37 #define switch_to(prev,next,last) do { \ argument 39 (last) = switch_thread (&prev->thread, &next->thread); \
|
| /u-boot/scripts/kconfig/ |
| A D | qconf.cc | 444 last = item; in updateList() 448 item = last ? last->nextSibling() : firstChild(); in updateList() 595 if (last && !last->goParent) in updateMenuList() 596 last = 0; in updateMenuList() 598 item = last ? last->nextSibling() : parent->firstChild(); in updateMenuList() 634 last = 0; in updateMenuList() 636 last = last->nextSibling(); in updateMenuList() 660 if (last && !last->goParent) in updateMenuList() 661 last = 0; in updateMenuList() 699 last = 0; in updateMenuList() [all …]
|
| /u-boot/arch/powerpc/cpu/mpc8xxx/ |
| A D | srio.c | 79 int idx, first, last; in srio_erratum_a004034() local 143 last = first; in srio_erratum_a004034() 145 last = first + 3; in srio_erratum_a004034() 150 for (idx = first; idx <= last; idx++) in srio_erratum_a004034() 157 for (idx = first; idx <= last; idx++) in srio_erratum_a004034() 167 for (idx = first; idx <= last; idx++) in srio_erratum_a004034() 174 for (idx = first; idx <= last; idx++) in srio_erratum_a004034()
|
| /u-boot/arch/mips/include/asm/ |
| A D | system.h | 195 extern asmlinkage void *resume(void *last, void *next); 200 #define switch_to(prev,next,last) \ argument 202 (last) = resume(prev, next); \
|
| /u-boot/drivers/dma/ |
| A D | apbh_dma.c | 413 struct mxs_dma_desc *last; in mxs_dma_desc_append() local 426 last = list_entry(pchan->active.prev, struct mxs_dma_desc, in mxs_dma_desc_append() 430 last->flags &= ~MXS_DMA_DESC_LAST; in mxs_dma_desc_append() 432 last->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append() 433 last->cmd.data |= MXS_DMA_DESC_CHAIN; in mxs_dma_desc_append() 435 mxs_dma_flush_desc(last); in mxs_dma_desc_append()
|
| /u-boot/drivers/i2c/ |
| A D | meson_i2c.c | 57 bool last; /* Whether the message is the last */ member 148 if (i2c->last && i2c->pos + i2c->count >= i2c->msg->len) in meson_i2c_prepare_xfer() 168 int last) in meson_i2c_xfer_msg() argument 177 i2c->last = last; in meson_i2c_xfer_msg()
|
| /u-boot/drivers/power/pmic/ |
| A D | da9063.c | 30 u16 last; member 55 if (reg >= hole->first && reg <= hole->last) in da9063_reg_valid()
|
| /u-boot/drivers/mtd/nand/ |
| A D | core.c | 169 struct nand_pos pos, last; in nanddev_mtd_erase() local 173 nanddev_offs_to_pos(nand, einfo->addr + einfo->len - 1, &last); in nanddev_mtd_erase() 174 while (nanddev_pos_cmp(&pos, &last) <= 0) { in nanddev_mtd_erase()
|
| /u-boot/fs/ubifs/ |
| A D | orphan.c | 161 struct ubifs_orphan *orphan, **last; in ubifs_orphan_start_commit() local 164 last = &c->orph_cnext; in ubifs_orphan_start_commit() 170 *last = orphan; in ubifs_orphan_start_commit() 171 last = &orphan->cnext; in ubifs_orphan_start_commit() 173 *last = NULL; in ubifs_orphan_start_commit() 368 struct ubifs_orphan *orphan, **last; in consolidate() local 372 last = &c->orph_cnext; in consolidate() 377 *last = orphan; in consolidate() 378 last = &orphan->cnext; in consolidate() 381 *last = NULL; in consolidate()
|
| /u-boot/arch/mips/mach-ath79/qca953x/ |
| A D | ddr.c | 414 u32 val, pass, tap, cnt, tap_val, last, first; in ddr_tap_tuning() local 421 last = 0; in ddr_tap_tuning() 454 last = tap; in ddr_tap_tuning() 457 last = tap; in ddr_tap_tuning() 465 tap_val = (first + last) / 2; in ddr_tap_tuning()
|
| /u-boot/drivers/net/mscc_eswitch/ |
| A D | mscc_xfer.c | 33 int i, count = (buff_len + 3) / 4, last = buff_len % 4; in mscc_send() local 52 QS_INJ_CTRL_VLD_BYTES(buff_len < BUF_CELL_SZ ? 0 : last) | in mscc_send()
|
| /u-boot/cmd/ |
| A D | flash.c | 52 int bank, first, last; in abbrev_spec() local 79 last = dectoul(p, &ep); in abbrev_spec() 81 last < first || last >= fp->sector_count) in abbrev_spec() 84 last = first; in abbrev_spec() 89 *psl = last; in abbrev_spec()
|
| /u-boot/arch/sh/include/asm/ |
| A D | system.h | 18 #define switch_to(prev, next, last) do { \ argument 60 last = __last; \
|
| /u-boot/drivers/mtd/ |
| A D | stm32_flash.c | 81 int flash_erase(flash_info_t *info, int first, int last) in flash_erase() argument 97 for (i = first; i <= last; i++) { in flash_erase()
|